Skip to main content
Glama
PDF Action Inspector

PDF Action Inspector

Official

Get Cache Status

get_cache_status

Check cache status to verify whether PDF action inspection data is cached and available before running analysis.

Instructions

Get cache status information

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and provides nothing: it does not state that the call is read-only, whether it is side-effect free, or what the status reflects (per-document vs global cache). Only the presence of an output schema offsets this gap slightly.

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?

The single sentence is front-loaded and contains no filler or redundancy. However, its brevity comes from under-specification rather than efficiency; there is no structure to guide the reader to the scope of what is returned.

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?

The tool is simple (no params, no nested objects) and a true output schema exists, so the description need not describe return values. Even so, an agent gets no signal about what cache is being inspected or why this matters relative to clear_pdf_cache, leaving a real gap for a status/diagnostic tool.

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 nothing for the description to disambiguate beyond the empty schema. Baseline 4 applies for a no-parameter tool.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Get cache status information" restates the tool name and title almost verbatim; the only addition is the word "information". It never says what "status" contains (hit rate, size, entries, expiry) or how this differs from sibling cache-related tools such as clear_pdf_cache.

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 when-to-use or when-not-to-use guidance, and no mention of clear_pdf_cache as the alternative for cache mutation. The agent must infer that this is a diagnostic read that precedes or follows cache clearing purely from the names.

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