Skip to main content
Glama

fetch_pdf

Fetch and extract text content from PDF documents. Returns structured text with page numbers. Cost: 0.01 USDC

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe URL of the PDF document to fetch and parse

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It adds useful context by stating the return format ('structured text with page numbers') and the cost ('0.01 USDC'), but it does not mention potential pitfalls, loading constraints, or failure behavior.

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?

The description is compact and front-loaded: the first sentence states the core action and target, the second adds return format and cost. Every word earns its place with no fluff.

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?

For a simple one-parameter tool with no output schema, the description is largely complete. It explains the return value and pricing. It could be improved by clarifying when to use it instead of sibling fetch/crawl tools and addressing edge cases like password-protected or very large PDFs.

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 description coverage is 100% with a single 'url' parameter fully documented in the schema. The tool description adds no further parameter-level detail, so the schema already provides adequate semantics.

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

Purpose5/5

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

The description clearly states the specific action and resource: 'Fetch and extract text content from PDF documents.' It also mentions the output format, which distinguishes it from sibling tools like fetch_page or crawl that handle non-PDF content.

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?

The description implies usage for PDF text extraction, but it does not explicitly state when to use this tool over alternatives such as fetch_page or markdown_convert. There are no exclusions or alternative tool recommendations.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources