Skip to main content
Glama
figma-mcp-v2

figma-mcp-v2

by LukasAnda

Insert a component instance

figma_create_instance

Creates a Figma component instance from a local component ID or published library key, optionally applying properties or variant values. Use it to place reusable UI elements into a frame, group, or page.

Instructions

Creates an instance of a local component (component_id; a component set uses its default variant) or a library component (component_key), optionally setting its properties/variant.

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

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
urlNoFigma link (or file key) of the file to edit. Needed only when the plugin is open in more than one file.
indexNo
parent_idNoParent frame/group/page id; defaults to the current page
propertiesNoe.g. {"Size":"Large","Label#12:0":"Buy"}
component_idNo
component_keyNoPublished component key (from figma_get_components)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare a non-read-only, non-idempotent, non-destructive, open-world write, so the safety profile is covered. The description adds one genuinely useful behavioral fact — that a component set resolves to its default variant, and that properties/variants are applied on creation. It omits whether the call fails for an unpublished key, whether repeated calls create duplicates, and what the caller receives (presumably the new node id), which matters for a write tool with no output schema.

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?

One dense, front-loaded sentence: the action comes first, then the two identifier modes, then the optional properties. Efficient with no filler, though the stacked parentheticals make it slightly harder to parse than a two-sentence split would be.

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 an 8-parameter write tool with no output schema, the definition covers identity/sourcing and overrides but leaves placement (x, y, index, parent_id default) and the result of the call unaddressed. Safety behavior is carried by the annotations, so what remains missing is positional and return-value guidance rather than a fatal gap.

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?

With 50% schema coverage across 8 parameters, the description compensates for the two most ambiguous ones by explaining component_id vs component_key, and it clarifies that properties carries variant/property overrides. The remaining parameters (x, y, index, url, parent_id) are left entirely to the schema, and placement semantics — what happens to x/y if omitted — are unexplained.

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 ('Creates an instance of a local component... or a library component') and even splits the two sourcing modes, so an agent can tell this apart from generic node creation. It stops short of naming any sibling such as figma_create_node or figma_clone_node, so the differentiation is implied rather than stated.

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: the description's real guidance is about which identifier to supply (component_id for local, component_key for published library components), which is parameter selection rather than tool selection. It never says when to insert an instance versus cloning a node or placing a library component via other means, and there are no exclusions or prerequisites.

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