Skip to main content
Glama
OpenFigma MCP

OpenFigma MCP

get_reactions

Retrieves prototype reactions for specified Figma node IDs, enabling inspection of interactions and mapping them to FigJam connectors.

Instructions

Get the prototype reactions (interactions) of nodes. The reaction_to_connector_strategy prompt shows how to draw them as FigJam connectors with create_connections

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": {
      "nodeIds": "<nodeIds>"
    },
    "name": "get_reactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeIdsYesArray of node IDs to get reactions from

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.4/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 burden. It does disclose the payload concept (prototype reactions/interactions per node) and points to a companion prompt for interpretation, but says nothing about empty results, permissions, node-type restrictions, or the internal structure of a reaction (trigger/action).

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?

Two sentences, front-loaded with the core purpose and followed by a relevant pointer to a companion prompt. No filler, though the reference to a named prompt is somewhat opaque without prior context.

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

Completeness3/5

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

For a one-parameter read tool with no output schema, the description is adequate but thin: it never indicates what a returned reaction object contains or how multiple nodes' results are keyed. The companion-prompt pointer partially compensates.

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% for the single required nodeIds array, so the schema already documents the parameter fully. The description only implies plurality via "of nodes" and adds no format or batching semantics beyond the schema.

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?

"Get the prototype reactions (interactions) of nodes" names a specific verb and resource, and the parenthetical clarifies what a 'reaction' means. It is distinguishable from siblings like get_node_info or get_annotations by virtue of returning interaction data, though it stops short of stating how it differs from those explicitly.

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?

The second sentence gives downstream guidance: the reaction_to_connector_strategy prompt shows how to render the results via create_connections. That is a useful usage hint, but there is no statement of when to call this versus get_node_info or when not to call it (e.g., for non-prototype nodes).

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