Skip to main content
Glama

read-pdf

Download a PDF from a URL and return its extracted text. Let an agent read documents (reports, contracts, papers) pay-per-call. input=http(s) URL of a PDF. [x402: 0.003 USDC on Base, pay-per-use]

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "input": "<input>"
    },
    "name": "read-pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYeshttp(s) URL of a PDF

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"URL de un PDF"New value: +"http(s) URL of a PDF"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does add valuable behavior by disclosing the x402 pricing model (0.003 USDC on Base, pay-per-use) and that output is extracted text. However, it omits error behavior for non-PDF URLs, file-size or page limits, and whether the source URL needs auth.

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

Conciseness4/5

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

Three short sentences, front-loaded with the core action, followed by use cases and the pricing tag. The 'input=http(s) URL of a PDF' fragment duplicates the schema field and is slightly redundant, keeping it from a 5.

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 single-param tool with no annotations and no output schema, the description covers purpose, input format, output type, and cost/payment model. Remaining gaps (size limits, failure modes) are minor for a simple extraction 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?

Only one parameter exists and schema coverage is 100%, so the schema already fully documents 'input'. The description restates its meaning ('http(s) URL of a PDF'), which adds no new syntax but confirms intent; one-parameter baseline applies.

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 ('Download a PDF from a URL and return its extracted text'), so the agent knows exactly what it produces. It does not distinguish itself from plausible siblings like 'leer-pdf' or 'read-url', so it stops short of a 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?

Offers implied use cases ('read documents (reports, contracts, papers)') but gives no explicit when-to-use vs. when-not, and never mentions alternatives such as leer-pdf or a generic URL reader. The pay-per-call note hints at cost-driven selectivity but is not framed as guidance.

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.