Skip to main content
Glama
Figma Canvas MCP

Figma Canvas MCP

by AmroJSawan

figma_set_instance_properties

Update component instance properties such as TEXT, BOOLEAN, INSTANCE_SWAP, and VARIANT instead of editing text nodes directly; this prevents silent failures when properties control content.

Instructions

Update component properties on a component instance. IMPORTANT: Use this tool instead of trying to edit text nodes directly when working with component instances. Components often expose TEXT, BOOLEAN, INSTANCE_SWAP, and VARIANT properties that control their content. Direct text node editing may fail silently if the component uses properties. This tool handles the #nodeId suffix pattern automatically. Requires Desktop Bridge connection.

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>",
      "properties": "<properties>"
    },
    "name": "figma_set_instance_properties"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeIdYesID of the INSTANCE node to update (e.g., '1:234'). Must be a component instance, not a regular frame.
propertiesYesProperties to set. Keys are property names (e.g., 'Label', 'Show Icon', 'Size'). Values are strings for TEXT/VARIANT properties, booleans for BOOLEAN properties. The tool automatically handles the #nodeId suffix for TEXT/BOOLEAN/INSTANCE_SWAP properties.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.17.3

TDQS

A4.3/5.0
Behavior4/5

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

No annotations exist, so the description carries the full load and does so well: it discloses the silent-failure risk, automatic #nodeId suffix handling, and the Desktop Bridge connection prerequisite. It stops short of describing what is returned or whether changes are undoable, which keeps it from a 5.

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?

The verb and resource lead, the IMPORTANT routing warning follows immediately, and prerequisites come last — good front-loading. The sentence about components exposing properties is mildly redundant with the schema but earns its place as justification for the warning.

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

Completeness4/5

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

For a two-parameter mutation with no annotations and no output schema, the description covers the key agent needs: correct node type, value typing, failure mode, suffix handling, and connection requirement. Return behavior is unspecified but the tool's effect is self-evident.

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 coverage is 100% and the schema already documents nodeId's INSTANCE-only constraint, value typing per property kind, and suffix handling. The description's mention of TEXT/BOOLEAN/INSTANCE_SWAP/VARIANT largely restates that, adding only the framing of which property kinds exist.

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

Purpose5/5

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

States a specific verb and resource ('Update component properties on a component instance') and explicitly distinguishes itself from direct text node editing, which maps to sibling tools like figma_set_text. An agent can select this over the alternatives without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives an explicit when-to-use rule ('Use this tool instead of trying to edit text nodes directly when working with component instances') plus the rationale (direct edits may fail silently). The exclusion condition is stated as clearly as the inclusion condition.

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