Skip to main content
Glama

Clear site cache

kinsta_clear_site_cache
Idempotent

WRITE: clear the page cache of one environment (the site is briefly slower while the cache warms up; nothing is lost). Returns an operation_id: check it with kinsta_get_operation_status. POST /sites/tools/clear-cache.

Input Schema

NameRequiredDescriptionDefault
environment_idYesKinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=true and openWorld=true, so the safety profile is covered. The description adds real value beyond that: it discloses the transient performance impact ('site is briefly slower while the cache warms up'), reassures that nothing is lost, and explains the async operation_id workflow.

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?

Three compact clauses, mutation type front-loaded, impact caveat next, follow-up mechanism last. No sentence is filler and the HTTP endpoint is appended as a reference aid.

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 one-parameter async mutation with no output schema, the description covers everything needed: what it does, the side effect to expect, and how to track the returned operation_id. Nothing an agent needs to call it correctly is missing.

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 single environment_id parameter is fully documented in the schema, including how to obtain it. The description adds only 'one environment' scope framing, so the documented baseline applies.

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?

States a specific verb and resource (clear the page cache) plus scope (one environment), and the 'WRITE' prefix signals mutation immediately. The 'page cache' scope implicitly separates it from kinsta_clear_cdn_cache and kinsta_clear_edge_cache, though those siblings are never named explicitly.

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?

It points to kinsta_get_operation_status for follow-up, which is useful operational routing, but gives no guidance on when to clear the page cache versus the CDN or edge cache siblings, nor any prerequisites. Usage is implied by the scope, not stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.