Skip to main content
Glama

Clear session caches

clear_session_cache
DestructiveIdempotent

Reset shared session caches during administrative maintenance to refresh cached data; not required for persona switches.

Instructions

Administrative cache reset. Not needed for persona switches; affects shared caches.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv26.10.14+1807

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds a non-obvious blast-radius fact not present in structured data: that it 'affects shared caches' despite the session-scoped name. It still omits what exactly is destroyed and whether re-population is automatic.

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?

Two short sentences, no waste, and the purpose statement is front-loaded ahead of the caveat. Nothing could be removed without losing routing or risk information.

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?

An output schema exists so return values need not be explained, and annotations carry the destructive/idempotent profile. However, for a destructive operation the description never says what is cleared or what breaks as a result, leaving the agent to infer consequences from 'affects shared caches' alone.

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

Parameters4/5

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

Zero parameters, so there is nothing to document and the baseline of 4 applies. The empty schema is consistent with the description, which implies no configuration is required.

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 states a concrete verb+resource ('cache reset') that matches the tool name, and the clause 'Not needed for persona switches' distinguishes it from the adjacent refresh_persona_context sibling. It is clear but terse, and 'Administrative' is doing a little vague lifting rather than naming the exact scope of what is cleared.

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 gives one explicit when-NOT ('Not needed for persona switches'), which is genuinely useful routing information, but never states the positive condition that should trigger a call. Usage is only implied by the word 'Administrative'.

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