Skip to main content
Glama

render_deck

Start a background MP4 render of a deck after deck_doctor checks pass, then poll render progress and run Media QA.

Instructions

Start a full MP4 render in the background. Run deck_doctor first: this tool refuses when deck_doctor reports errors, or when out/.mp4 exists and overwrite is false. Returns {started, pid, log, mp4, warnings, estimates}. Poll progress with render_status, then run run_media_qa.

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>"
    },
    "name": "render_deck"
  }
}

Input Schema

NameRequiredDescriptionDefault
deckYesPath to the deck JSON file to render (e.g. decks/radar-pro.json)
skip_ttsNoReuse existing WAV files instead of regenerating TTS
overwriteNoAllow overwriting an existing out/<slug>.mp4 file when true

Output Schema

NameRequiredDescriptionDefault
logYes
mp4Yes
pidYes
noteNo
startedYes
warningsNo
estimatesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.5
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "estimates": {
      +      "type": "object"
      +    },
      +    "log": {
      +      "type": "string"
      +    },
      +    "mp4": {
      +      "type": "string"
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "pid": {
      +      "type": "integer"
      +    },
      +    "started": {
      +      "type": "boolean"
      +    },
      +    "warnings": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "started",
      +    "pid",
      +    "log",
      +    "mp4"
      +  ],
      +  "type": "object"
      +}
  2. Changed3 schema fields changedv0.1.1
    • addedInput schema / properties / deck / description
      Added value: +"Path to the deck JSON file to render (e.g. decks/radar-pro.json)"
    • addedInput schema / properties / overwrite / description
      Added value: +"Allow overwriting an existing out/<slug>.mp4 file when true"
    • changedInput schema / properties / skip_tts / description
      Previous value: -"Reuse existing WAV files"New value: +"Reuse existing WAV files instead of regenerating TTS"
  3. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true), and the description adds behavior annotations cannot express: the operation runs in the background and returns a pid, it refuses on doctor errors or a pre-existing output file, and it returns a warnings list. The default overwrite=false is consistent with destructiveHint=false, so nothing contradicts the structured data.

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 sentences, each earning its place: action and backgrounding first, gating conditions second, return shape and follow-up workflow third. No filler and no restating of the tool name or title.

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 background, side-effectful render tool this covers preconditions, failure modes, async polling, the returned object keys, and the required QA follow-up; the output schema means return values need no deeper prose. Nothing an agent needs in order to call this correctly is missing.

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 deck, skip_tts, and overwrite; per the baseline this yields a 3. The description does contribute the consequence of overwrite being false (a hard refusal when out/<slug>.mp4 exists), which sharpens that one flag, but it says nothing new about the required deck path or skip_tts TTS reuse behavior.

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 opens with a specific verb and resource: 'Start a full MP4 render in the background.' That scope clearly separates it from render_thumbnail (stills thumbnail) and preview_stills (stills), both of which are visible sibling tools with narrower output. The agent knows immediately what artifact this produces.

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 names the mandatory precondition (run deck_doctor first), states the two exact refusal conditions, and prescribes the follow-up sequence: poll with render_status, then run run_media_qa. That is explicit when-to-use, when-it-fails, and what-to-do-next routing rather than implied guidance.

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