Skip to main content
Glama

create_text

Add text content as a TEXT node to a Figma canvas, with optional positioning and sizing within a specified parent or current page.

Instructions

Create a TEXT node with the given characters (default font loaded automatically), optionally sized/positioned and appended to a parent (else the current page). Returns { ok, nodeId, name, type }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNo
yNo
fontSizeNo
parentIdNoContainer node id; omit for current page
charactersYesText content
Behavior4/5

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

Annotations already indicate a write operation. The description adds that the default font is loaded automatically and the node is appended to a parent or current page, providing context beyond the safety profile. However, potential error cases (e.g., font loading failure) are not disclosed.

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

Conciseness5/5

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

The description is a single sentence with clear structure: action, parameters, optional behavior, return value. No unnecessary words.

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?

The description covers the core function and return value but lacks details on coordinate system, units, default values for x, y, fontSize, and error handling. Given the tool's modest complexity, it is adequate but has clear gaps.

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?

Schema coverage is only 40% (2 of 5 parameters have descriptions). The description adds that x, y, fontSize are for 'sized/positioned' but does not provide ranges or defaults. It clarifies that characters are required and default font is used, adding some value but not fully compensating for the low schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it creates a TEXT node with given characters, default font auto-loaded, optional sizing/positioning, and appending to a parent or current page. This distinguishes it from siblings like create_rectangle or set_text.

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?

The description implies use for creating a new text node but does not explicitly state when to use alternatives like set_text or set_text_properties. No usage conditions or exclusions are given.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/awdr74100/figwright'

If you have feedback or need assistance with the MCP directory API, please join our Discord server