Skip to main content
Glama
Numbers MCP Server

Numbers MCP Server

by alexlock1

numbers_batch_update

Update multiple rows with different values in a single write operation by specifying each row's own match condition and values, avoiding separate update calls.

Instructions

Update multiple rows with DIFFERENT values in a single write operation. Each update specifies its own where condition and set values. More efficient than multiple numbers_update_rows calls when setting different values per row.

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": {
      "filePath": "<filePath>",
      "updates": "<updates>"
    },
    "name": "numbers_batch_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
updatesYesArray of {where, set} pairs. Each pair updates matching rows with its own values.
filePathYesAbsolute path to the .numbers file
sheetNameNoSheet name (defaults to first sheet)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations supplied, the description must carry the full behavioral burden. It conveys the mutation and batch nature ('single write operation', each update carries its own where/set), but it does not disclose failure semantics (does one bad condition abort or partially apply?), whether the file is saved automatically, permission needs, or whether the file must already exist.

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?

Three short sentences, front-loaded with the differentiating qualifier (DIFFERENT values, single write). No filler, and the sibling comparison comes last where it belongs.

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?

For a 3-parameter batch mutation with no annotations and no output schema, the description covers the operation model and the sibling choice but leaves out behavior an agent needs to call it safely: partial-failure handling, whether non-matching where conditions create rows or silently skip, and whether changes persist to disk. Adequate but with clear gaps.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents filePath, sheetName, and the nested where/set objects with their operators. The description's restatement that each update has its own where condition and set values adds essentially nothing beyond the schema; it stays at the baseline rather than earning more.

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 ('Update multiple rows') plus a scope qualifier that defines it ('with DIFFERENT values in a single write operation'). It also explicitly contrasts with the sibling numbers_update_rows, so an agent can pick between the two 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?

Gives a clear selection rule: use this instead of repeated numbers_update_rows calls when values differ per row. It does not explicitly state the inverse exclusion (use numbers_update_rows when applying one value to many rows) or address other siblings, but the routing is unambiguous for the main alternative.

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