Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Install WordPress theme

hosting_installWordPressThemeV1

Install a WordPress theme on an existing installation. Supports Hostinger theme options for palette, layout, and font, and queues the installation job asynchronously.

Instructions

Install a theme on an existing WordPress installation.

Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the id field).

When the theme is one of the Hostinger themes (hostinger-blog, hostinger-affiliate-theme, hostinger-ai-theme), the optional palette, layout, and font fields are forwarded to the custom installer (defaults: palette1, layout1, default). For any other theme they are ignored.

This operation is asynchronous: a successful response only means the install job has been queued, not that the theme is ready.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fontNoFont identifier. Only applied when the theme is a Hostinger theme; the default is used when omitted.
themeYesSlug of the theme to install. Hostinger theme slugs (hostinger-blog, hostinger-affiliate-theme, hostinger-ai-theme) trigger the custom installer and forward the optional palette/layout/font fields; any other WordPress theme slug uses the standard installer and ignores those fields.
layoutNoLayout identifier. Only applied when the theme is a Hostinger theme; the default is used when omitted.
paletteNoPalette identifier. Only applied when the theme is a Hostinger theme; the default is used when omitted.
softwareYesWordPress installation (software) identifier
usernameYesusername parameter
Install Server

TDQS

A3.8/5.0
Behavior4/5

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

The description adds significant behavioral context beyond the annotations: the operation is asynchronous, a successful response only means the job is queued, and optional fields are only forwarded for Hostinger themes. There is no contradiction with the readOnlyHint=false or destructiveHint=false annotations.

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 well structured with a clear opening statement followed by path/identifier guidance, conditional parameter behavior, and async semantics. It is appropriately sized for the tool's complexity, though the theme behavior is somewhat duplicated in the schema description.

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 the essential invocation details: existing installation requirement, identifier source, optional Hostinger-specific fields, and async behavior. It could be more complete by suggesting how to verify the install eventually finished, especially since no output schema is present, but it still provides enough to call the tool correctly.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description meaningfully adds value: it tells the agent how to obtain the software identifier and documents default values and conditional behavior for palette, layout, and font. This goes beyond the schema's field-level descriptions.

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

Purpose4/5

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

The description opens with a specific verb and resource: 'Install a theme on an existing WordPress installation.' This clearly explains what the tool does. However, it does not explicitly differentiate from similarly named siblings like hosting_deployWordPressThemeV1 or hosting_activateWordPressThemeV1, so an agent must infer the boundary.

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

Usage Guidelines3/5

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

The description gives useful usage context: it requires an existing WordPress installation, explains where to get the software identifier, and documents when optional fields apply. It does not explicitly say when to choose this tool over related alternatives such as deploy or activate, leaving some routing to inference.

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