Skip to main content
Glama
open-figma-mcp

open-figma-mcp

by RHK1335

figma_reorder_nodes

figma_reorder_nodes

Reorder Figma nodes within their parent by bringing them to front, sending them to back, or moving them forward or backward to control layer stacking.

Instructions

Reorder one or more nodes within their parent.

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": {
      "order": "<order>"
    },
    "name": "figma_reorder_nodes"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderYes
nodeIdNoFigma node ID. Colon or URL hyphen format accepted.
nodeIdsNoFigma node IDs. Colon or URL hyphen format accepted.
screenKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.6/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 burden for a mutation tool, yet it only says the change is confined to the parent. It does not state permission requirements, what happens when nodeIds span different parents, whether ordering is absolute or relative, or whether the operation is reversible.

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 single sentence is front-loaded and free of filler, but its brevity is under-specification rather than efficiency given the tool's four parameters and mutation semantics.

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 mutation tool with no annotations, no output schema, and only half the parameters described, one sentence is not enough. An agent cannot tell which parameters to combine or what the operation will do at the edges.

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 coverage is 50%, so the description needs to compensate, but it never mentions the required 'order' parameter, the four z-order modes, the singular nodeId vs plural nodeIds relationship, or the undocumented screenKey. All of that must be read from the schema, and the nodeId/nodeIds mutual-exclusivity question remains unanswered in both places.

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 ('Reorder') and resource ('nodes') with the scoping qualifier 'within their parent', which tells an agent this changes z-order rather than location. It stops short of distinguishing itself from siblings like figma_move_nodes or figma_reparent_nodes, so the boundary is left to inference.

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 figma_move_nodes or figma_reparent_nodes, and no statement of prerequisites. The agent must infer usage from the name alone.

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