Skip to main content
Glama

pdf-to-markdown

Convert a public PDF to Markdown

convert_pdf_url
Read-only

Convert a PDF available at a public HTTP or HTTPS link into Markdown for reading, research or a coding project. Returns extracted text, page and table counts, and whether scanned pages were found. No OCR, private links or local files. The reply is limited to 20,000 Markdown characters and marks longer results as excerpts; the whole PDF uses the API page allowance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pagesNo
statusYes
tablesNo
messageYes
docs_urlYes
markdownNo
truncatedNo
source_urlNo
http_statusNo
retry_afterNo
converted_atNo
scanned_pagesNo
parser_versionNo
remaining_pagesNo
total_charactersNo
returned_charactersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behavioral constraints: no OCR support, no private links or local files, results capped at 20,000 Markdown characters, longer results marked as excerpts, and the whole PDF counting against the API page allowance. These details materially affect invocation expectations and are not present in the structured annotations.

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 four compact sentences, front-loading the core action and then layering constraints and output behavior. Every sentence contributes useful information without repetition.

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?

For a one-parameter tool with an output schema, the description covers the action, input restrictions, output format, truncation behavior, and API limits. Even though an output schema exists, the return summary is useful and nothing essential for correct invocation is missing.

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

Parameters4/5

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

With one parameter and 0% schema description coverage, the description compensates by clarifying that the input must be a public HTTP or HTTPS link and excluding private links and local files. It does not mention the 2048-character maxLength or the URI format, but it adds meaningful semantic constraints 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 states a specific verb and resource: convert a PDF from a public HTTP or HTTPS link into Markdown. It also names the supported input scope (public links only) and the output format, so an agent can identify exactly what the tool does without inspecting the schema.

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?

The description gives usage context ('for reading, research or a coding project') and explicit exclusions ('No OCR, private links or local files'), which tell the agent when not to use it. It does not compare against alternatives, but no sibling tools exist, so this is a clear contextual guide.

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