Skip to main content
Glama

Write cells in a Numbers spreadsheet

numbers_write_cells
Destructive

Write individual cells or row blocks in a Numbers table, clear cells with null, and let the table expand as needed. Save to a new output file or overwrite the input.

Instructions

Set cells in a Numbers table, by individual references ("B2") and/or a block of rows starting at a cell. Numbers and booleans are stored as values; strings are entered as if typed, so Numbers may treat a string starting with = as a formula. Null clears a cell. The table grows if needed. Saves to output if given, otherwise SAVES OVER THE INPUT FILE.

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": {
      "input": "<input>"
    },
    "name": "numbers_write_cells"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsNo
cellsNo
inputYesPath to a .numbers file
sheetNo
tableNo
outputNoSave to this new path instead of in place
overwriteNoAllow replacing an existing file at `output`

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

A4.3/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: type coercion rules (numbers/booleans stored as values, strings typed as if by a user), the formula-injection caveat that a string starting with '=' may become a formula, null clearing a cell, and auto-growth of the table. The destructive default of overwriting the input file is called out loudly. What is missing is any statement of what the tool returns or whether intermediate directories must exist.

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?

Dense and front-loaded: addressing modes first, then value typing, then persistence. Four sentences with no filler, though the parenthetical example "B2" partially duplicates the schema's own example and the overwrite warning is buried in an all-caps clause at the end rather than surfaced earlier.

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?

For a 7-parameter write tool with nested row objects and no output schema, the description covers the highest-risk behaviors (overwrite, formula coercion, null clearing). Gaps remain around the undocumented `sheet`/`table` selectors and the absence of any return-value statement, which matters given no output schema exists.

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 coverage is only 43% across 7 parameters, but the description compensates well for the two value-bearing paths by specifying accepted value types and their storage semantics. `sheet` and `table` are documented in neither the schema nor the description, and `overwrite` (default false) is never mentioned in the prose despite gating whether `output` may be replaced.

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?

States a specific verb and resource ("Set cells in a Numbers table") plus the two supported addressing modes — individual A1-style references and a block of rows anchored at a start cell. An agent can immediately distinguish this from numbers_read_table or numbers_create_spreadsheet without opening a schema.

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?

Explains the two write modes (cells vs. rows) and, critically, the output-path rule: provide `output` to save elsewhere, otherwise the input file is overwritten. It does not explicitly name a preferred alternative or state when not to use this tool (e.g., for appending vs. overwriting ranges), so it stops short of full routing guidance.

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