Skip to main content
Glama
figma-forge-mcp

figma-forge-mcp

by TBlopT

set_reactions

Adds prototype interactions such as click, hover, and timeout reactions with navigation, animation, and easing settings to Figma nodes or component variants.

Instructions

Add prototype interactions (real animation in Present mode). items: [{ nodeId, append?, reactions: [{ on: click|hover|press|timeout|enter|leave, timeout (s), to: destinationNodeId, nav: CHANGE_TO|NAVIGATE|SCROLL_TO|OVERLAY|BACK, anim: SMART_ANIMATE|DISSOLVE|SCROLL_ANIMATE|INSTANT, duration (s), easing: [x1,y1,x2,y2] | EASE_OUT | EASE_IN_AND_OUT… }] }] Use CHANGE_TO between variants of a component set for micro-interactions (hover, toggles, multi-step animations).

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": {
      "items": "<items>"
    },
    "name": "set_reactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/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. It usefully discloses that interactions only render as animation in Present mode, which is real behavioral context, but it never says whether existing reactions are replaced or merged, what happens on invalid nodeIds, or what the response is.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded purpose sentence followed by a dense payload spec and one targeted usage rule; no filler or repetition. The terse bracket notation is information-dense rather than padded, and every element it lists maps to a payload field an agent must supply.

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?

No annotations and no output schema, so the description must supply everything, and for a one-parameter tool whose single parameter is a complex nested array it does provide the trigger/nav/anim vocabulary and units. The remaining gap is reaction replacement versus accumulation and error behavior, which an agent would still have to discover.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the schema is only 'items: array', so the description must compensate and largely does: it spells out the nested shape, the trigger enum (click|hover|press|timeout|enter|leave), nav enum, animation enum, seconds units for timeout/duration, and cubic-bezier easing format. It stops short of explaining semantics for fields like append and optional vs required inner keys.

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 and resource: 'Add prototype interactions', with a scoping note that these are real animations shown in Present mode. That distinguishes it from the read-side sibling get_reactions, though it never names that sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete usage context: use CHANGE_TO between variants of a component set for micro-interactions like hover, toggles and multi-step animations. It does not state when to avoid this tool or name alternatives (e.g. get_reactions for reading, or which set_* tool to use for other interaction types).

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