Skip to main content
Glama
Figma Vector MCP

Figma Vector MCP

by workingmodel

resize_node

Resize a Figma node to exact width and height values. Set dimensions for vector elements, shapes, text, or components before layout and export.

Instructions

Resize a Figma node to the given width and height.

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
widthYes
heightYes
nodeIdYesFigma node ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and mostly fails to. "Resize" implies mutation, but the description does not disclose whether existing constraints are preserved, how child nodes react, whether the operation is reversible, or what errors occur on unsupported node types.

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?

A single sentence with the action and target front-loaded and no filler. It is efficient, though its brevity is a consequence of under-specification rather than disciplined editing.

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 three-parameter mutation tool with no annotations, no output schema, and low schema coverage, the definition is too thin. An agent knows the intent but lacks the failure modes, unit conventions, and side effects needed to invoke it reliably.

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

Parameters2/5

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

Schema description coverage is only 33% (only nodeId is documented), so the description should compensate. It merely restates that width and height are the target dimensions without indicating units (pixels), whether decimals are accepted, or how the values interact with the node's constraints — all information the schema does not supply.

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?

The description pairs a specific verb ("Resize") with a specific resource ("a Figma node") and states the resulting dimensions, so an agent can distinguish it from siblings like move_node, rename_node, or clone_node. It stops short of explicitly contrasting itself with those siblings, which keeps it at 4 rather than 5.

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 alternatives, and no stated preconditions. It says nothing about whether the node must be a frame, group, or component, whether auto-layout children are affected, or what happens when constraints are set.

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