Skip to main content
Glama
OpenFigma MCP

OpenFigma MCP

set_multiple_annotations

Annotate multiple Figma nodes in one call, applying markdown labels to each specified node while replacing existing annotations on that node.

Instructions

Annotate several nodes, one after another; each annotation replaces those on its 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": {
      "nodeId": "<nodeId>",
      "annotations": "<annotations>"
    },
    "name": "set_multiple_annotations"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeIdYesThe node they sit in; only reported back
annotationsYesOne annotation per node

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the single most important behavioral trait: each annotation replaces the existing ones on its node, so the operation is destructive per node. It omits execution order/atomicity, permission requirements, and what is returned.

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 clause with no filler, and the replace behavior is attached directly to the action. Slight ambiguity in 'those' (existing annotations on that node) keeps it from a 5.

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?

For a two-parameter batch mutation with a fully described schema and no output schema, the description covers the essential destructive trait. Remaining gaps (ordering, failure handling, the redundant root nodeId) are secondary rather than blocking.

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 description coverage is 100%, so both parameters and all nested fields are documented in the schema itself; the baseline is 3. The description adds the overwrite semantics of the annotations array but does not explain the oddly redundant top-level nodeId (described in schema as 'only reported back').

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?

The description gives a specific verb and resource ('Annotate several nodes') and makes the batch nature explicit ('one after another'), so the agent can tell it apart from a single-node annotate call. It stops short of naming the singular sibling (set_annotation) explicitly, which is what a 5 would require.

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: nothing says to prefer this over set_annotation for multiple nodes, nor any prerequisite such as the node needing to exist or be on the current page. Batch usage is only weakly implied by 'several nodes'.

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