Skip to main content
Glama

Excel to PDF API - spreadsheet or CSV to a clean PDF table

excel_to_pdf
Read-onlyIdempotent

Turn an .xlsx or .csv file into a printable PDF table with page orientation and light grid lines. Runs on our server, files are deleted right after the call, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.005/call via x402 at https://radarbg.com/x402/excel-to-pdf.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "fileName": "table.csv",
      "fileContent": "SXRlbSxRdHksUHJpY2UKUGVuLDMsMS4yMApCb29rLDEsOS45MAo="
    },
    "name": "excel_to_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNoOr several files: [{fileName, fileContent (base64)}] (up to 60 files, 20 MB total)
fileNameNoFile name with extension, e.g. report.pdf
gridLinesNoLight lines between rows
fileContentNoThe file as base64 (a data: URI is fine; 20 MB total decoded limit per call)
orientationNoauto, p (portrait) or l (landscape)auto

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / fileContent / description
      Previous value: -"The file as base64 (a data: URI is fine)"New value: +"The file as base64 (a data: URI is fine; 20 MB total decoded limit per call)"
    • changedInput schema / properties / files / description
      Previous value: -"Or several files: [{fileName, fileContent (base64)}]"New value: +"Or several files: [{fileName, fileContent (base64)}] (up to 60 files, 20 MB total)"
    • addedInput schema / properties / files / maxItems
      Added value: +60
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/openWorld, and the description adds genuinely new behavior: server-side execution, immediate file deletion with nothing stored, per-IP rate limits, and two auth paths (X-API-Key or x402 per-call payment). It stops short of saying what the call actually returns, which is the remaining behavioral gap.

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?

Two sentences, front-loaded with the core transformation, followed by privacy and pricing. The second sentence is dense with URLs and pricing tiers and could be tightened, but every element carries information an agent or caller needs.

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?

For a file-conversion tool with no output schema and zero required parameters, the description never says what comes back (base64 PDF, URL, or bytes) or that batching is supported. Privacy, retention and pricing are well covered, but the shape of the result is a material omission.

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 coverage is 100%, so baseline is 3, and the description adds nothing about the parameters — it never mentions batch conversion via the `files` array (up to 60 files, 20 MB) or how that relates to the singular fileName/fileContent. The schema's own fileName example ('report.pdf') even conflicts with the stated .xlsx/.csv input, a confusion the description does not resolve.

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: turn an .xlsx or .csv into a printable PDF table, with grid lines and orientation named. The conversion direction is unmistakable and implicitly separates it from reverse-direction siblings like image_to_excel_table and pdf_to_csv, but no sibling is named explicitly.

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 by the input formats; there is no explicit when-to-use/when-not guidance and no named alternative (e.g. when to prefer pdf_to_csv or images_to_pdf). The free-tier limit of 5 calls/day per IP does give practical context for choosing the paid path, which lifts it above a bare 2.

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