Skip to main content
Glama
Figma Canvas MCP

Figma Canvas MCP

by AmroJSawan

figma_edit_component_property

Update an existing Figma component property's name, default value, or preferred values for instance swaps using its full property name.

Instructions

Edit an existing component property. Can change the name, default value, or preferred values (for INSTANCE_SWAP). Use the full property name including the unique suffix.

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>",
      "propertyName": "<propertyName>",
      "newValue": "<newValue>"
    },
    "name": "figma_edit_component_property"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeIdYesThe component or component set node ID
newValueYesObject with the values to update
propertyNameYesThe full property name with suffix (e.g., 'Show Icon#123:456')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.17.3

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It usefully reveals a non-obvious constraint (the property name must include the unique suffix, e.g. '#123:456') and that preferredValues only applies to INSTANCE_SWAP properties, but it omits what happens on a suffix mismatch, whether changes are reversible, permission requirements, and the response shape.

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?

Two tight, front-loaded sentences with no filler; the capability statement comes first and the naming constraint second. The second sentence largely duplicates schema content, which costs it the top score.

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

Completeness3/5

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

For a 3-parameter mutation tool with a nested value object, no annotations, and no output schema, the description covers the essentials of what can be changed but leaves behavioral edges (validation failures, suffix mismatch behavior, effect on existing instances) unaddressed. Adequate but with clear gaps.

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 description coverage is 100%, so all three top-level parameters and all nested fields are already documented in the schema. The description restates the suffix convention and the INSTANCE_SWAP restriction that the schema itself already states, adding little new semantic meaning. Baseline 3 is appropriate.

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 and resource ('Edit an existing component property') and enumerates the three editable facets: name, default value, and preferred values. It is clearly distinguishable from the add/delete component property siblings by the 'existing' qualifier, though it never names an alternative explicitly.

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

Usage Guidelines3/5

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

Usage is only implied by the verb 'Edit' - the agent can infer this is for modifying an already-created property rather than creating one. There is no explicit when-to-use/when-not guidance and no pointer to figma_add_component_property for new properties, so routing relies on inference.

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