Skip to main content
Glama
open-figma-mcp

open-figma-mcp

by RHK1335

figma_align_distribute

figma_align_distribute

Align selected Figma nodes to edges or centers, or distribute them horizontally or vertically with optional spacing to organize layouts.

Instructions

Align and/or distribute selected or provided nodes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "figma_align_distribute"
  }
}

Input Schema

NameRequiredDescriptionDefault
alignNo
nodeIdNoFigma node ID. Colon or URL hyphen format accepted.
nodeIdsNoFigma node IDs. Colon or URL hyphen format accepted.
spacingNo
screenKeyNo
distributeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.4/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 behavioral burden and falls well short: it does not state that this is a mutating operation that repositions nodes, whether auto-layout children or constraints are respected, or what error occurs if neither align nor distribute is supplied. The phrase 'selected or provided' does disclose the selection-fallback behavior, which is the one real piece of transparency.

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?

It is a single front-loaded sentence with no wasted words, but the terseness here is under-specification rather than economy — for a six-parameter mutation tool this is too little text to be structured well.

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?

Six parameters, zero annotations, no output schema, and low schema coverage mean the description should explain far more about mutation effects, parameter interplay (spacing with distribute), and the screenKey scope. It covers only the surface verb.

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 only 33%, so the description must compensate and does not. It vaguely maps to align/distribute and to nodeIds-vs-selection, but spacing and screenKey are entirely undocumented, and the relation between nodeId (singular) and nodeIds (plural) is left unexplained in both schema and description.

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?

The description names a specific verb pair (align/distribute) and resource (nodes), which is distinct from anything in the sibling list. However, it never clarifies what nodes are aligned *to* (anchor/reference node), nor how align and distribute interact when both are requested, leaving the core operation ambiguous.

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?

No when-to-use guidance, no prerequisites, no exclusions, and no mention of alternatives among the ~40 sibling tools. The only usable hint is 'selected or provided', which implies a fallback to current selection but is not framed as guidance.

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