Skip to main content
Glama
Figma Design Pipeline

Figma Design Pipeline

by spfr

figma_plan_components

Plans extraction of reusable components from repeated visual patterns in Figma designs, returning an actions array for the official Figma MCP use_figma tool.

Instructions

Plan component extraction from repeated visual patterns. 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_components"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeIdNoRoot node ID to plan components 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.
minSimilarityNoMin structural similarity
minOccurrencesNoMin repetitions to extract

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 disclosure burden. It usefully reveals that this is a planning-only step producing an actions array rather than performing the extraction, but it says nothing about whether it reads the live Figma file, requires an active plugin session, costs rate-limited calls, or what an 'actions' entry looks like.

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 with no filler; the core capability is front-loaded and the second sentence carries genuinely distinct information about output shape and downstream consumer.

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 tool with no annotations and no output schema, the description should say more about the actions array it returns and prerequisites such as an active Figma connection. The workflow hint partially compensates, but the agent is left guessing what to do with the result and how the optional root parameters interact.

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 the schema already documents nodeId, figmaUrl, minSimilarity, and minOccurrences, and the baseline of 3 applies. The description adds nothing beyond the schema — notably it does not clarify the zero-required-parameter situation or when to pass figmaUrl versus nodeId.

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 pairs a specific verb ('plan') with a specific resource ('component extraction from repeated visual patterns') and clarifies that the output is an actions array rather than a mutation. It is clear what the tool does, but it never differentiates itself from nearby siblings such as figma_get_components, figma_map_components, or figma_plan_grouping, so an agent must infer the distinction.

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 about returning an actions array 'for use with the official Figma MCP's use_figma tool' gives useful downstream workflow placement. However, there is no explicit when-to-use or when-not-to-use guidance relative to the other planning and component tools, so selection remains implied rather than stated.

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