Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Toggle website cache

hosting_toggleWebsiteCacheV1
DestructiveIdempotent

Enable or disable server-side caching for a website. Use this action to improve page load speed and server performance when caching should be active, or to turn it off when it must be disabled.

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

Schema Changelog

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

  1. Addedv1.5.1

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the performance impact of disabling caching, the no-op behavior when already in the requested state, and the recommendation context. It aligns with idempotentHint=true and readOnlyHint=false, though it could more directly explain why destructiveHint=true is set, such as whether disabling clears cached data.

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 front-loaded with the core action, then gives rationale, an explicit alternative, and the idempotency guarantee. Each sentence contributes useful information without unnecessary padding.

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

Completeness5/5

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

For a three-parameter tool with full schema coverage, the description provides the key behavioral details an agent needs: what the flag does, when to enable/disable, which alternative to prefer, and the idempotent no-op behavior. No output schema is present, so return-value explanation is not required.

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 coverage is 100%, and the enabled parameter is already documented as 'Turn server-side caching on (true) or off (false)'. The description reinforces this by saying the action is 'based on the enabled flag', but adds little new parameter-level meaning beyond usage context already covered by 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 opens with a specific verb and resource: 'Turns server-side caching for the website on or off, based on the enabled flag.' It clearly differentiates this from related cache tools by naming cacheless mode as a distinct alternative, so an agent can distinguish it from hosting_toggleCachelessModeV1 and hosting_clearWebsiteCacheV1.

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?

It explicitly states when the tool is appropriate ('recommended for production websites') and when it is not ('to temporarily bypass caching while developing or debugging, prefer toggling cacheless mode instead'). This gives an agent a concrete decision rule and names the sibling alternative.

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