Skip to main content
Glama

monorail_motion

Apply, inspect, or clear reveal animations on Figma design nodes, and build step-by-step slide reveals with native transitions so existing slides get animated builds.

Instructions

Reveals and builds with Figma's native animation. Actions: 'apply' reveals to existing nodes ([{target, step|offset, duration, style, props}]) — in the Design editor this applies Motion object animations on one slide; in Figma Slides (where the Plugin API exposes no object animations) it builds one slide per step with a Smart Animate transition, cloning the slide so persisting layers hold still and arriving ones fade in. 'list' the Motion animation styles (Design only); 'inspect' animations and slide transitions on slides/nodes; 'clear' Motion animations from nodes. Prefer the 'reveal' field on monorail_primitives ops when building from scratch; use this tool for slides that already exist.

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": {
      "action": "<action>"
    },
    "name": "monorail_motion"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesWhat to do.
revealsNoFor apply: one entry per node to animate.
targetsNoFor inspect/clear: slide IDs (their children are used) or node IDs.
build_modeNoHow reveals are realised. 'auto' (default): Motion object animations where the editor exposes them (Design); in Figma Slides (no object-animation API) one slide with a transparent frame per build step named 'Reveal N', so the presenter adds one Fade in / On click object animation per frame in the Animate panel. 'groups' forces that. 'slides' instead clones one slide per build state with a native SMART_ANIMATE transition (no manual step, but N slides per scene). 'motion' forces Motion and warns if unavailable.
transitionNoSlide transition between step slides (default SMART_ANIMATE — persisting layers hold still, arriving ones fade in). Only used when reveals become step slides.
step_secondsNoSeconds between build steps (default 1.5).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and discloses platform-specific behavior (Motion objects in Design; slide-per-step with Smart Animate in Slides), the cloning side effect, and the manual step needed for 'groups'. It omits safety details such as whether 'clear' is reversible or what happens to existing animations, which keeps it from a 5.

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 dense but front-loads purpose and actions before guidance, and every clause conveys necessary behavior. The action list and guidance run together in a long sentence, though semicolons provide structure and there is no filler.

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

Completeness5/5

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

For a multi-action tool with no output schema, the description covers all four actions, the platform-dependent realization of reveals, the build_mode options, and when to use the sibling primitive. It gives an agent enough context to choose the action and anticipate side effects without needing return-value details.

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 the schema already defines all six parameters including detailed build_mode and transition semantics. The description summarizes the reveals array and reinforces step-slide transition behavior, but adds little meaning beyond what the schema already provides; baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence states a specific verb and resource ('Reveals and builds with Figma's native animation') and enumerates the four actions. It explicitly distinguishes from monorail_primitives by directing building-from-scratch use there and reserving this tool for slides that already exist.

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

Usage Guidelines5/5

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

It gives an explicit alternative and condition: prefer the 'reveal' field on monorail_primitives for building from scratch, and use this tool for existing slides. It also scopes 'list' to Design only and explains the Design vs Slides execution differences, leaving little ambiguity about when each action applies.

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