Skip to main content
Glama

write_props

Destructive

Edit text and properties of existing Figma nodes in one batch, producing a single undo step and returning only the changed nodes.

Instructions

Change texts and properties of existing nodes, several in one call (one undo step). Answers with the changed nodes only. Needs the kit bridge plugin running in that file (read_bridge).

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": {
      "file": "<file>",
      "edits": "<edits>"
    },
    "name": "write_props"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesFigma file URL or key
editsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so safety is covered by structured data. The description adds real context beyond that: all edits collapse into a single undo step (atomicity), the response contains only changed nodes, and the kit bridge plugin must be running in the target file, which is a genuine operational prerequisite not in the annotations.

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?

Three short, front-loaded sentences with no filler; the core operation comes first, then the return shape, then the prerequisite. The telegraphic fragment style ("read_bridge" dropped in without a verb) costs a little clarity but not much space.

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

Completeness4/5

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

With no output schema, the description usefully states that only changed nodes come back, and it discloses the plugin dependency for a mutation tool. It leaves out error behavior and whether properties can be unset, which would matter for a destructive multi-edit tool, but the essentials for calling it correctly are present.

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 50%, but the nested props description in the schema already enumerates the editable property list exhaustively, including sizing behavior under auto layout. The description adds nothing about parameter format or semantics beyond the phrase "texts and properties," so it neither compensates for the coverage gap nor repeats the schema.

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?

States a specific verb and resource ("Change texts and properties of existing nodes") and scopes it to existing nodes, which distinguishes it from creation/deletion siblings. The batch semantic "several in one call (one undo step)" further sharpens what this tool is.

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?

Usage is implied rather than stated: the agent can infer this is the edit path for existing nodes and that multiple edits should be batched, and a hard prerequisite is named ("Needs the kit bridge plugin running"). However, there is no explicit when-not guidance, no pointer to which sibling to use for creating nodes, and the terse "read_bridge" reference is left for the agent to resolve.

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