Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

hosting_deployWordPressThemeV1

Deploy a WordPress theme from an uploaded directory and optionally activate it right after.

Instructions

Deploy a WordPress theme from an already uploaded directory.

This endpoint allows you to deploy a WordPress theme that has been uploaded to the website's directory. The theme can be optionally activated after deployment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesSlug of the theme
domainYesDomain name
usernameYesusername parameter
theme_pathYesRelative path to the theme directory from wp-content/themes
is_activatedNoWhether to activate the theme after deployment
Behavior3/5

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

With no annotations, the description must disclose behavior. It states the action (deploy) and the optional activation, but does not mention side effects, whether it overwrites existing themes, potential errors, or any required permissions. This is a basic level of transparency but lacks depth for a mutation operation.

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 extremely efficient—two sentences that clearly convey the core purpose and the key prerequisite. Every word earns its place, with no fluff or repetition. It is well-structured and front-loaded with the main action.

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

Completeness3/5

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

Given the tool has 5 parameters, no output schema, and no annotations, the description covers the core action and prerequisite, but lacks information about the response/return value and any error or edge-case behavior. It leaves the agent without a full picture of what to expect after deployment, which is a gap in completeness.

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?

The input schema covers 100% of parameters with descriptions, so the baseline is 3. The description does not add extra meaning beyond the schema—it merely confirms the purpose without explaining parameter specifics. Since schema already handles this, no penalty but no improvement either.

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 'Deploy a WordPress theme from an already uploaded directory,' specifying the verb (deploy), resource (WordPress theme), and context (already uploaded). It distinguishes from siblings like activateWordPressThemeV1 (activation) and installWordPressThemeV1 (installation) by focusing on deployment from an uploaded directory.

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 provides the prerequisite that the theme must be already uploaded, which gives a clear context for when to use this tool. However, it does not explicitly state when not to use it or directly compare with alternatives like activate or install, though the context implies the distinction.

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