Skip to main content
Glama

clear_cache

Evict cached papers to free storage, keeping session-pinned items by default or removing everything with drop_pinned.

Instructions

Evict cached papers. By default leaves papers pinned to open sessions; set drop_pinned to remove everything.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
drop_pinnedNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description must carry the burden. It discloses a key nuance: pinned papers are retained unless drop_pinned is set. However, it does not explicitly mention whether eviction is permanent, what happens to open sessions, or any side effects on session data. The term 'evict' implies removal but could be clearer about irreversibility.

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 two sentences, front-loaded with the primary purpose and then a clarifying note on the parameter. No filler or redundant information. Every word earns its place.

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?

An output schema exists, so return values need not be explained in the description. The tool's behavior is adequately described: it evicts cached papers, respects pinned papers by default, and provides an option to remove everything. It could add a note about checking cache state (e.g., using list_cached) before clearing, but this is not essential here.

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

Parameters5/5

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

The input schema provides no description for the single parameter drop_pinned. The description fully explains its effect: setting it removes everything, while the default leaves pinned papers. This is excellent compensation for 0% schema description coverage.

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 starts with a specific verb and resource: 'Evict cached papers.' This clearly states the tool's function and distinguishes it from siblings like list_cached (which lists) and cache_stats (which reports statistics). The mention of pinned papers adds further specificity.

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

Usage Guidelines4/5

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

The description explains the default behavior (leaves pinned papers) and how to override it with the drop_pinned parameter. It implicitly tells when to use the tool (to clear cache) but does not explicitly contrast with alternatives or state when not to use it. Still, the guidance is concrete and actionable.

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/Himasnhu-AT/arxiv-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server