Skip to main content
Glama

figma_set_text

Idempotent

Set text content on any TEXT node in Figma using its node ID. Use this tool to target nested text nodes inside component instances that cannot be reached by property name. Get node IDs from figma_get_node_props.

Instructions

Set text content on a TEXT node directly by its node ID. Use this to target a specific nested text node inside a component instance when figma_set_component_text cannot reach it by property name. Get nested text node IDs from figma_get_node_props.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeIdYesNode ID of the TEXT node (can be a nested "I..." ID).
valueYesNew text content.
Behavior3/5

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

Annotations cover idempotentHint and non-destructive nature. Description adds that it directly sets text, but no additional behavior like side effects, permissions, or return values.

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?

Two efficient sentences, no wasted words, front-loaded with the main action.

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?

No output schema, so description should explain success/failure indication; it does not. Adequate for a simple mutation but could be more complete.

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 covers both parameters with full descriptions; description adds no extra meaning beyond repeating schema info.

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?

Clearly states it sets text on a TEXT node by node ID, and distinguishes from sibling figma_set_component_text by specifying the use case for nested nodes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says when to use this tool (when figma_set_component_text cannot reach by property name) and where to get node IDs (figma_get_node_props), but does not list alternatives or when not to use.

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/miapre/mimic-ai'

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