Skip to main content
Glama

excel_write_cell

Write a string, number, or formula to a specific cell in an open Excel worksheet by specifying the workbook, sheet, and cell address.

Instructions

Write value to cell

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "filename": "<filename>",
      "worksheet": "<worksheet>",
      "cellAddress": "<cellAddress>",
      "value": "<value>"
    },
    "name": "excel_write_cell"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYesValue (string, number, or formula with =)
filenameYesOpened workbook name
worksheetYesWorksheet name
cellAddressYesCell address (e.g., A1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses essentially nothing. It does not say that writing overwrites existing cell content, whether formulas are stored unevaluated, what happens if worksheet or cellAddress does not exist, or whether the workbook must already be open. For a destructive mutation tool 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The phrase is extremely short and front-loaded with the core action, with no wasted words. But the brevity here amounts to under-specification rather than disciplined conciseness, since nearly every behavioral question is left unanswered.

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

Completeness2/5

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

The rich schema partially compensates, but this is an unannotated mutation tool with no output schema, and the description says nothing about overwrite semantics, error conditions, or return behavior. An agent cannot tell from the definition alone whether calling it is safe or what it will observe afterward.

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 explains value (string, number, or formula with =), filename as an opened workbook name, worksheet, and cell address format. The description adds no meaning beyond those fields, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource (write a value into a cell), so an agent can grasp the basic operation. However, it offers no differentiation from closely related siblings such as excel_write_batch (multi-cell writes) or excel_set_cell_format (cell mutation of a different kind), leaving the agent to infer which one applies.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance at all about when to use this tool versus excel_write_batch or excel_set_cell_format, nor any note about preconditions such as the workbook already being open. The agent must guess the selection criteria entirely from tool names.

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

Deploy Server

Other Tools