Skip to main content
Glama

pdf_text

The text of a public PDF, page by page. $0.003 per call over x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesthe http(s) URL of a PDF
paymentNoa signed x402 payment (the same base64 payload you would put in the PAYMENT-SIGNATURE header). Pass it here and the purchase completes inside this tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/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 behavioral burden. It does disclose a genuine behavioral trait beyond the schema -- the $0.003 per-call cost over x402, an active payment requirement -- which is useful. However it says nothing about failure modes, PDF size/page limits, scanned-image handling, or what happens without payment, leaving significant gaps for a paid tool.

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?

Two compact fragments with zero filler, and the core capability plus cost are front-loaded. It is arguably too terse for a paid tool, but nothing is wasted.

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?

For a paid extraction tool with no annotations and no output schema, the description covers the what and the price. It omits anything about the payment flow's failure/retry behavior, page limits, or how output is structured, which an agent calling a paid endpoint would benefit from knowing.

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%, so both 'url' and 'payment' are already well documented in the schema, and the baseline is 3. The description's mention of x402 lightly echoes the payment parameter but adds no syntax or format detail beyond what the schema provides.

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 states the resource and granularity clearly: 'The text of a public PDF, page by page.' That tells an agent exactly what it gets back. It does not differentiate from near-neighbors like page_extract, page_markdown, or web_read, 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 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 use this tool versus the many sibling extraction tools (page_extract, page_markdown, site_extract, web_read). The pricing note implies this is a pay-per-call path but never says when that is preferable to a free alternative.

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