Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Import WordPress website

hosting_importWordpressWebsite
Destructive

Import a complete WordPress website by uploading an archive file and database dump to a hosting server. The archive is extracted automatically, making the site live within minutes.

Instructions

Import a WordPress website from an archive file to a hosting server. This tool uploads a website archive (zip, tar, tar.gz, etc.) and a database dump (.sql file) to deploy a complete WordPress website. The archive will be extracted on the server automatically. Note: This process may take a while for larger sites. After upload completion, files are being extracted and the site will be available in a few minutes. Upload credentials are generated and used internally — do not call a separate upload-url endpoint or upload the files yourself, this tool does it end-to-end. The username will be automatically resolved from the domain.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name associated with the hosting account (e.g., example.com)
archivePathYesAbsolute or relative path to the website archive file. Supported formats: zip, tar, tar.gz, tgz, 7z, gz, gzip. If user provides directory path, create archive from it before proceeding using EXACTLY this naming pattern: directoryname_YYYYMMDD_HHMMSS.zip (e.g., mywebsite_20250115_143022.zip)
databaseDumpYesAbsolute or relative path to a database dump file (.sql)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv1.5.0
  2. Removedv1.2.1
  3. Addedv0.2.2
  4. Removedv0.2.1
  5. Addedv0.1.40

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description adds meaningful behavioral context: automatic extraction, asynchronous availability, internal upload credential generation, and automatic username resolution. It does not specify what existing files or database content may be overwritten, which is a minor gap given the destructive annotation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized and front-loaded with the main purpose. The timing note and the warning against separate upload flows earn their place, though the phrasing 'files are being extracted' is slightly awkward and the timing information could be tightened.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers inputs, process, timing, and the key operational warning about not calling a separate upload endpoint, which is sufficient for an agent to invoke the tool correctly. It does not describe return values or status handling, and no output schema exists, but for moderate complexity with well-documented parameters the coverage is strong enough.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and the schema already documents the domain, archive path, supported formats, database dump, and the directory-to-archive naming pattern. The description mostly restates or summarizes what the schema provides, so it does not add significant new parameter semantics beyond the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Import a WordPress website from an archive file to a hosting server' by uploading an archive and database dump. It clearly distinguishes the end-to-end behavior from separately calling an upload-url endpoint, and explains that the username is resolved automatically from the domain.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear usage context and an explicit exclusion: 'do not call a separate upload-url endpoint or upload the files yourself, this tool does it end-to-end.' It does not name sibling alternatives such as hosting_deployStaticSiteArchiveV1 or agency-hosting_importWebsiteFromArchiveV1, so it falls short of full alternative routing, but the guidance is concrete and actionable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hostinger/api-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server