Skip to main content
Glama
KaiSign MCP Server

KaiSign MCP Server

Official
by Kai-Sign

prune_expired_cache

Remove expired cache entries to keep transaction verification data accurate. Run this diagnostic manually or let it trigger automatically.

Instructions

Diagnostic: remove expired entries from cache. Called automatically but can be triggered manually.

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": "prune_expired_cache"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the full disclosure burden. It does convey the key behavioral traits that this is a mutating cleanup operation limited to expired entries and that it fires automatically, but it omits whether deletion is reversible, what 'expired' is measured against, whether auth is needed, and what the call returns.

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, front-loaded with the 'Diagnostic:' label and the core action, followed by the operational context. No filler, and every clause carries 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?

For a zero-parameter, no-output-schema maintenance tool this is close to adequate, but the absence of annotations means the description should have closed the remaining gaps itself: what 'expired' means, and whether the automated schedule makes manual calls redundant. As written an agent knows what it does but not how to judge whether calling it is safe or necessary.

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?

The tool takes zero parameters, so there is no parameter semantics to document and the baseline of 4 applies. The description correctly implies no inputs are required, consistent with the empty schema.

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: 'remove expired entries from cache,' which is more precise than a generic cache-clear and implicitly distinguishes it from the sibling clear_cache by scoping to expired entries only. It does not explicitly name or contrast with any sibling, so it lands at 4 rather than 5.

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?

'Called automatically but can be triggered manually' tells the agent this normally runs on its own and that manual invocation is the exception, which is useful implied guidance. However, it never says when a manual call is warranted, nor does it point to clear_cache for the case where non-expired entries must also be removed.

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