Skip to main content
Glama
Figma Design Pipeline

Figma Design Pipeline

by spfr

figma_plan_layout

Plans auto-layout conversion from absolute positioning and returns an actions array for the official Figma use_figma tool.

Instructions

Plan auto-layout conversion from absolute positioning. Returns actions array for use with the official Figma MCP's use_figma tool.

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_plan_layout"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeNoWhich nodes to convertall
nodeIdNoRoot node ID to plan layout for
figmaUrlNoFigma design URL (e.g., 'https://www.figma.com/design/ABC123/File-Name?node-id=1817:2817'). Extracts file key and node ID automatically. Once set, persists for the session.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description does useful work by disclosing that this tool plans rather than mutates and that it returns an actions array. It does not say whether the tool reads the Figma file itself (and thus needs auth/plugin status) or requires a prior fetch, nor how it behaves on an invalid nodeId — meaningful gaps for a planning tool that feeds a downstream executor.

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 tight sentences with the purpose front-loaded and the downstream consumer stated second. No filler, no restatement of the title, nothing that could be cut.

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?

There is no output schema, and the description only gestures at the return value ('actions array'), leaving the shape of those actions unspecified. For a zero-required-parameter planning tool that hands off to another MCP server, the definition is workable but does not explain prerequisites or the handoff mechanics an agent would need.

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%, including an enum for scope and the note that figmaUrl persists for the session, so the schema already carries parameter meaning. The description adds nothing beyond that about how scope or nodeId affect the generated actions, so the baseline of 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?

The description states a specific verb and resource: 'Plan auto-layout conversion from absolute positioning.' That is concrete enough to distinguish it from siblings like figma_execute or figma_plan_grouping, which operate on different targets. It stops short of explicitly naming a sibling it supersedes, but the operation is unmistakable.

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 mention that the result feeds the official Figma MCP's use_figma tool implies this is a pre-execution planning step, so usage is inferable. However, there is no explicit when-to-use/when-not-to-use guidance, no statement of preconditions (e.g., whether the node tree must be fetched first), and no routing away from figma_execute for direct writes.

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