Skip to main content
Glama

monorail_push

Push deck IR to create or replace Figma slides for bootstrapping new decks or bulk updates. Validates IR before sending and returns warnings for constraint violations.

Instructions

Push IR to create/replace slides in Figma. Use for bootstrapping a new deck or bulk updates. For surgical edits to existing content, prefer pull → patch. Validates IR before sending (returns warnings for constraint violations).

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": {
      "ir": "<ir>"
    },
    "name": "monorail_push"
  }
}

Input Schema

NameRequiredDescriptionDefault
irYesThe deck IR as a JSON string. Each slide needs: id, archetype (title/section/big-idea/bullets/two-column/quote/chart/timeline/comparison/summary), status (draft/locked/stub), and content object.
modeNoHow to handle existing slides. 'append' (default) adds new slides after existing ones. 'replace' deletes ALL existing slides first, then creates new ones. Use 'replace' for full deck rewrites.
autoApplyNoIf true (default), automatically render the slides in Figma. If false, just populates the plugin input field.
start_indexNoPosition to insert new slides (0-based). Only applies in 'append' mode. If omitted, appends to end.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose that the IR is validated before sending and that warnings are returned for constraint violations, which is useful pre-call information. It omits other behavioral facts an agent needs, such as permissions, whether 'replace' deletion is recoverable, and side effects on the Figma document.

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?

Four short sentences, front-loaded with the action, then usage, then the alternative, then the validation behavior. Every sentence adds distinct information and nothing is repeated from the name.

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?

With a fully documented 4-parameter schema and no output schema, the description covers purpose, routing, and return behavior (warnings). The main remaining gap is that the destructive nature of 'replace' is only conveyed through the schema, not the prose, on a tool with no annotations.

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 every parameter including the mode enum and start_index is already documented in the schema. The description adds no syntax, format, or default information beyond what the schema provides, so the baseline of 3 applies.

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 description gives a specific verb and resource ("Push IR to create/replace slides in Figma") and names the contrasting workflow ("pull → patch"). An agent can distinguish this bulk-write tool from monorail_pull and monorail_patch without opening any schema.

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 states explicit use cases (bootstrapping a new deck, bulk updates) and an explicit exclusion with the alternative to pick instead ("For surgical edits to existing content, prefer pull → patch"). The schema reinforces this with per-mode guidance on when to use 'replace'.

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