Skip to main content
Glama
hostinger

hostinger-api-mcp

Official

hosting_toggleWebsiteCacheV1

Toggle server-side caching for a website on or off. Enabling improves page load speed and reduces server load; disabling is useful during development or debugging.

Instructions

Turns server-side caching for the website on or off, based on the enabled flag. Enable it for faster page loads, reduced server load, and improved user experience; recommended for production websites. Disabling may impact performance; to temporarily bypass caching while developing or debugging, prefer toggling cacheless mode instead.

Does nothing if caching is already in the requested state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name
enabledYesTurn server-side caching on (true) or off (false) for the website.
usernameYesusername parameter
Behavior4/5

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

Although no annotations are provided, the description discloses several behavioral traits: it toggles server-side caching, is idempotent (no-op if already in state), and recommends cacheless mode for debugging. It does not detail the exact caching layers affected or confirm if the change is immediate, but it provides sufficient transparency for a toggle operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact (four sentences) and front-loaded with the primary action. It structures information logically: purpose, benefit, guidance, idempotency. A minor improvement could be combining the benefit and guidance into fewer words, but it remains clear and efficient.

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 toggle operation with no output schema, the description covers the essential aspects: when to use (production vs. debugging), idempotency, and alternative. It does not describe the return value or confirmation, but that is acceptable given the simplicity of the tool and the lack of an output schema. It is complete enough for an agent to use correctly.

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 already describes all three parameters (username, domain, enabled) with descriptions. The description adds only that the toggle is 'based on the enabled flag', which is implicit from the parameter. Schema coverage is 100%, so the description adds minimal extra meaning beyond what is in the schema.

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 tool's action ('turns server-side caching on or off') and specifies the resource ('website'). It distinguishes itself from the sibling `hosting_toggleCachelessModeV1` by explicitly mentioning cacheless mode as an alternative for debugging.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit guidance: 'Enable it for faster page loads... recommended for production websites.' Also gives a clear alternative for temporary bypass (cacheless mode) and notes idempotency ('Does nothing if caching is already in the requested state'), helping the agent decide when to call this tool.

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