Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Activate WordPress theme

hosting_activateWordPressThemeV1

Activate an installed WordPress theme by providing the theme slug and installation ID. The operation queues the activation job, applying the theme to the site.

Instructions

Activate an installed theme on a 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).

This operation is asynchronous: a successful response only means the activation job has been queued.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
themeYesSlug of the installed theme to activate.
softwareYesWordPress installation (software) identifier
usernameYesusername parameter
Install Server

TDQS

A3.5/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that the operation is asynchronous and that a successful response only means the activation job has been queued. It does not describe job status tracking afterward, but it adds real behavioral context not available from the schema or annotations.

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 short sentences with the main action front-loaded and every sentence adding a distinct fact: what the tool does, how to identify the WordPress installation, and the async behavior. No filler or repetition.

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?

For a state-changing async tool with no output schema, it covers the core purpose, the software ID source, and the queued-job caveat. It leaves notable gaps: the meaning of the required username and how to check the eventual result of the activation job.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

theme and software have meaningful schema descriptions, but username is described only as 'username parameter' — a tautology. The tool description does not clarify what username is expected, and username is required, so an agent cannot confidently supply this parameter.

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 opens with 'Activate an installed theme on a WordPress installation,' naming the verb, resource, and precondition ('installed'). It is clear and specific, though it does not explicitly contrast with sibling theme operations like install/deploy/update/uninstall.

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 gives context about what is being activated and where to find the software ID, but it does not explicitly say when to use this tool versus alternatives or what to check before activation. Usage conditions are implied rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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