Skip to main content
Glama
Numbers MCP Server

Numbers MCP Server

by alexlock1

numbers_set_cell_color

Set the background color of a specific cell in an Apple Numbers spreadsheet by specifying its file, row, column, and RGB values. Requires macOS.

Instructions

Set the background color of a specific cell. 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>",
      "column": "<column>",
      "color": "<color>"
    },
    "name": "numbers_set_cell_color"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorYesRGB color values
columnYesColumn name (e.g., 'Status')
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

B3.3/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden. It does disclose one genuine side effect (Numbers app will open briefly) and the AppleScript dependency, but says nothing about whether the change is persisted/saved to the .numbers file, whether the file must be closed first, or what permissions are needed. For an unannotated mutation tool this leaves major gaps.

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, action statement first, environmental caveat second. Nothing is wasted or buried.

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 5-parameter mutation tool with a nested object, no annotations, and no output schema, the description covers the platform and one side effect but omits how the file is affected (saved? must be closed?) and what happens on failure. Adequate to call correctly on happy path, incomplete for safe operation.

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%, including the nested RGB object and the 1-based row index, so the schema already documents every parameter. The description adds no syntax or format meaning beyond it, making 3 the correct baseline.

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 names a specific verb and resource ("Set the background color of a specific cell"), which clearly separates it from the row-level sibling numbers_set_row_color. It stops short of explicitly routing between cell- and row-level tools, but the scope is unambiguous.

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?

It states a real prerequisite - requires macOS and uses AppleScript - which tells the agent something about the environment, but offers no guidance on when to prefer this over numbers_set_row_color or numbers_color_rows_by_value, nor any when-not condition.

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