Skip to main content
Glama

registry_clear_cache

Deletes cached templates by template ID, or clears the entire template cache when no ID is provided. Use it to remove stale registry entries and free cached template data.

Instructions

캐시된 템플릿 삭제

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "registry_clear_cache"
  }
}

Input Schema

NameRequiredDescriptionDefault
templateIdNo삭제할 템플릿 ID (미지정 시 전체 삭제)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full disclosure burden, yet it says nothing about irreversibility, whether installed templates are untouched, or what the clearing affects. The single positive signal is that the operation targets cache rather than persistent registry state, which an agent must infer.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short phrase with zero padding and is front-loaded, but the brevity comes at the cost of under-specification rather than tightness. Nothing is wasted, yet little is delivered.

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

Completeness2/5

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

For a destructive cache-clearing tool with no annotations and no output schema, the description should at least note scope and effect. The schema covers the single parameter, but the description leaves the behavioral contract (blast radius, reversibility) essentially unaddressed.

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 schema itself explains that omitting templateId clears everything, so the parameter is fully documented without the description's help. The description adds no additional meaning about the parameter (format, partial-match behavior, or outcome), matching the baseline for high-coverage schemas.

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 (삭제/delete) and a specific resource (cached templates), so an agent knows this removes cached template entries rather than registry packages. It does not point at any sibling (e.g. registry_cached for inspection or registry_remove for installed templates), so the differentiation is left implicit.

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 guidance on when to call this versus registry_cached or registry_remove, and no preconditions or cleanup scenario described. The only scoping hint ("미지정 시 전체 삭제") lives in the schema, not the description.

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