Skip to main content
Glama
open-figma-mcp

open-figma-mcp

by RHK1335

figma_update_paint_style

figma_update_paint_style

Modify an existing local paint style's name, color, or opacity to keep design tokens consistent across a Figma file.

Instructions

Update a local paint style.

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_update_paint_style"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
nameNo
colorNo
opacityNo
styleIdNo
fillColorNo
styleNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2/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, yet it only implies mutation via "update". It does not disclose permission requirements, whether the update is partial or a full replacement, what happens when no fields are supplied (zero required parameters), or whether changes are reversible.

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

Conciseness2/5

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

The single sentence is front-loaded and free of padding, but at seven parameters this is under-specification rather than conciseness. The brevity leaves no room for the operational detail the caller needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with seven loosely related parameters, no required fields, no annotations, and no output schema, a five-word description is wholly inadequate. An agent cannot determine which identifiers to pass, whether both id and styleId are needed, or how to confirm success.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Seven parameters with 0% schema description coverage and the description explains none of them. It also fails to disambiguate the schema's obvious redundancy pairs (id vs styleId, name vs styleName, color vs fillColor), which is exactly the kind of clarification a description must provide when the schema cannot.

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

Purpose3/5

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

"Update a local paint style" names a verb and a resource, and the word "local" hints at scope (as opposed to a published/library style). However, it is essentially a restatement of the tool name with no differentiation from siblings such as figma_create_paint_style or figma_delete_style, so the agent learns little beyond 'this mutates a paint style'.

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 figma_create_paint_style, figma_apply_style_to_node, or other style tools, and no stated preconditions. The agent must infer entirely from the name that this is the edit path for an existing style.

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