Skip to main content
Glama
open-figma-mcp

open-figma-mcp

by RHK1335

figma_set_fills

figma_set_fills

Set or append solid fills on one or more Figma nodes by specifying color, opacity, and replace or append mode.

Instructions

Set or append a solid fill on one or more nodes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "figma_set_fills"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo
colorNo
nodeIdNoFigma node ID. Colon or URL hyphen format accepted.
nodeIdsNoFigma node IDs. Colon or URL hyphen format accepted.
opacityNo
fillColorNo
screenKeyNo
strokeColorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden, yet it says nothing about whether existing fills are discarded, what happens with multi-node targets when some IDs are invalid, permission/auth requirements, or rate limits. The only behavioral hint is the set/append distinction, which is not explained.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no padding or redundancy; nothing needs trimming. The terseness is a completeness problem rather than a conciseness one.

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 an 8-parameter mutation tool with 25% schema coverage, no annotations, and no output schema, one sentence is far from sufficient. An agent cannot determine mode semantics, color format expectations, or the fate of existing fills from this definition.

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 only 25% across 8 parameters, so the description must compensate and does not. It implies node targeting and the replace/append mode but says nothing about color format, opacity, screenKey, or why a strokeColor parameter appears on a fills tool — that oddity is left entirely unexplained.

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 ("Set or append") and resource ("solid fill") with a scope ("one or more nodes"), which lets an agent distinguish it from sibling tools like figma_set_strokes or figma_set_opacity. It stops short of naming or explicitly contrasting any alternative, but the purpose 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?

There is no when-to-use guidance, no mention of prerequisites (e.g. the node must exist and be fill-capable), and no explanation of when to prefer replace versus append even though a mode enum exists. The word "or" in "Set or append" gestures at the choice but leaves the decision entirely to the caller.

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