Skip to main content
Glama

parse_remote_pdf_document

Extract page-by-page text and metadata from public PDF URLs to read papers, filings, or manuals without downloading them.

Instructions

Extract page-by-page text and metadata (title, author, page count, word count, estimated tokens) from any public PDF URL, so you can read papers, filings and manuals without downloading them.

Cost: $0.01 USDC per call.
Freshness: fetched and parsed on demand; results may be cached for up to 24 hours per URL.
Inputs: url - full http:// or https:// link to a public PDF (15 MB limit); max_pages (int, default 30, range 1-200) - how many pages to extract.

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": {
      "url": "<url>"
    },
    "name": "parse_remote_pdf_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
max_pagesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does substantial work: it discloses a $0.01 per-call cost, on-demand fetching, up to 24 hours of caching, and a 15 MB PDF limit. It does not cover failure modes or rate limits, but the cost and caching transparency are particularly valuable for agent decision-making.

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 description is front-loaded with the core operation, followed by compact labeled sections for cost, freshness, and inputs. Every sentence adds operational value, and the bullet-style formatting makes scanning easy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple, with one required and one optional parameter, and the output schema exists so return values need not be described. The description covers purpose, cost, caching, size limits, and both parameter semantics, leaving no material gap for an agent to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate entirely. It does: `url` is defined as a full http/https public PDF link with a 15 MB limit, and `max_pages` is documented as an integer with default 30 and range 1-200, adding a meaningful bounded range beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource: extract page-by-page text and metadata from a public PDF URL. It also enumerates the metadata fields and the use cases (papers, filings, manuals), making the tool's purpose immediately distinguishable from the sibling web-extraction and URL-verification tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It clearly establishes the context for use: reading public PDFs without downloading them. It does not explicitly compare itself to the web markdown or citation verification siblings, but the PDF-specific scope is sufficiently clear to route an agent correctly.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.