Skip to main content
Glama
hostinger

hostinger-api-mcp

Official

hosting_deployWordpressTheme

Deploy a WordPress theme from a local directory to a hosting server and optionally activate it.

Instructions

Deploy a WordPress theme from a directory to a hosting server. This tool uploads all theme files and triggers theme deployment. The uploaded theme can optionally be activated after deployment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name associated with the hosting account (e.g., example.com)
slugYesWordPress theme slug (e.g., twentytwentyfive)
themePathYesAbsolute or relative path to the theme directory containing all theme files
activateNoWhether to activate the theme after deployment (default: false)
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. It mentions uploading files, triggering deployment, and optional activation, but fails to address important aspects: whether the tool is destructive (e.g., overwrites existing theme), any side effects on the website, authentication requirements, or potential failure modes. The lack of disclosure on revertibility is a notable gap.

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 two sentences, front-loaded with the main action, and every sentence adds value. No redundant or irrelevant content. Ideal length for quick comprehension.

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

Completeness2/5

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

Given the absence of annotations and output schema, the description is insufficiently complete. It does not explain what the tool returns (e.g., success status, deployment ID) or how to interpret results. Behavioral gaps (overwrite behavior, error handling) are missing. For a 4-parameter tool with no output schema, more contextual details are needed.

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% with each parameter described adequately. The description adds minimal extra meaning beyond what the schema provides (e.g., mentions 'theme files' for themePath and 'activate after deployment' for activate). However, it does not elaborate on domain requirements or path formats. Baseline 3 is appropriate as schema already handles most semantic load.

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 the action 'Deploy a WordPress theme' and specifies the resource (WordPress theme from a directory). It distinguishes from sibling tools like hosting_deployWordpressPlugin and hosting_deployStaticWebsite by explicitly mentioning 'WordPress theme' and 'deployment'. The optional activation adds specificity.

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 explains what the tool does but lacks explicit guidance on when to use it versus alternatives. It does not mention prerequisites, such as having a WordPress installation or existing hosting account, nor does it exclude scenarios like updating an existing theme. No when-not statements or comparisons to siblings are provided.

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