Skip to main content
Glama
FigeloMCP
by mmonzera

create_text

Create editable Figma text nodes with font, size, color, alignment, and optional wrapping width for programmatic design updates.

Instructions

Create a text node with font, size, color, and alignment.

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

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
nameNo
widthNoOptional fixed width for text wrapping
channelNoOptional Figma document channel, fileKey, or documentName when multiple Figma files are open
fillHexNoText color hex e.g. #111827
fontSizeNo
parentIdNo
fontStyleNoFont style e.g. Regular, Medium, SemiBold, Bold
charactersYesText content
fontFamilyNoFont family (default Inter)
textAlignHorizontalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/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 never says whether the node is appended to the current page or requires parentId, whether the call returns a node id, or what happens if fontFamily is unavailable.

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 verb and resource leading, and no filler. It is arguably too terse for a 12-parameter mutation tool, but nothing in it is wasted.

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 write operation with no annotations and no output schema, a one-sentence description leaves too much open: placement behavior, required context, defaults, and return value are all unstated.

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?

The description names four concepts (font, size, color, alignment) that map onto fontFamily/fontStyle, fontSize, fillHex, and textAlignHorizontal, giving a coarse mental model of the payload. It adds no syntax or format detail beyond the schema and says nothing about positional params (x, y), parentId, or channel, so with only 50% coverage it does not compensate for the gaps.

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") plus the dimensions it covers (font, size, color, alignment), which distinguishes it from create_rectangle/create_frame siblings by resource type. It does not, however, distinguish itself from batch_create, which could plausibly also create text.

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 guidance, no mention of the alternative batch_create for multiple nodes, and no stated prerequisites such as needing an open Figma document or a parent frame. The agent must infer all of this from the sibling list.

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