Skip to main content
Glama

monorail_primitives

Build custom slide layouts from scratch with primitive operations—frames, text, and shapes—without archetypes. Chain nested elements and reveal steps for precise slide design.

Instructions

Low-level design tool for creating slide content from scratch. Use this when you want to design a slide layout without using archetypes. Provide an array of operations (frames, text, shapes) that will be applied in sequence. Each operation can reference earlier operations by name for nesting.

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": {
      "operations": "<operations>"
    },
    "name": "monorail_primitives"
  }
}

Input Schema

NameRequiredDescriptionDefault
slide_idNoOptional Figma node ID of an existing slide to add elements to. If omitted, creates a new slide.
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.
operationsYesArray of primitive operations to apply in sequence
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 for ops that carry 'reveal' (default 1.5). Step N lands at N × step_seconds on the slide's timeline.
min_font_sizeNoWarning threshold for text size, default 24 (presentation body copy). Diagram labels legitimately sit at 12-20px; set this to stop dozens of expected warnings from burying real ones.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden of behavioral disclosure. It usefully states that operations are applied in sequence and that later operations can nest under earlier named ones — real context beyond the schema — but never says what the call produces (new slide or additions to an existing one), what happens on partial failure mid-sequence, or whether repeated calls are additive and non-destructive.

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?

Three short sentences, front-loaded with purpose, then usage condition, then the operational model. Nothing is repeated from the schema and no sentence is filler.

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?

For a high-complexity tool with a very large nested schema, the description correctly states only the framing an agent needs and lets the schema carry parameter detail. The remaining gap is outcome disclosure — what is created or altered on the slide and how a failed mid-sequence operation leaves the deck.

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%, so the schema already documents every parameter and nested op field in depth; the baseline is therefore 3. The description adds only a coarse taxonomy of operation kinds ('frames, text, shapes') and the name-reference nesting rule, which is a modest supplement to far richer per-field documentation in 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?

The description names a specific verb and resource ('creating slide content from scratch', 'design a slide layout') and contrasts the approach with archetypes, which lets an agent separate it from component/archetype-based siblings. It stops short of naming the sibling that provides the archetype path, so the differentiation is implied rather than explicit.

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?

'Use this when you want to design a slide layout without using archetypes' gives a clear selecting condition, and the sequencing/nesting sentence tells the agent how work is composed. There is no explicit when-not guidance, no mention of an alternative tool by name, and no statement about whether it should be preferred over other creation paths.

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