Skip to main content
Glama

render_slide_clip

Idempotent

Render a single slide as a short MP4 or GIF to inspect motion, 3D rotation, transitions, or karaoke timing without rendering the whole deck.

Instructions

Render a single slide into a short animated video clip (MP4 or palette-optimized GIF) to inspect motion, 3D rotation, transitions, or karaoke timing without rendering the whole deck. Requires Node.js + Remotion (and FFmpeg for GIF). Use preview_stills for a faster static PNG check, or render_deck for the full video. Writes to out/_<slide_id>[_draft].mp4 (or .gif), overwriting any prior clip for that slide.

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": {
      "deck": "<deck>",
      "slide_id": "<slide_id>"
    },
    "name": "render_slide_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
deckYesPath to the deck JSON file inside decks/ (e.g. decks/radar-pro.json)
draftNoWhen true (default), render at fast draft resolution; when false, render full resolution
formatNoOutput clip format: mp4 (default) or gif (two-pass FFmpeg palette GIF)mp4
gif_fpsNoFrame rate for GIF output (ignored when format=mp4)
skip_ttsNoReuse existing timeline/WAV files instead of regenerating TTS
slide_idYesExact slide id to render (e.g. s3)
gif_widthNoWidth in pixels for GIF output, aspect kept (ignored when format=mp4)

Output Schema

NameRequiredDescriptionDefault
okYes
pathYes
slugYes
bytesYes
formatYes
mp4_pathYes
slide_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.12

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing runtime prerequisites (Node.js + Remotion, FFmpeg for GIF), the exact output path convention with the _draft suffix, and that prior clips for that slide are overwritten. The overwrite note is the kind of side-effect detail annotations do not convey.

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 dense sentences, front-loaded with the verb and purpose, then alternatives, then prerequisites and output behavior. No filler or repetition.

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?

An output schema exists so return values need no explanation; the description still covers prerequisites, output location, overwrite behavior, and alternatives. Nothing an agent needs to call it correctly is missing.

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 100%, so the baseline is 3, but the description adds real value by tying the [_draft] filename suffix to the draft flag and noting the two output formats. It still leaves gif_fps/gif_width/skip_tts semantics entirely to the schema.

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?

States a specific verb (render) and resource (a single slide as a short animated MP4/GIF clip) plus the concrete purpose (inspecting motion, 3D rotation, transitions, karaoke timing) without rendering the whole deck. This clearly separates it from deck-level and static siblings.

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?

Explicitly routes the agent: 'Use preview_stills for a faster static PNG check, or render_deck for the full video,' and states the condition that selects this tool (need to inspect motion/timing on one slide). Both the when and the alternatives are named.

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