Skip to main content
Glama
PDF Action Inspector

PDF Action Inspector

Official

Clear Pdf Cache

clear_pdf_cache

Clears cached PDF action inspection data for a specific file or all files to force fresh extraction and analysis.

Instructions

Clear PDF cache

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

Input Schema

NameRequiredDescriptionDefault
file_pathNoOptional specific file path, if not provided clears all cache

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

D1.8/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden and discloses nothing: not whether clearing is destructive or recoverable, whether it forces re-parsing, whether a confirmation is needed, or what permissions are required. A cache-clearing operation is potentially impactful and this gives the agent zero basis for judging that.

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

Conciseness2/5

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

The single line is efficient only because it is under-specified; there is no structure, no front-loaded scope statement, and nothing beyond a restatement of the title. Brevity here reflects missing content rather than disciplined writing.

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?

An output schema exists, so return values need not be explained, and the parameter is fully documented. But for a cache-clearing (potentially destructive) tool with no annotations, the description should at minimum say what is cleared and what the effect is; that gap leaves the definition incomplete for correct invocation.

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 file_path parameter description already explains that omitting it clears all cache, so the schema does the heavy lifting. The description adds no additional meaning such as path format or scope semantics, which matches the baseline 3.

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?

Tautological: description restates name/title.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no prerequisites, and no mention of related tools (e.g., checking cache status first). The one useful conditional — omitting file_path clears everything — lives only 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.