Skip to main content
Glama

Create a spreadsheet from rows

data_to_spreadsheet

Turn rows of data into a downloadable XLSX (default) or CSV. 'rows' is an array of objects (keys → header row) or an array of arrays (first row is the header). Returns a file_id (for chaining) and a ~1h download URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsYesArray of objects (keys→columns) or array of arrays (first row = header).
formatNoOutput format (default xlsx).
sheet_nameNoWorksheet name (default 'Sheet1').

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the sparse annotations (readOnlyHint=false, destructiveHint=false), the description discloses useful behaviors: it creates a downloadable file, returns a file_id for chaining, and provides a ~1h download URL. This adds meaningful insight into output behavior and temporary link availability.

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?

Two compact sentences deliver the primary purpose, input format explanation, and return behavior with no wasted words. The most important information is front-loaded in the first sentence.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple 3-parameter tool with no output schema, the description covers input structure, output formats, default format, and return values (file_id and download URL). The only missing pieces (sheet_name, required rows) are already provided by the schema, so nothing an agent needs is absent.

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%, and the schema already documents each parameter. The description adds minor clarifications such as object keys becoming the header row and arrays-of-arrays using the first row as header, but these largely mirror the schema text. Baseline 3 is appropriate because the schema does the heavy lifting.

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?

Description states a specific verb ('Turn rows of data into') and resource ('downloadable XLSX or CSV'), making the tool's function immediately clear. The purpose is also distinct from all sibling tools, which are PDF/document/URL operations, so an agent can differentiate without needing explicit comparison.

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 description clearly implies when to use the tool: when you have rows of data that need to become a spreadsheet file. No explicit when-not-to-use or alternatives are mentioned, but no sibling tool offers spreadsheet creation, so this is sufficient context.

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