Skip to main content
Glama
edgen-design

Talk to Figma MCP

by edgen-design

set_multiple_annotations

Apply multiple annotations to Figma nodes in one request. Provide node IDs, labels, and optional categories to add or update several annotations at once.

Instructions

Set multiple annotations parallelly in a node

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeIdYesThe ID of the node containing the elements to annotate
annotationsYesArray of annotations to apply
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It adds no behavioral context beyond the bare action: no mention that it can update existing annotations (via annotationId), no detail on whether annotations are added or replaced, no concurrency semantics despite saying 'parallelly', and no side effects. The term 'parallelly' hints at execution behavior but is too vague to be informative.

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?

The description is a single concise sentence with no fluff. It is front-loaded with the verb and resource. However, 'parallelly' is slightly awkward and could be replaced with a clearer adverb like 'in parallel', but overall it is efficient and appropriately sized.

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

Completeness2/5

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

Despite having only two top-level parameters, the 'annotations' array is a nested structure with multiple properties and optional update semantics. The description does not explain that annotationId is for updating existing annotations, nor does it clarify the relationship between the container node and target nodes. With no output schema or annotations, the description leaves significant gaps for an agent to use the tool correctly.

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% for both parameters, so baseline is 3. The description does not elaborate on the 'annotations' array structure or explain how the top-level nodeId differs from the per-item nodeId. It only adds 'parallelly', which weakly relates to the array parameter. The schema already provides adequate property descriptions, so the description adds minimal extra value.

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 clearly identifies the action ('Set') and the resource ('multiple annotations'), and the phrase 'in a node' gives a scope. It distinguishes from the sibling 'set_annotation' by emphasizing 'multiple', so the agent can infer this is the batch variant. However, 'parallelly' is atypical phrasing and the exact relationship between the top-level node and the per-annotation nodeId could be clearer.

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?

The description provides no explicit guidance on when to use this tool versus the singular 'set_annotation' or other annotation-related siblings. It does not state that this tool should be used when setting multiple annotations in a single call, nor does it mention any alternatives or exclusions. The phrase 'multiple' is the only implicit hint, but that is not enough for decision-making.

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/edgen-design/edgen-figma-to-code-mcp'

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