Skip to main content
Glama

Make an Excel or CSV file from a table

table_to_excel
Read-onlyIdempotent

Use this when the user wants a table turned into an Excel spreadsheet (.xlsx) or a CSV file: "convert this PDF table to Excel", "make this into a spreadsheet", "export to CSV", "PDF to Excel", "screenshot to Excel". First read the table yourself from the uploaded file, image or text, then pass the header row and every data row exactly as written (keep currency signs and minus signs; do not total or reorder). Returns download links for .xlsx and .csv and a preview.

Input Schema

NameRequiredDescriptionDefault
rowsYesData rows, each an array of cell values in column order
titleNoWhat the table is, e.g. "March bank transactions" (used for the file name)
headersNoColumn names (the header row)
sheetNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / rows / examples
      Added value: +[
      +  [
      +    [
      +      "2026-10-01",
      +      "Coffee beans",
      +      "-12.50"
      +    ],
      +    [
      +      "2026-10-02",
      +      "Client payment",
      +      "1,250.00"
      +    ]
      +  ]
      +]
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, non-destructive, closed-world), so the description's added value is its disclosure of the return payload (download links for .xlsx and .csv plus a preview) and the data-fidelity rule (keep currency and minus signs, do not total or reorder). It omits the 1000-row cap that the schema enforces, which is the main remaining 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, with the selection trigger and target formats front-loaded and the input-fidelity instructions following. The quoted trigger list is slightly long but each phrase earns its place by mapping to a distinct user phrasing, so there is little waste.

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 no output schema, the description carries the return-value burden and does so by naming the two download links and a preview. Combined with the stated pre-processing step and input-fidelity rules, an agent has enough to call this correctly; only the row limit and the unused sheetName parameter are left unaddressed.

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?

Schema coverage is 75% and the schema already labels rows, headers and title, but the description adds genuine semantics the schema lacks: pass the header row and every data row verbatim, preserve signs, and never aggregate or reorder. Only sheetName remains unexplained in either place.

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 action (turn a table into .xlsx or .csv), naming both output formats explicitly. There are no sibling tools to disambiguate from, and the title plus body leave no ambiguity about what the tool produces.

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

Usage Guidelines5/5

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

It opens with an explicit trigger condition and enumerates real user phrasings ("convert this PDF table to Excel", "export to CSV", "screenshot to Excel") so the agent can pattern-match intent. It also states the prerequisite workflow — read the table yourself first, then pass the data — which is exactly the when/how guidance an agent needs.

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