Skip to main content
Glama

PDF to Excel

pdf_to_excel
Idempotent

Extract the tables in a PDF into an Excel (.xlsx) workbook. Files are processed on HuntPDF servers and deleted automatically; the download link is temporary.

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_to_excel"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_urlNoPublic https:// link to the file (preferred, up to 150 MB). Must be directly downloadable.
filenameNoOriginal file name, e.g. report.pdf
file_base64NoThe file content as base64 (only for small files, max 10 MB). Use instead of file_url.

Output Schema

NameRequiredDescriptionDefault
pagesNo
file_nameYes
download_urlYesLink to download the result
expires_in_minutesYesThe link stops working after this time (or 3 minutes after the first download)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Goes meaningfully beyond the annotations by disclosing that files are uploaded to HuntPDF servers for processing, are deleted automatically, and that the returned download link is temporary — the last point is operationally important since the output must be fetched promptly. It does not add rate-limit, permission, or failure-mode details, but the annotations already cover the read-only/idempotent/destructive profile.

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?

Two tight sentences: the first front-loads the action and output format, the second covers the privacy/retention caveat. Nothing redundant, and the important operational detail is not buried.

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

Completeness4/5

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

With an output schema present, return-value explanation is unnecessary, and the description covers the data-handling and link-lifetime concerns an agent must know. Gaps remain around edge cases — encrypted PDFs, scanned/non-text PDFs, and what happens when no tables are found — which matter for a conversion tool with three input modes.

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 100%, and the schema itself explains file_url as the preferred route (up to 150 MB, directly downloadable) versus file_base64 for small files (max 10 MB). The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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?

States a specific verb and resource ('Extract the tables in a PDF') plus the exact output artifact ('Excel (.xlsx) workbook'). The PDF-to-XLSX conversion target inherently separates it from the sibling converters such as pdf_to_word or pdf_to_jpg.

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: an agent must infer that this is the right tool when a PDF contains tables and the desired output is a spreadsheet. There is no explicit when-to-use framing, no exclusions (e.g. scanned/image-only PDFs), and no reference to alternatives when the PDF has no tables.

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