Skip to main content
Glama
Figma Canvas MCP

Figma Canvas MCP

by AmroJSawan

figma_arrange_component_set

Organizes a component set into a labeled variant grid with Figma's native purple dashed visualization. Use it to clean up sets and lay out variant states and properties.

Instructions

Organize a component set with Figma's native purple dashed visualization. Use after creating variants, adding states (hover/disabled/pressed), or when component sets need cleanup.

Recreates the set using figma.combineAsVariants() for proper Figma integration, applies purple dashed border styling, and arranges variants in a labeled grid (columns = last property like State, rows = other properties like Type+Size). Creates a white container with title, row/column labels, and the component set.

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

Input Schema

NameRequiredDescriptionDefault
optionsNoLayout options
componentSetIdNoNode ID of the component set to arrange. If not provided, will look for a selected component set.
componentSetNameNoName of the component set to find. Used if componentSetId not provided.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.17.3

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses that the set is recreated via combineAsVariants (implying the existing node structure is rebuilt), that styling is applied, and that a container with title and labels is created. It does not warn whether existing variant ordering or instance links survive the recreation, nor mention permissions, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short paragraphs, front-loaded with purpose and followed by mechanics; every sentence carries information. The phrase 'Figma's native purple dashed visualization' is slightly redundant with the later 'applies purple dashed border styling', which is the only real waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-required-parameter mutation tool with no output schema and a fully documented schema, the description covers what it does, when to call it, and how the result is laid out. The main missing piece is confirmation of what happens to the pre-existing component set identity after the recreation, which matters for an agent deciding whether to call it.

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 coverage is 100%, so gap, cellPadding, columnProperty, componentSetId, and componentSetName are already documented. The description adds useful interpretive context by explaining the grid semantics (columns = last property like State, rows = other properties like Type+Size), but it does not explain the fallback selection behavior or how columnProperty interacts with the auto-detect default beyond what the schema says. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Organize a component set') and goes further by stating the mechanism (figma.combineAsVariants), the visual treatment (purple dashed border), and the output structure (labeled grid inside a white container). This is clearly distinguishable from sibling tools like figjam_auto_arrange or the figma_set_* property setters.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use triggers are given: 'Use after creating variants, adding states (hover/disabled/pressed), or when component sets need cleanup.' It does not state when NOT to use it or name an alternative tool, so it falls short of a 5, but the context is clear enough for an agent to decide.

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