Skip to main content
Glama

add_text

Insert a text node into a specified Figma frame with optional position, size, color, and font settings for quick design annotations and labels.

Instructions

Add a text node.

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

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
textYes
colorNo
widthNo
frameIdYes
fontSizeNo
fontWeightNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.8/5.0
Behavior1/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 discloses nothing. It does not state that frameId targets a container, what defaults apply to unset styling parameters, whether the call mutates the document irreversibly, whether it returns the new node identifier, or what permissions are needed.

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

Conciseness2/5

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

The single four-word sentence contains no filler, but its brevity reflects severe under-specification rather than economy. There is nothing front-loaded beyond a restatement of the tool name.

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

Completeness1/5

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

For an 8-parameter mutation tool with no annotations and no output schema, the description is grossly inadequate. An agent would have to guess placement semantics, styling defaults, and the return value before it could invoke this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 8 parameters with 0% schema description coverage, and the description mentions none of them - not the required frameId and text, nor the optional x/y position, width, color, fontSize, and fontWeight. Every parameter's meaning, units, and defaults are left entirely undocumented.

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

Purpose3/5

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

"Add a text node" names a concrete verb (add) and resource (text node), so the basic action is guessable. But it gives no scope or effect detail - nothing about where the node lands, what it looks like, or how it differs from siblings such as update_text or add_chart - leaving the agent to infer everything from the name alone.

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 prerequisites, and no mention of alternatives or exclusions. An agent cannot tell from this sentence whether add_text should be chosen over update_text for an existing node or how it relates to frame creation.

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