Skip to main content
Glama
wkqco33
by wkqco33

excel_write_range

Write a 2D array of data into an Excel sheet starting from a specified cell, with optional file backup before modification.

Instructions

Write a 2D matrix of data starting from a designated top-left cell in an Excel sheet.

Args:
    file_path: Path to the Excel file.
    sheet_name: Target sheet name.
    start_cell: Top-left cell coordinate (e.g. 'A1').
    data: 2D array of rows and column values to write.
    backup: If True, create a backup of the original file before modifying.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
backupNo
file_pathYes
sheet_nameYes
start_cellYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions the backup parameter but does not disclose whether existing cell contents are overwritten, what happens if the sheet or file does not exist, error handling, or the return value. For a mutation tool with zero annotation coverage, this is a significant gap.

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?

The description is concise, front-loaded with the main purpose, and uses a clear Args section. Every sentence adds value, with no fluff or repetition. It is appropriately sized for the tool's complexity.

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?

Although an output schema exists (so return values need not be described), the description omits important behavioral details such as overwrite behavior, sheet existence handling, and edge cases like mismatched data dimensions. It is adequate for basic usage but leaves room for ambiguity in real-world scenarios.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 compensate. It explains each parameter: file_path, sheet_name, start_cell (with example 'A1'), data ('2D array of rows and column values'), and backup ('create a backup of the original file before modifying'). This adds meaningful context beyond the bare schema types.

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 verb 'Write' and the resource (2D matrix of data in an Excel sheet), with a specific starting cell. It distinguishes itself from siblings like excel_write_cell (single cell) and excel_append_rows (appending rows) by focusing on a full 2D block write. The purpose is unambiguous.

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 implies usage for writing a block of data starting at a cell, but it does not explicitly mention when to prefer this over alternatives like excel_write_cell or excel_append_rows, nor does it state any exclusions or prerequisites. The usage context is inferable but not explicitly guided.

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