Skip to main content
Glama

Turn burned-in captions on or off, or change their look

set_captions
DestructiveIdempotent

Changes the captions the next render burns into the video. Only what you pass changes. Turning them on without a style picks clean at the bottom, size m, with um and uh left out, which suits most episodes.

Styles: clean (white text with a soft outline, classic subtitles), boxed (on a dark box, the most legible), bold (a few big words at a time, the word being said lit up; the short-form look). Sizes: m suits a long episode, s is smaller, l and xl are bigger (xl is the size for short clips).

Burned-in captions can't be taken out of a rendered video, so only turn them on when the user asks. This doesn't change the existing video: render_episode afterwards (with the user's OK), or pass captions to render_episode instead. Spelling mistakes in the captions are fixed in the transcript with fix_transcript.

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": {
      "jobId": "<jobId>"
    },
    "name": "set_captions"
  }
}

Input Schema

NameRequiredDescriptionDefault
onNo
sizeNo
jobIdYesThe episode's id (jobId), as returned by create_episode or list_episodes.
styleNo
accentNoBold's highlight colour as hex ("#ffd400"); "default" for the style's own.
fillersNodrop (default) leaves um and uh out of the captions.
positionNolower sits about 70% down, clear of a busy bottom.
highlightNoBold only: false keeps every word white instead of lighting the word being said. The accent colour is kept for when it's back on.
speakerColorsNoEach speaker's words in their own colour.
speakerPaletteNoWith speakerColors: your own colour per speaker, by speaker label (SPEAKER_00 and so on, as get_speaker_mapping lists them), as hex: { "SPEAKER_00": "#ffe48a" }. Replaces the whole map; speakers left out keep their default colour, {} clears it. Colours too dark to read on video are lightened when drawn.

Output Schema

NameRequiredDescriptionDefault
fixesYes
captionsYes
availableYesThe episode has a transcript, so captions can be turned on.
unavailableReasonYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and idempotentHint=true but say nothing about why; the description supplies the reason ('Burned-in captions can't be taken out of a rendered video') and clarifies that this edits a future render, not the existing video. It also states the full default state applied when turning on with no arguments (clean, bottom, size m, fillers dropped), which is behavior the agent cannot infer from annotations or schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core behavior and the irreversible-render warning, then organized into a styles/sizes block and a workflow block. Every sentence carries information, though the three-paragraph layout is longer than strictly necessary for a settings tool.

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 10-parameter mutation tool with nested objects, the description covers the destructive risk, patch semantics, defaults, and follow-up workflow, and an output schema exists so return values need no explanation. The only gap is edge-case behavior such as which style fields matter when captions are turned off.

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 70%, and the description compensates for the bare enums by describing what each style actually looks like (clean/boxed/bold) and when each size applies (m for long episodes, xl for short clips), plus the default for fillers. It adds little for the already-documented accent/highlight/speakerColors/speakerPalette parameters, and never says whether style args are ignored when on=false.

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 and resource: 'Changes the captions the next render burns into the video.' It also scopes the effect precisely ('Only what you pass changes') and distinguishes itself from render_episode and fix_transcript by name, so an agent can tell the three apart 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?

Explicit when-to-use and when-not-to-use: 'only turn them on when the user asks' because burned-in captions are irreversible, plus two named alternatives (render_episode afterwards with the user's OK, or pass `captions` to render_episode), and fix_transcript for spelling mistakes. That is a complete routing decision for the agent.

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.

Resources