Skip to main content
Glama
Figma Vector MCP

Figma Vector MCP

by workingmodel

create_text

Create editable text nodes on a Figma canvas with position, font, fill, and parent options; set a fixed width to enable text wrapping while height grows automatically.

Instructions

Create a text node on the Figma canvas. Use width to fix the column width and enable text wrapping.

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": {
      "text": "<text>"
    },
    "name": "create_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
nameNoLayer name
textYesText content
widthNoFixed column width in px — enables text wrapping. Height grows automatically unless height is also set.
heightNoFixed height in px — clips or scrolls content. Only meaningful when width is also set.
fontSizeNo
parentIdNoParent frame/group node ID
fillColorNo
fontStyleNoRegular
fontFamilyNoInter
textAutoResizeNoResize behaviour. HEIGHT (default when width set): fix width, grow height. NONE: fixed box. WIDTH_AND_HEIGHT: auto-size both (default).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and falls short: it does not state that the result is a new node (and whether an ID is returned), what coordinate system x/y use or their defaults, whether positioning is relative to parentId, or whether fonts must be loaded first. The width/wrapping note merely restates what the width property description already says.

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 sentences, front-loaded with purpose, with no filler. It is efficient, though the second sentence spends words on information the schema already conveys, so it is not maximally economical.

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

Completeness2/5

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

For a 12-parameter mutation tool with no annotations, no output schema, nested objects, and only 50% schema coverage, the description is far too thin. An agent gets no information about return values, positioning semantics, or font prerequisites — exactly the gaps structured fields leave open.

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 50% across 12 parameters, so the description needs to compensate and does not. The single parameter it discusses (width) is already fully documented in the schema, and it says nothing about textAutoResize, fillColor, parentId, or how fontSize/fontFamily defaults interact with the required 'text' field.

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 and resource: 'Create a text node on the Figma canvas.' An agent can distinguish this from create_rectangle, create_frame, or set_text_style without opening a schema. It stops short of explicitly naming when to prefer a sibling, but the resource is unambiguous.

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 — nothing about when to create a standalone text node versus using set_text_style, or about prerequisites such as font availability (despite get_available_fonts being a sibling). The only guidance is a conditional tip about the width parameter.

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