Skip to main content
Glama
Figma Vector MCP

Figma Vector MCP

by workingmodel

reorder_node

Change a Figma node's stacking order within its parent using relative actions or an absolute index (0 = bottom) to control overlap and layer position.

Instructions

Change a node's Z-order within its parent. Use action for relative moves or index for an absolute position (0 = bottom of stack).

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

Input Schema

NameRequiredDescriptionDefault
indexNoAbsolute stack index (0 = bottom). Overrides action if both provided.
actionNoRelative reorder action
nodeIdYesFigma node ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

B3.2/5.0
Behavior2/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. It discloses that the operation is a mutation of stacking order and that index wins when both inputs are given, but says nothing about required permissions, behavior when the node has no siblings, reversibility, or what the response contains.

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 compact sentences with the core action front-loaded and the parameter-selection rule immediately after. There is no filler, though the second sentence largely duplicates schema text.

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 three-parameter mutation with full schema coverage and no output schema, the description covers the essential ordering semantics and the action/index tradeoff. It remains thin on error conditions and side effects, which matters more here because no annotations supply that context.

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 coverage is 100%, so the schema already documents nodeId, action, and index, including the 0 = bottom convention and the index-overrides-action rule. The description restates that same override and bottom-of-stack semantics rather than adding new meaning, so the baseline 3 applies.

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: it changes a node's Z-order within its parent, which is narrower and clearer than the tool name alone. It does not distinguish itself from the sibling move_node, so an agent could plausibly confuse ordering with positional movement.

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?

The sentence 'Use action for relative moves or index for an absolute position' gives clear in-tool guidance on which input path to take. However, it never addresses when to pick this tool over a sibling like move_node, nor any preconditions or exclusions.

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