Skip to main content
Glama
figma-mcp-v2

figma-mcp-v2

by LukasAnda

Create component / variant set

figma_create_component

Convert a Figma layer into a component or combine multiple components into a variant set, enabling reusable design elements and organized component variants.

Instructions

Turns a layer into a component (node_id), or combines several components into a variant set (combine_node_ids).

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

Input Schema

NameRequiredDescriptionDefault
urlNoFigma link (or file key) of the file to edit. Needed only when the plugin is open in more than one file.
nameNo
node_idNo
combine_node_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false, and openWorld=true. The description adds real value beyond them by making clear this is an in-place conversion of an existing layer rather than creating a new node from scratch, but it says nothing about what happens to the source layer, whether repeated calls create duplicates (relevant given idempotentHint=false), or required plugin/file context.

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?

A single sentence, front-loaded with the primary action, with the second mode following immediately and each parameter named in context. No filler.

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 4-parameter mutation tool with no output schema and no annotations covering side effects, the description covers the core branch logic but omits the meaning of `name`, the either/or relationship between node_id and combine_node_ids, and any indication of what is returned (presumably the new component's node id). Adequate but with clear gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25% (just `url`), so the description has to carry weight; it does explain the semantics of node_id and combine_node_ids, which are the two decisive parameters. The `name` parameter remains completely unexplained in both schema and description, and mutual exclusivity of the two id parameters is left unstated.

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 names a specific verb+resource and cleanly separates two operations: converting a layer into a component versus merging components into a variant set. It does not, however, differentiate itself from nearby siblings such as figma_create_node or figma_create_theme_variant, so an agent must still infer which creator to pick.

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 parenthetical mapping of node_id and combine_node_ids to the two modes implies which parameter selects which behavior, which is useful. But there is no explicit statement that the two are alternatives, no 'use this instead of X' guidance, and no prerequisites (e.g. plugin open in a file, node must be a frame/group).

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