Skip to main content
Glama

FMF Tools Doc Tools

pdf_text

PDF to plain text ($0.003 per call, paid via MPP on Tempo). Extract plain text from a PDF with correct word spacing (layout-aware; pages separated by form feed \f). Optional pages="1-5". Up to 40 MB. HTTP POST https://mpp-docs.fmf-x402.workers.dev/mpp/pdf/text. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

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

Input Schema

NameRequiredDescriptionDefault
urlNoPublic URL of the file
dataNoBase64 file content (alternative to url)
pagesNooptional 1-based pages, e.g. "1-5,8"
filenameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses per-call cost ($0.003), the MPP/Tempo payment model, the required Payment Authorization header, the 40 MB cap, output structure (form feed page breaks), and that the wrapper does not settle payment itself. It omits error/failure behavior and rate limits, keeping it short of a 5.

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?

Dense but efficient: purpose and cost are front-loaded, followed by format, paging, size, and payment mechanics. No sentence is filler, though the payment/endpoint sentence is long and could be split for readability.

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 tool with zero annotations and no output schema, it covers cost, auth, size, and output format well. However, with 0 required parameters it never states that at least one of url or data must be supplied, nor what happens on failure — a meaningful gap 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 75%, so the baseline is 3. The description restates the optional pages range (with a narrower example than the schema's '1-5,8') and mentions the URL alternative, but adds nothing about filename or the interaction between url and data.

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 ('extract plain text from a PDF') and adds distinguishing traits (layout-aware spacing, form-feed page separation). It does not explicitly contrast with siblings like pdf_markdown or pdf_info, so the differentiation is only implicit in 'plain text'.

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 implied by the resource name and the 'plain text' output, and the URL-vs-base64 alternative is noted. But there is no explicit when-to-use/when-not guidance against markdown or info siblings, leaving the agent to infer the choice.

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