Skip to main content
Glama
Universal Docs MCP

Universal Docs MCP

by solmonger

cache_stats

Read-onlyIdempotent

Inspect cache entry counts and availability to confirm cached package and documentation data is present before use.

Instructions

Inspect cache entry counts and availability.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered structurally. The description adds only the content domain (entry counts and availability), and says nothing about freshness, scoping, or whether an empty/unavailable cache is reported as an error.

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?

A single eleven-word sentence with the resource front-loaded and no filler, hedging, or restatement of the tool name. Nothing could be removed without losing information.

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?

With an output schema present, return-value detail is handled elsewhere, and the rich annotations cover safety and idempotency, so the description only needs to state the domain — which it does. The residual gap is that 'availability' is undefined, leaving the agent unsure whether it means cache reachability, hit rate, or configuration state.

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 no parameters (EmptyArgs with additionalProperties=false), so there is nothing for the description to disambiguate. Baseline 4 applies for a zero-parameter tool.

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 names a specific verb ('Inspect') and a concrete resource ('cache entry counts and availability'), so an agent knows it retrieves cache diagnostics rather than documents. It does not reference any sibling, but the sibling set (docs/dependency tools) has no plausible overlap, so differentiation is not a practical gap.

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 statement of when to call this tool, when not to, or what alternative exists for related diagnostics. The zero-parameter read-only shape implies a lightweight health check, but that inference comes from the schema and annotations, not from the description text.

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