Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Deploy WordPress theme

hosting_deployWordpressTheme
Destructive

Deploy a WordPress theme from a local directory to your hosting server. Uploads all theme files, triggers deployment, and optionally activates the theme—no separate upload endpoint needed.

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. Upload credentials are generated and used internally — do not call a separate upload-url endpoint or upload the files yourself, this tool does it end-to-end.

Input Schema

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

Schema Changelog

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

  1. Addedv1.5.0
  2. Removedv1.2.1
  3. Addedv0.2.2
  4. Removedv0.2.1
  5. Addedv0.1.40

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already signal readOnlyHint=false and destructiveHint=true. The description adds useful behavior beyond that: it uploads all theme files, triggers deployment, supports optional activation, and manages credentials internally. It does not describe exact destructive effects, but the annotation covers the destructive nature and the description adds meaningful context.

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 three focused sentences with no filler. The main action is front-loaded, and the critical instruction about not calling a separate upload-url endpoint is included without bloating the text.

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?

For a deploy operation with fully documented parameters and destructive/read-only annotations, the description covers the workflow end-to-end: source directory, deployment trigger, optional activation, and internal credential handling. It does not specify return values or async behavior, but that is not a critical gap for this tool.

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 schema already documents all four parameters. The description adds only light mapping by mentioning 'from a directory' for themePath and 'optionally be activated' for activate, but it does not need to provide deeper parameter semantics.

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 opens with a specific verb and resource: 'Deploy a WordPress theme from a directory to a hosting server.' It further distinguishes itself from upload-only or install workflows by stating it uploads all theme files, triggers deployment, optionally activates the theme, and works end-to-end without a separate upload-url call.

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 gives clear operational guidance: upload credentials are generated internally, and the agent should not call a separate upload-url endpoint or upload files manually. It does not explicitly name sibling alternatives such as install or activate theme tools, but the local-directory deploy use case is clear enough.

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