Skip to main content
Glama
Figma Canvas MCP

Figma Canvas MCP

by AmroJSawan

figma_resize_node

Resize a Figma node to exact pixel width and height, optionally respecting child constraints or ignoring them when needed.

Instructions

Resize a node to specific dimensions. By default respects child constraints; use withConstraints=false to ignore them.

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": "figma_resize_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
widthYesNew width in pixels
heightYesNew height in pixels
nodeIdYesThe node ID to resize
withConstraintsNoWhether to apply child constraints during resize (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.17.3

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description bears the full disclosure burden. It does contribute a genuinely useful behavioral fact — child constraints are honored by default and can be bypassed with withConstraints=false — but it omits what happens to children when constraints are ignored (distortion vs. proportional scaling) and says nothing about permissions or failure modes.

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

Conciseness5/5

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

Two short sentences, no filler, and the default behavior is front-loaded after the core action statement. Every clause earns its place.

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 simple four-parameter mutation with fully documented schema and no output schema, almost everything an agent needs is present. The only material gap is the consequence of disabling constraints, which matters for making a safe choice.

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 every parameter (width, height, nodeId, withConstraints) is already documented in the schema with units and default. The description only re-summarizes the withConstraints default, adding no syntax or format detail beyond the schema.

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 ('Resize a node') plus the target quantity ('specific dimensions'), which is unambiguous. It does not reference any sibling, though none of the listed siblings offer a competing resize operation, so differentiation is less critical here.

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 implied rather than spelled out: the description tells you how to override the default constraint behavior but never states when to choose this tool over alternatives like move or clone, nor any prerequisites such as node type eligibility.

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