Skip to main content
Glama
open-figma-mcp

open-figma-mcp

by RHK1335

figma_create_component

figma_create_component

Converts a specified Figma frame node into a reusable component, with an optional name field to label the created component.

Instructions

Convert a frame node into a component.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "nodeId": "<nodeId>"
    },
    "name": "figma_create_component"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
nodeIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and does not meet it. It does not state that this is a mutating operation on the Figma document, whether the operation is reversible, what happens to the frame's children or existing instances, or whether write/edit permission on the file is required.

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

Conciseness3/5

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

A single front-loaded sentence with zero filler, which is structurally clean. But the brevity comes at the cost of specification rather than being earned conciseness — there is only one clause of substance for a document-mutating tool.

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?

Wrong anchor — recalibrated below. For a two-parameter mutating tool with no annotations and no output schema, the description is thin: it omits mutation semantics, prerequisite node type requirements, and one of the two parameters. An agent can guess how to call it but cannot predict side effects.

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

Parameters2/5

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

Schema coverage is 0%, so the description must compensate, and it only partially does: 'a frame node' implicitly constrains nodeId to a frame-type node, which is genuinely useful. However, the optional 'name' parameter is never mentioned, and no format hints (node key vs. id) are given for 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 uses a specific verb ('convert') applied to concrete resources ('a frame node' into 'a component'), which is more precise than a bare 'create'. It implicitly distinguishes itself from figma_create_component_set and figma_create_frame by requiring an existing frame node as input rather than creating new content, though it does not name any sibling explicitly.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no mention of prerequisites (e.g. the node must already be a frame, not a group, instance, or text node), and no routing to alternatives such as figma_create_component_set or figma_clone_node. The agent must infer the applicable context entirely.

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