Skip to main content
Glama

Preview an episode render

preview_render
Read-only

What render_episode would put together, without rendering: the clips in order with their lengths, the music, the subtitle cues and timings, what is missing or stale. Free.

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": {
      "episode_id": "<episode_id>"
    },
    "name": "preview_render"
  }
}

Input Schema

NameRequiredDescriptionDefault
musicNoMix the episode's selected music under the clips (ducked under dialogue)
subtitlesNoburn: drawn into the video (and also as SRT/VTT); file: SRT/VTT only; noneburn
episode_idYesThe episode id (ep_…), from get_drama_context or get_episode.
resolutionNoOutput height of the rendered episode.1080p
allow_staleNotrue (default) previews even when some clips are stale.
music_volumeNoThe music's level under the clips, 0–1; omitted: the episode's music_volume, else 0.4
allow_missingNotrue (default) previews even when some scene clips are missing.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely non-obvious behavior: no rendering occurs, it reports missing or stale assets, and it is free of charge — all useful before committing to a render.

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?

A single front-loaded clause establishes the core distinction from render_episode, followed by a tight colon list of outputs and a one-word cost signal. Every element earns its place with no repetition.

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 an output schema present, the description need not detail return values, yet it usefully summarizes them; cost and the render_episode relationship are covered. Minor gap: it doesn't note that the preview accepts stale or missing clips by default, though the schema's allow_stale/allow_missing defaults do.

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 all seven parameters (including music, subtitles, allow_stale, allow_missing) are already documented in the schema. The description echoes the same concepts ('the music', 'subtitle cues', 'what is missing or stale') but adds no format, default, or interaction detail beyond that, 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?

States a specific operation ('what render_episode would put together, without rendering') and enumerates exactly what it returns: ordered clips with lengths, music, subtitle cues and timings, and missing/stale items. It is unambiguously distinguishable from render_episode by naming it directly.

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?

The relationship to render_episode is explicit — this is the non-rendering dry run of that tool — and 'Free' signals it costs no credits, which tells the agent to check here first. It stops short of stating explicit exclusions or when a preview is unnecessary.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.