Skip to main content
Glama
OpenFigma MCP

OpenFigma MCP

get_annotations

Retrieve annotations for a Figma node and its descendants, optionally including the document's annotation categories.

Instructions

Get the annotations on a node and its descendants

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>"
    },
    "name": "get_annotations"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeIdYesThe node to read
includeCategoriesNoAlso return the document's annotation categories (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose the non-obvious recursive traversal (descendants included), which is real behavioral value beyond the schema. It omits what happens for nodes with no annotations, whether results are deduplicated or grouped by source node, and any permission/auth prerequisites.

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 sentence with no filler; the scope qualifier is placed where it matters. It is efficient, though its brevity is close to under-specification for a tool with no output schema.

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?

With no output schema and no annotations, the description should say something about the returned annotation objects (shape, grouping, inheritance) and it says nothing. For a read tool whose only real deliverable is return data, that leaves a material gap.

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 100%, so both nodeId and includeCategories are already documented, and the description adds little beyond reinforcing that the read is recursive. It does not clarify what annotation categories are or why one would set includeCategories to false.

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?

States a specific verb+resource (get annotations) and adds meaningful scope: the node 'and its descendants', so an agent knows reads are recursive. It does not name or contrast with the write counterpart set_multiple_annotations, so it stops short of full sibling differentiation.

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 only implied by the read-style name and the recursive scope; there is no explicit when-to-use, when-not-to-use, or named alternative. The 'and its descendants' clause does hint at the traversal cost/behavior an agent should expect when picking this over a single-node read.

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