Skip to main content
Glama
hostinger

hostinger-api-mcp

Official

hosting_installWordPressThemeV1

Installs a WordPress theme by providing the software ID and theme slug. Optionally customize Hostinger themes with palette, layout, and font.

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
Behavior5/5

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

The description explicitly states the asynchronous nature: 'This operation is asynchronous: a successful response only means the install job has been queued.' It also clarifies that optional fields are ignored for non-Hostinger themes. No annotations were provided, so the description carries full burden and handles it well.

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 concise and well-structured: one sentence for purpose, one for obtaining the ID, one for special theme behavior, and one for async nature. Every sentence adds value and is front-loaded.

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?

The description covers the essential aspects: how to get the required software ID, the conditional handling of optional fields, and the async behavior. No output schema exists, but the description adequately explains the queued response. It is complete for the given complexity.

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 provides detailed descriptions for each parameter, including the conditional behavior for Hostinger themes. The description adds little beyond confirming the async nature and the source of the software ID, so it meets the baseline but does not significantly enhance understanding.

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 a theme on an existing WordPress installation.' It specifies the verb (install), resource (theme), and context (existing WordPress installation). This distinguishes it from sibling tools like activate, deactivate, list, etc.

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 explains when to use the tool (install a theme) and provides guidance on obtaining the software ID. It also notes the special behavior for Hostinger themes. However, it does not explicitly mention when not to use it or compare with alternatives like activation.

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