Skip to main content
Glama

Darwin-owned Files

csv_to_xlsx

Read-onlyIdempotent

Convert exact caller CSV to a real XLSX spreadsheet with one Data sheet and a SUM totals row. Explicit numericColumns and totalColumns; all other cells are literal strings, never inferred formulas. Returns actual file bytes.

Input Schema

NameRequiredDescriptionDefault
csvYes
totalColumnsYes
numericColumnsYes

Output Schema

NameRequiredDescriptionDefault
artifactsYes
sheetNamesYes
sourceSha256Yes
externalWritesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare the tool as read-only, idempotent, closed-world, and non-destructive. The description adds substantive transformation semantics not covered by annotations: one Data sheet, a SUM totals row, literal-string treatment of all other cells, no inferred formulas, and return of actual file bytes.

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 dense sentences with no wasted words. Output structure and the no-inference rule are front-loaded and easy to scan.

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?

An output schema exists, so the description need not detail return values, but it usefully notes that actual file bytes are returned. Combined with annotations, the description is nearly complete for a three-parameter converter; the main remaining gap is the column-reference convention for numericColumns and totalColumns.

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 0%, so the description must carry parameter meaning. It identifies the roles of numericColumns and totalColumns and implies that csv is the source, but it does not explain how columns are referenced (header names vs. indices), whether headers are required, or how numericColumns relates to totalColumns. It partially compensates but leaves meaningful ambiguity.

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 — converting caller-supplied CSV into a real XLSX file — and adds concrete output structure (one Data sheet plus a SUM totals row). It is clearly distinguishable from siblings such as xlsx_to_csv, which performs the inverse conversion.

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?

The phrase 'exact caller CSV' and the requirement for explicit numericColumns/totalColumns imply when this tool is appropriate: when the caller controls the CSV and wants deterministic, non-inferred output. It does not explicitly name xlsx_to_csv or state when not to use this tool, but the format-conversion context makes selection clear.

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