Skip to main content
Glama

write_excel_rows

Write a rectangular block of rows to an Excel file, starting at a specified cell. Overwrites existing cells in the target range.

Instructions

Write a rectangular block of rows starting at start_cell.

Efficient for tabular data: pass a list of rows, each a list of values. Existing cells in the target range are overwritten; cells outside it are untouched. The save is atomic.

@param file_path: Absolute path to the .xlsx/.xlsm file. @param rows: List of rows, each a list of cell values. @param sheet_name: Target sheet. None = first sheet. @param start_cell: Top-left coordinate of the block (default "A1"). @return: Confirmation with the written range.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsYes
file_pathYes
sheet_nameNo
start_cellNoA1

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries full burden. It discloses that existing cells are overwritten, cells outside range are untouched, and the save is atomic. This provides key behavioral traits, though it could mention file existence or permission requirements.

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?

The description is concise and front-loaded with the main action. It includes parameter documentation in a structured way without unnecessary text. One extra sentence could be trimmed but overall efficient.

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?

Given 4 parameters and an output schema (mentioned but not shown), the description provides sufficient context for usage, including return value description. It covers overwrite behavior and atomicity. No major gaps.

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 description coverage is 0%, but the description includes docstrings for each parameter, adding meaning like 'Absolute path' for file_path and 'Top-left coordinate' for start_cell. It compensates well for the lack of schema descriptions.

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 writes a rectangular block of rows starting at a start cell. The verb 'Write' and resource 'rows' are specific, and it distinguishes from sibling tools like update_excel_cells by emphasizing batch writing of rows.

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?

The description says 'Efficient for tabular data' implying when to use, but does not explicitly compare with alternatives like update_excel_cells or mention when not to use. There is no guidance on prerequisites or exclusions.

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/VOYAGER-Inc/excel-vision-mcp'

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