Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Deploy WordPress theme

hosting_deployWordPressThemeV1
Destructive

Deploy a WordPress theme from an uploaded directory and optionally activate it after deployment. Provide domain, username, theme slug, and theme path to complete the operation.

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

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv1.44.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already flag the operation as non-readOnly and destructive, so the description only needs to add context. It provides some useful context about the source directory and optional post-deployment activation, but doesn't disclose what deployment changes on disk, whether it overwrites an existing theme, or other side effects. This is adequate but not rich.

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 short sentences, front-loads the main action, and contains no filler. Every phrase contributes to understanding the action, and the structure is clear and scannable.

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?

For a destructive deployment action, the description lacks workflow context—it doesn't mention that the theme must have been uploaded first (e.g., via an upload URL), what happens to the existing theme, or what a successful response looks like. The sibling set includes several theme-related tools, but the description doesn't help the agent choose or sequence them, and there is no output schema to fill the gap.

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%, so the baseline is 3. The description's references to an uploaded directory and optional activation mirror the schema descriptions for theme_path and is_activated without adding new detail, so there is no uplift.

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 states a clear action ('Deploy a WordPress theme') and a specific source condition ('from an already uploaded directory'), which helps distinguish it from theme installation or activation tools. It doesn't explicitly contrast with sibling tools like hosting_deployWordPressPlugin or hosting_activateWordPressThemeV1, so it stops short of a 5.

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 implies the tool is for themes already present in the website's directory and mentions the optional activation flag, but it doesn't state when to prefer this over install/activate variants or mention prerequisites like uploading the theme first. There is no explicit when-to-use or when-not-to-use guidance.

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