Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Install WordPress

hosting_installWordPressV1

Install WordPress on an existing website by specifying the domain, site title, and admin credentials. Detects existing installations to avoid overwrites unless requested, then queues an async installation job.

Instructions

Install WordPress on an existing website.

The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/websites and poll GET /api/hosting/v1/websites until it appears.

Call GET /api/hosting/v1/wordpress/installations filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and overwrite is false (the default), the async job will fail.

This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain of the existing website where WordPress will be installed
versionNoWordPress core version to install. If omitted, the latest core version compatible with the account vhost PHP version is selected.
databaseNoOptional. If the named database already exists, it will be used for this WordPress install. Otherwise a new database is created with a generated name and random credentials.
languageNoWordPress locale. Defaults to en_US when omitted.
usernameYesusername parameter
directoryNoRelative directory to install WordPress into. Defaults to the website root when omitted.
overwriteNoWhen false (default), does not replace an existing installation. If WordPress is already installed on the domain/path, the async install job fails unless true.
site_titleYesTitle of the WordPress site
credentialsYesWordPress admin credentials
auto_updatesNoWordPress core auto-update policy
Install Server

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, the description clearly discloses that the operation is asynchronous, that a successful response only means the job is queued, that installation takes 1-2 minutes, and how to poll for completion. It also explains the failure mode when WordPress already exists and overwrite is false. This significantly enriches behavioral understanding beyond the structured hints.

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

Conciseness5/5

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

Although relatively long, every paragraph serves a distinct purpose: precondition, preflight check, and async completion behavior. The first sentence front-loads the core purpose, and the structure makes the operational workflow easy to follow. No filler or tautological content is present.

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

Completeness5/5

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

For a complex tool with 10 parameters, nested objects, async behavior, and no output schema, the description is remarkably complete. It tells the agent when the operation is safe to call, how to avoid a failing job, what the response actually means, and how to determine when the installation is ready. Nothing essential is left unspecified for correct invocation.

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%, so the baseline is 3; the schema already documents the parameters well. The description adds useful context around overwrite and preflight checks, but it does not meaningfully expand on most parameter semantics beyond what the schema provides.

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?

Description opens with a specific verb and resource: 'Install WordPress on an existing website.' This clearly identifies the operation and separates it from related WordPress tools like import, plugin deployment, or core updates. The 'existing website' qualifier sets the scope precisely.

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

Usage Guidelines5/5

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

The description gives explicit preconditions: the website must already exist, and it tells the agent how to create and verify one before calling. It also instructs the agent to preflight for existing installations and explains the overwrite default behavior, plus how to poll for async completion. This is exemplary usage guidance with named endpoints and alternatives.

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

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