Skip to main content
Glama
OpenFigma MCP

OpenFigma MCP

set_node_properties

Update a Figma node's opacity, visibility, rotation, blend mode, clipping, lock state, stroke alignment, dash pattern, or corner smoothing, including hiding layers inside instances.

Instructions

Set a node's opacity, visibility, rotation, blend mode, clipping, lock, stroke alignment, dashes or corner smoothing; hiding a layer inside an instance is an override

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

Input Schema

NameRequiredDescriptionDefault
lockedNo
nodeIdYesThe node's ID
opacityNo
visibleNo
rotationNoDegrees
blendModeNo
dashPatternNoDash and gap lengths, e.g. [4, 4]; [] for solid
strokeAlignNo
clipsContentNoFrames: hide children outside the bounds (crops an image inside)
cornerSmoothingNo0.6 matches iOS's continuous corners

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It reveals one useful nuance about instance overrides, but says nothing about permissions, reversibility, whether omitted properties are left untouched, whether all parameters may be combined in one call, or what the result looks like for a mutation tool.

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 definition is a single dense sentence with the verb and resource front-loaded and no filler. The long property list is necessary, but the instance-override clause is appended without structural separation and could be misread as one more settable property.

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 10-parameter mutation tool with no annotations, no output schema, and only partial schema description coverage, the description is too thin. It lists the touched properties but omits required-parameter emphasis, mutation side effects, permission constraints, and error/return expectations.

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?

The description maps colloquial property names to several schema fields (visibility→visible, clipping→clipsContent, lock→locked, dashes→dashPattern), which adds some meaning beyond the 50%-covered schema. However, it does not clarify ranges, units, enum behavior, or the required nodeId beyond what the schema already states.

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?

It opens with a specific verb and resource ('Set a node's...') and enumerates the exact properties changed: opacity, visibility, rotation, blend mode, clipping, lock, stroke alignment, dashes, and corner smoothing. That makes it clearly distinct from single-purpose siblings like set_fill_color or set_corner_radius, though it never explicitly contrasts itself with set_instance_properties.

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?

The only usage cue is the trailing clause that hiding a layer inside an instance is an override. There is no explicit when-to-use/when-not guidance, no mention of how this relates to set_instance_properties or set_instance_overrides, and no prerequisites such as the node type required.

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