Skip to main content
Glama
hostinger

hostinger-api-mcp

Official

hosting_installWordPressV1

Install WordPress on an existing hosting website. Provide domain, site title, and admin credentials. Asynchronous install queue; check job status via API.

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
usernameYesusername parameter
domainYesDomain of the existing website where WordPress will be installed
site_titleYesTitle of the WordPress site
languageNoWordPress locale. Defaults to en_US when omitted.
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.
auto_updatesNoWordPress core auto-update policy
versionNoWordPress core version to install. If omitted, the latest core version compatible with the account vhost PHP version is selected.
credentialsYesWordPress admin credentials
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.
Behavior4/5

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

The description discloses that the operation is asynchronous, typical duration (1-2 minutes), and the need to poll the installations endpoint to confirm completion. It also explains what happens when overwrite is false and WordPress already exists. However, it does not mention possible failure reasons (e.g., incompatible PHP version) or authentication requirements, which are minor gaps given no annotations.

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?

The description is well-structured and front-loaded with the main action, followed by prerequisites, pre-checks, and async behavior. Every sentence adds value, and the length is appropriate for the tool's complexity. No redundant information.

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?

Given the tool's complexity (10 parameters, nested objects, async operation, preconditions), the description covers key aspects: prerequisites, pre-check steps, async behavior, and polling instructions. It also describes the response meaning (job queued). It does not mention error scenarios or rate limits, but for a tool without output schema, this is adequate. Slight gap in not explaining how to handle the overwrite parameter more deeply.

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 coverage is 100%, so the description is not required to add much per-parameter detail. It does provide context for how parameters like 'username' and 'domain' are used in pre-checks and polling, and explains 'overwrite' behavior. However, the schema description for 'username' is vague ('username parameter'), and the description does not significantly enhance the schema's understanding of parameters beyond what is already stated.

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 clearly states 'Install WordPress on an existing website,' using a specific verb and resource. It distinguishes from sibling tools like hosting_createWebsiteV1 (creating a website) and hosting_importWordpressWebsite (importing an existing site), making the tool's purpose unambiguous.

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 explicitly states prerequisites (website must exist), provides step-by-step guidance (create website if needed, check for existing installation, call GET installations before proceeding), and explains the overwrite parameter behavior. This helps an agent decide when to use this tool versus alternatives like creating a website first.

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