Skip to main content
Glama
OpenFigma MCP

OpenFigma MCP

resize_node

Resize a Figma node by providing its node ID, new width, and new height to update its dimensions.

Instructions

Resize a node

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>",
      "width": "<width>",
      "height": "<height>"
    },
    "name": "resize_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
widthYesNew width
heightYesNew height
nodeIdYesThe ID of the node to resize

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.3/5.0
Behavior1/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, and it discloses nothing: not whether units are pixels, whether resizing a frame resizes its children, whether constraints or layout grids are respected, or whether the operation is reversible. For a mutation tool with zero structured safety hints, this is a serious gap.

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

Conciseness3/5

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

The description is a single four-word sentence with no wasted words, but its brevity reflects under-specification rather than efficiency. There is no structure to speak of and nothing front-loaded beyond the verb.

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?

With three required parameters, no output schema, and no annotations, the description should explain the semantics of a dimension mutation (units, effect on children, constraints). None of that is present, leaving an agent unable to predict the outcome of the call beyond the literal field values.

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% — nodeId, width, and height are each documented with short descriptions and width/height carry exclusiveMinimum: 0. The description adds no meaning beyond the schema, so the baseline 3 applies; it does not clarify units, coordinate space, or whether dimensions are absolute or relative.

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?

"Resize a node" names a specific verb (resize) and resource (node), so the basic action is unambiguous. However, it offers nothing to distinguish it from siblings like move_node, set_node_properties, or clone_node, and gives no hint about what "resize" means for the node's children, constraints, or aspect ratio.

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 description contains no when-to-use guidance, no preconditions, and no mention of alternatives such as set_node_properties for changing dimensions indirectly. An agent must infer entirely from the tool name and schema when this is the right call.

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