Skip to main content
Glama

FMF Tools Doc Tools

pdf_info

PDF metadata and page count ($0.001 per call, paid via MPP on Tempo). PDF facts in one call: page count, title, author, subject, keywords, creator, producer, dates, page sizes, encryption and form-field flags, and the bookmark outline (title, level, page). Up to 40 MB. HTTP POST https://mpp-docs.fmf-x402.workers.dev/mpp/pdf/info. 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_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoPublic URL of the file
dataNoBase64 file content (alternative to url)
filenameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations at all, the description still discloses the important operational traits: a cost of $0.001 per call, that payment is settled via MPP on Tempo, that the MCP wrapper does not itself settle payment and requires a Payment Authorization header, and the 40 MB size ceiling. It does not cover failure modes (invalid URL, encrypted-but-unreadable files) or explicitly say the operation is non-mutating, which keeps it below 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.

Conciseness5/5

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

The returned facts are front-loaded, followed by the size limit and then the payment mechanics, with each sentence carrying distinct information (what it returns, what it costs, how to pay). No filler or repetition of the title.

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?

No output schema exists, and the description compensates by enumerating the returned fields, and it covers cost, auth and size limits. However, it omits error/edge-case behavior and does not clarify the url-vs-data alternative for a tool with three loosely constrained inputs.

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 67% (url and data documented, filename not), so a baseline of 3 applies. The description adds no meaning beyond the schema: it does not restate that url and data are alternatives or explain what filename does, leaving the agent to rely entirely on the schema text.

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 names a specific resource (PDF) and enumerates the exact facts returned: page count, title, author, subject, keywords, creator, producer, dates, page sizes, encryption/form-field flags and bookmark outline. That makes it clearly a metadata-inspection tool rather than a text/image extractor, though it never names the sibling tools (pdf_text, pdf_images) it differs from.

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?

'PDF facts in one call' implies when it is appropriate, and the payment notes tell the agent what must accompany the call. There is no explicit statement of when to prefer pdf_text or pdf_markdown instead, and no guidance on choosing between the url and data inputs.

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