Skip to main content
Glama

500Toolbox

PDF to Excel

pdf-to-excel
Read-onlyIdempotent

Downloads a PDF from a public URL and extracts tables into sheets. Best on text-based PDFs with real tables. Page count is capped on the worker. Costs 20 credits per call.

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": {
      "fileUrl": "<fileUrl>"
    },
    "name": "pdf-to-excel"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileUrlYesPublicly reachable URL of the PDF.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare readOnly/openWorld/idempotent/non-destructive, so the safety profile is covered. The description adds genuinely new context the annotations cannot convey: a per-call cost of 20 credits and a worker-side page cap, both operationally relevant before invoking. It does not quantify the page cap or describe failure behavior for unreachable URLs.

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?

Four short sentences, front-loaded with what the tool does, then constraints and cost - no filler. The page-cap sentence is somewhat vague about the actual limit, which slightly reduces its value per word.

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?

For a one-parameter tool with rich annotations and no output schema, the description covers input nature, best-fit document type, a hard runtime limit, and cost. Minor gaps remain around what the returned sheets look like when multiple tables are found and what happens on a non-public or oversized PDF.

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?

With a single parameter at 100% schema description coverage, the schema already defines fileUrl fully, including the 'publicly reachable' constraint. The description's 'from a public URL' restates that rather than adding format, size, or accessibility guidance beyond what is structured. Baseline 3 applies.

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 ('Downloads a PDF... extracts tables into sheets'), which also implicitly separates it from sibling converters like pdf-to-word and pdf-to-ppt by naming the output artifact. It stops short of explicitly naming a sibling, but the resource and output format are unambiguous.

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?

'Best on text-based PDFs with real tables' gives a clear suitability condition and implicitly excludes scanned/image PDFs. There is no explicit when-not-to-use statement or named alternative for the scanned-PDF case, which keeps it below a 5.

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