Skip to main content
Glama
Numbers MCP Server

Numbers MCP Server

by alexlock1

numbers_set_row_color

Set the background color of a specific row in a Numbers spreadsheet using RGB values, with optional sheet selection. Runs on macOS via AppleScript and briefly opens Numbers.

Instructions

Set the background color of a specific row. Requires macOS (uses AppleScript). Numbers app will open briefly.

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>",
      "rowIndex": "<rowIndex>",
      "color": "<color>"
    },
    "name": "numbers_set_row_color"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorYesRGB color values
filePathYesAbsolute path to the .numbers file
rowIndexYes1-based row index (row 1 is the header)
sheetNameNoSheet name (defaults to first sheet)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden, and it does disclose two real behavioral facts: the macOS/AppleScript dependency and that the Numbers app will open briefly during execution. It omits other mutation-relevant behavior — whether an existing color is overwritten, whether the file must be closed or is saved afterward, and whether changes persist on disk.

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?

Two short sentences, front-loaded with the action and followed by the environment/side-effect note. Nothing is padded and no sentence is redundant.

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 4-parameter mutation tool with no annotations and no output schema, the description covers the essential operational facts an agent needs to attempt a call: platform requirement and the app-launching side effect. It would be stronger if it stated whether the write persists to the file or requires the document to be open/saved, and what a successful call yields.

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%: filePath, rowIndex (1-based, header is row 1), the nested RGB object with per-channel 0-255 bounds, and the optional sheetName default are all documented in the schema. The description adds no parameter meaning beyond that, so the baseline of 3 applies.

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

Purpose4/5

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

The description gives a specific verb and resource — 'Set the background color of a specific row' — which is unambiguous on its own. It does not, however, distinguish itself from close siblings like numbers_set_cell_color or numbers_color_rows_by_value, so an agent must infer the difference from the names alone.

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?

Usage is implied by the verb (apply a background color to an entire row), but there is no explicit when-to-use guidance and no naming of the cell-level or value-mapping alternatives. The only contextual constraint given is the macOS/AppleScript requirement, which is environmental rather than selective.

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