Skip to main content
Glama

set_fill_color

Update a Figma node's fill color by specifying the node ID and color value for real-time design edits.

Instructions

Set fill color of a node.

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": {
      "nodeId": "<nodeId>",
      "color": "<color>"
    },
    "name": "set_fill_color"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorYes
nodeIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing. It does not say whether the operation overwrites existing fills or appends, whether it requires an authenticated/editable file, what happens on a node that does not support fills, or whether the change is persisted or undoable.

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 contains no filler, but it is terse to the point of under-specification rather than genuinely efficient. There is room for one additional clause on color format or fill overwrite behavior without bloat.

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 mutation tool with no annotations, no output schema, and completely undocumented parameters, the definition is far too thin. An agent cannot reliably construct a valid color value or predict the effect of the call from this description alone.

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 0%, so the description must compensate, and it does not. "color" has no stated format at all — hex string, CSS name, or normalized RGBA components — which for a color-setter is the single most important semantic detail, and "nodeId" is only implicitly explained as "a node".

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 states a specific verb and resource ("Set fill color of a node"), which is unambiguous about the operation performed. It stops short of differentiating scope (which node types accept fills, shape vs. text nodes) or naming any sibling, so it is clear but not fully disambiguating.

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?

There is no guidance on when to use this tool versus alternatives, and no prerequisites are stated. The agent must infer that it should call this only on an existing node obtained elsewhere (e.g., list_frames or a node lookup) and never on a slide or frame creation path.

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