Skip to main content
Glama

convert

Transform spreadsheet and data files between Excel, CSV, TSV, Parquet, JSON, Markdown, HTML tables, and legacy formats; stream large files and create Excel- or Google Sheets-friendly CSV exports.

Instructions

Convert between Excel, legacy .xls/.ods, HTML tables, CSV, TSV, Parquet, JSON, JSON Lines and Markdown. Fast (DuckDB) and streams big files. Also exports Excel- or Google-Sheets-friendly CSV.

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": {
      "input": "<input>",
      "output": "<output>"
    },
    "name": "convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesSource file (xlsx/xls/ods/html/csv/tsv/parquet/json/jsonl).
sheetNoSheet name (or 0-based index). Default: first sheet.
outputYesTarget file; format from extension (.xlsx .csv .tsv .parquet .json .jsonl .md).
all_sheetsNoxlsx input: convert every sheet (one file per sheet, or sheets of one xlsx).
csv_dialectNoCSV output flavour: excel adds a UTF-8 BOM (accents open correctly in Excel); google_sheets uses ISO dates for clean import.standard

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the mutation profile is already covered. The description adds genuine behavioral context by disclosing the DuckDB engine and streaming behavior for large files, but it omits what happens when the output path already exists (overwrite vs. error) and whether anything is returned on completion.

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?

Three tight sentences with the format list front-loaded and the performance/streaming note immediately after. No filler, no repetition of schema fields, and every sentence contributes new information.

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?

With no output schema, the description carries the burden of explaining what results from a conversion call, and it does not say whether a status, a path list, or nothing is returned. For a write-producing tool that can emit multiple files via all_sheets, the missing overwrite and multi-file output behavior is a meaningful gap.

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%, so all five parameters including sheet, all_sheets, and csv_dialect are already documented. The description adds a light use-case rationale for the CSV dialect options ("Excel- or Google-Sheets-friendly") but nothing about precedence between input extension, output extension, or sheet selection that would go beyond the schema.

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?

The description uses a specific verb ("Convert between") and enumerates the concrete resource formats it handles, so an agent immediately knows this is a file-format conversion tool. It is implicitly distinguishable from siblings like clean, transform, or combine, but it never explicitly states how it differs from them, which keeps it short of a 5.

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?

"Fast (DuckDB) and streams big files" implies a when-to-use condition (large inputs), and the CSV export note hints at a downstream use case. However, there is no explicit when-not guidance and no alternative tool is named for related operations like cleaning or transforming during conversion.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.