Skip to main content
Glama

caption_video

Transcribes a video's speech, adds styled animated word-by-word captions, and saves the captioned file next to the source; returns its path and project ID.

Instructions

Adds animated word-by-word captions to a video: transcribes the speech, styles it with a look, and saves the captioned video next to the source. Returns its path and a project id for follow-ups (get_transcript, fix_words, set_style, save_video). If it takes longer than the call allows, it returns a ticket: pass it to check_progress.

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": {
      "source": "<source>"
    },
    "name": "caption_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
lookNoA built-in look (list_looks): Purple Punch, Bold, Plain, Karaoke, Paper, Boom, Lyric, Stickers, Cinema, Terminal, Neon, Typewriter, Handwritten, Pop, Cascade, Slam, Poster, Title Card, Editorial
modelNoA speech model id the server offers; its default if left out. Without a server, parakeet-ultra only
styleNoStyle settings over the look (describe_style lists every one)
formatNomp4 (the default), mp4-hevc, webm or mov (ProRes)
outputNoWhere to write the file. Default: next to the source, named <name>.captioned
sourceYesA video file path, or a direct http(s) link to one
languageNoISO 639-1 code, or auto (the default)
frame_rateNoFrames per second, or the source'soriginal
resolutionNoThe short side in pixels, or the source'soriginal
captions_onlyNoThe captions alone over solid green, with no sound, to key out in Remotion or a video editor

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does add real value: it discloses the output artifacts (file path plus a project id), the default write location beside the source, and the async fallback that returns a ticket for check_progress. It does not disclose whether existing files are overwritten, whether the source must contain an audio track, or anything about cost/runtime, which matters for a transcription-plus-render operation.

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: what it does, what it returns, and how to handle the timeout case. The return contract and the escalation path are front-loaded rather than buried, and nothing is redundant.

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 tool with a large nested StyleConfig and no output schema, the description adequately supplies the return contract and the long-running-tool escape hatch, which the schema cannot express. It is slightly incomplete on preconditions (audio present, overwrite behavior) but the exhaustive parameter documentation covers the configuration side.

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% and the schema is unusually rich (every style field documented, enums spelled out), so the baseline is 3. The description only alludes to the "look" and "style" parameters in prose and adds no semantics beyond what the schema already states.

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 ("Adds animated word-by-word captions to a video") plus the three-step pipeline it runs (transcribe, style, save next to source). An agent can distinguish this from fix_words/set_style, which operate on an existing project, without opening the schema.

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?

Names the follow-up tools (get_transcript, fix_words, set_style, save_video) so the agent knows the natural next steps, and explicitly routes the long-running case to check_progress via the returned ticket. It stops short of saying when NOT to use it (e.g. a video with no speech) or what prerequisites a source needs.

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