Skip to main content
Glama
nutriandrea

indesign-nutria-mcp

by nutriandrea

table_setCellFill

Set a cell's fill color and optional tint in an InDesign table using page, table, row, and column indexes.

Instructions

Set a cell's fill color and tint

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowIndexYes
fillColorYes
pageIndexYes
tableIndexYes
columnIndexYes
document_idNoWhich open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document.
tintPercentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.1

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. 'Set' implies mutation that overwrites whatever fill a cell already had, but it doesn't disclose reversibility, undo behavior, required permissions, or whether the value replaces or merges with an existing tint. A six-word description leaves all of this unstated.

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 single sentence is front-loaded and wastes no words, which is the right shape. However, at six words for a seven-parameter mutation tool it is under-specified rather than efficient, so it only meets the middle bar.

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?

For a seven-parameter, five-required mutation tool with no annotations, no output schema, and near-zero schema documentation, the description should at minimum explain the index addressing scheme and the expected color format. Those omissions leave an agent unable to call it correctly without guessing.

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 coverage is only 14% – just document_id is documented. The five required index parameters (pageIndex, tableIndex, rowIndex, columnIndex) have no descriptions anywhere, and the description says nothing about the coordinate scheme. The critical fillColor format (hex, RGB, or swatch reference) is also unspecified, though the description's mention of 'tint' loosely maps to tintPercent.

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?

States a specific verb ('Set') and resource ('a cell's fill color and tint'), which distinguishes it from neighboring cell operations like table_setCellStroke, table_setCellInset, and table_setCellAlignment. It doesn't name siblings explicitly, but the fill-color focus 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 Guidelines2/5

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

No when-to-use guidance, no preconditions (e.g. a document must be open, a table/cell must exist), and no alternatives offered such as color_apply or cellStyle_create for applying fills at scale. The agent must infer everything from the name.

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