Skip to main content
Glama
figma-mcp-v2

figma-mcp-v2

by LukasAnda

Create a layer

figma_create_node

Creates Figma layers such as frames, rectangles, text, components, and sections—optionally inside a parent with auto layout, fills, and other properties—and returns the new node ID.

Instructions

Creates a FRAME, RECTANGLE, ELLIPSE, LINE, POLYGON, STAR, COMPONENT, SECTION or TEXT layer, optionally inside a parent and with properties (auto layout, fills, text…). Returns its id.

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": {
      "type": "<type>"
    },
    "name": "figma_create_node"
  }
}

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.
nameNo
typeYes
indexNoPosition among the parent's children
propsNoPlugin API properties to set, e.g. {"fills":"#FF5500","cornerRadius":8,"layoutMode":"VERTICAL","itemSpacing":12,"padding":[16,24],"primaryAxisAlignItems":"CENTER","layoutSizingHorizontal":"FILL","opacity":0.8,"effects":[{"type":"DROP_SHADOW","color":"#00000040","offset":{"x":0,"y":4},"radius":12,"spread":0,"visible":true,"blendMode":"NORMAL"}]}. Text: {"characters":"Hi","fontSize":16,"fontFamily":"Inter","fontStyle":"Bold","lineHeight":24}. Colors accept "#RRGGBB(AA)", "rgba()", or {r,g,b,a}.
widthNo
heightNo
parent_idNoParent frame/group/page id; defaults to the current page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-idempotent, non-destructive, open-world mutation, so the safety profile is covered. The description adds genuinely useful behavior ('Returns its id') and confirms parent nesting, but says nothing about side effects, whether the node is appended by default, or constraints such as font availability for TEXT layers.

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?

A single front-loaded sentence with the return value last; nothing is padded or redundant in prose. The type enumeration duplicates the schema enum, which is mildly wasteful but aids scanning.

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?

Given 10 parameters, a nested free-form props object, and no output schema, the description is thinner than the tool's complexity warrants. It does state the return value (id), which partly offsets the missing output schema, but the coordinate/geometry and props-merging semantics an agent needs to call it correctly are absent.

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 description coverage is only 40% across 10 parameters, so the description should compensate, yet it only restates 'parent' and 'properties' — both already documented in the schema. Nothing is said about x/y coordinate semantics, how width/height interact with the props object, or how index positioning behaves, leaving half the parameters undocumented anywhere.

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?

States a specific verb ('Creates') and resource ('layer'), and enumerates the exact node types supported, so an agent knows precisely what object comes back (a new node with an id). It does not differentiate from close siblings such as figma_create_component, figma_create_instance, or figma_create_from_svg, so the agent must infer which creation path applies.

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 explicit when-to-use or when-not-to-use guidance, and no alternatives are named. The only cue is the word 'optionally' for parent and properties, leaving the agent to guess whether a component instance should go through figma_create_instance or whether SVG content belongs in figma_create_from_svg.

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