Skip to main content
Glama

Clear edge cache

kinsta_clear_edge_cache
Idempotent

WRITE: clear Kinsta's edge cache for one environment, optionally only for one URL (and its subdirectories). Nothing is lost; pages are cached again on the next visits. Returns an operation_id. POST /sites/edge-caching/clear.

Input Schema

NameRequiredDescriptionDefault
urlNoOnly clear this URL (leave empty to clear the whole environment).
environment_idYesKinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments).
clear_subdirectoriesNoWith url: also clear the pages below it (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true), and the description adds real value above that: it reassures that 'nothing is lost' and pages re-cache on next visits, marks it as a WRITE, and discloses that it returns an operation_id, implying an async flow. It stops short of saying the operation_id must be polled via kinsta_get_operation_status.

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?

Four tightly packed sentences: mutation marker, action and scope, behavioral reassurance, return value, and endpoint. Front-loaded with the most decision-relevant information (WRITE, what is cleared) and free of filler.

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 3-parameter, no-output-schema mutation tool it covers action, scope, safety, and return value. The only real omission is guidance on following up on the returned operation_id (e.g., via kinsta_get_operation_status), and no contrast with the sibling cache-clear tools.

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 all three parameters are already documented in the schema, including the url/subdirectory interaction and where environment_id comes from. The description restates the URL-and-subdirectories scoping but adds no format, limits, or edge-case detail beyond the schema, so the baseline of 3 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 (clear), resource (edge cache), and scope (one environment, optionally one URL plus subdirectories), plus the underlying endpoint POST /sites/edge-caching/clear. It does not differentiate itself from the sibling cache-clear tools kinsta_clear_cdn_cache and kinsta_clear_site_cache, which an agent must choose between.

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

Usage Guidelines2/5

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

There is no explicit when-to-use, when-not-to-use, or alternative routing. Two siblings (kinsta_clear_cdn_cache, kinsta_clear_site_cache) perform closely related cache-clearing actions and the description gives no criteria for picking this one over them, leaving the agent to guess.

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.