Skip to main content
Glama

update_excel_cells

Write values to individual cells in an Excel file by coordinate. Accepts strings, formulas (starting with =), numbers, booleans, and null. Save is atomic to prevent corruption.

Instructions

Set individual cells by coordinate, e.g. {"A1": "Title", "B2": 42}.

String values starting with "=" are written as formulas (e.g. "=SUM(A1:A5)"). Note: newly written formulas have no calculated value until the file is opened in Excel. For cells inside a merged range, write to the range's top-left anchor cell.

The save is atomic — a failed write never corrupts the original file.

@param file_path: Absolute path to the .xlsx/.xlsm file. @param updates: Mapping of cell coordinate to value. @param sheet_name: Target sheet. None = first sheet. @return: Confirmation with the number of cells written.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
updatesYes
file_pathYes
sheet_nameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses atomic saves, formula calculation delay, and merged range behavior. No annotations were provided, so the description carries the full burden and does so well.

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?

Well-structured with a clear opening, bullet-like notes, and param docs. A bit verbose but not excessively so.

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?

Covers all necessary behaviors, parameter semantics, and includes an output schema mention. Complete for a tool of this complexity.

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?

Describes all three parameters: file_path, updates (with example), and sheet_name (with default behavior). Schema coverage is 0%, so the description fully compensates.

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 sets individual cells by coordinate, with an example. It distinguishes from siblings like write_excel_rows and format_excel_cells by focusing on cell-by-cell updates.

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 notes about formula behavior and merged ranges, which guide correct usage. However, it lacks explicit when-to-use vs alternatives, though the context is clear.

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