Skip to main content
Glama
Figma Design Pipeline

Figma Design Pipeline

by spfr

figma_plan_grouping

Plan semantic frame grouping for scattered Figma elements and return use_figma actions to apply the groups.

Instructions

Plan semantic frame grouping for scattered elements. 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_grouping"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeIdNoRoot node ID to plan grouping 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.
strategyNoGrouping strategysemantic

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?

No annotations are supplied, so the description carries the full burden. It does valuable work by disclosing that this only plans and returns an actions array rather than mutating the document, which prevents misuse as an executor. However, it says nothing about prerequisites (a loaded file, a resolvable node), what happens when elements are already grouped, or how strategies change behavior.

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 sentences, zero filler, with the core purpose front-loaded and the return contract stated second. Nothing could be removed without losing information.

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?

With no output schema, the description does the necessary minimum by naming the returned actions array and its consumer. But for a 3-parameter tool with a strategy enum, the omission of strategy semantics and of any precondition for use leaves an agent guessing at call-time behavior.

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 nodeId, figmaUrl (including its session persistence) and strategy are already documented in the schema. The description adds nothing about the semantic/spatial/minimal enum values, which is exactly the kind of meaning the schema leaves thin. 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?

The description gives a specific verb and resource ('Plan semantic frame grouping') plus the target ('scattered elements'), which tells an agent this is a planning tool for organizing loose nodes. It implicitly separates itself from plan_layout and plan_components by the word 'grouping', though it never names those siblings explicitly.

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 only implied by the condition 'scattered elements' — the description never says when to pick this over figma_plan_layout or figma_plan_components, nor when not to use it. It does give downstream guidance (feed the actions array to use_figma), which is useful but is about what to do after, not about tool selection.

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