Skip to main content
Glama

export_csv

Export a sheet range or entire used range to a CSV file. Formula cells export as text; dates become ISO strings; empty cells become empty fields.

Instructions

Export a range (or a sheet's whole used range) to a CSV file.

Formula cells export their formula text; run recalculate_workbook and read from read_calculated_range if you need computed values instead. Dates become ISO strings, empty cells become empty fields.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rangeNo
sheetNo
csv_pathYes
delimiterNo,
overwriteNo
session_idYes
Behavior4/5

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

Discloses how formulas, dates, and empty cells are handled. Though annotations are absent, the description adds important behavioral traits. Could mention overwrite behavior and file creation, but overall informative.

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 sentences with no filler. Front-loaded purpose, every sentence adds value. Efficiently explains key behaviors and alternatives.

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?

Given 6 parameters and no output schema, the description covers main behaviors but omits details on delimiter, overwrite, and file path. It includes helpful alternative guidance, but gaps remain for complete understanding.

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?

Parameter schema has 0% coverage, so description must compensate. It explains range/sheet usage implicitly but does not detail csv_path, delimiter, overwrite, or format. Adds some context but not comprehensive.

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 clearly states the tool exports a range or sheet's used range to CSV, distinguishing it from siblings like export_json and export_pdf.

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?

Provides specific guidance on when to use alternatives (recalculate_workbook + read_calculated_range for computed values). Does not explicitly compare to export_json/export_pdf, but gives clear context for a common scenario.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ShubhamDbug/Excel-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server