Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

x402-pdf-text

Pdf Text: Convert a PDF to text — extract the text layer and page count from any public PDF URL (max 20MB); gives the first 10,000 characters. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
pdfNo
urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "required": [
      +          "url"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "pdf"
      +        ]
      +      }
      +    ]
      +  }
      +]
  2. Changed2 schema fields changed
    • removedInput schema / properties / pdf / description
      Removed value: -"Pdf to process"
    • removedInput schema / properties / url / description
      Removed value: -"Url to process"
  3. Changed1 schema field changed
    • addedInput schema / properties / url
      Added value: +{
      +  "description": "Url to process",
      +  "type": "string"
      +}
  4. First observed

TDQS

B3.4/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 behavioral burden, and it does disclose two valuable traits: output is truncated to the first 10,000 characters and there is a 5-call free-trial quota per signed wallet. It does not say what happens for scanned PDFs with no text layer, nor what authentication the 'signed wallet' implies or what errors the 20MB limit produces.

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?

Single dense sentence front-loads the action and follows with the size limit, output cap, and quota — no filler. The emoji is decorative but the quota information it introduces earns its place.

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 simple two-parameter tool with no output schema and no annotations, the description covers the important behavioral facts (truncation, size cap, quota). It is still incomplete on the 'pdf' input variant and on failure modes such as PDFs lacking a text layer.

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 0%, so the description must compensate. It clarifies that 'url' must be a public PDF and imposes a 20MB cap, which is genuinely useful, but the alternative 'pdf' parameter (the schema's anyOf permits it) is never mentioned at all, leaving half the inputs unexplained.

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 concrete verb and resource ('Convert a PDF to text') and specifies exactly what is extracted: the text layer and page count. It is clear enough to distinguish from generic text siblings, though it never names the near-identical PDF siblings (x402-pdf, x402-normal-pdf, x402-exponential-pdf) that an agent would have to choose between.

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?

Usage is only implied through constraints — 'any public PDF URL (max 20MB)' — which tells the agent what is eligible but not when to prefer this over the other PDF tools in the sibling list. There are no explicit exclusions or alternative-routing statements.

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