Skip to main content
Glama

Get clip captions

get_clip_captions
Read-only

Retrieve a clip's rendered captions as an SRT or WebVTT file, matching the video's lines and timings. Optionally add word-level timestamps for karaoke-style VTT output.

Instructions

The captions of a clip's last render as an SRT or WebVTT file: the same lines and times as the video (intro included), even when the style has captions off. Returns the file text; VTT with words: true adds karaoke word timestamps. A clip rendered before caption files existed answers that it needs a re-render (rerender_clip).

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": {
      "id": "<id>"
    },
    "name": "get_clip_captions"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesClip id (from get_project or search_clips)
wordsNoVTT only: add a <timestamp> before every word after the first in each cue
formatNosrt (default) or vttsrt

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.51.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.17.0

TDQS

A3.8/5.0
Behavior4/5

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

With readOnlyHint already covering safety, the description adds real behavioral context: results reflect the last render, intro is included, lines are returned even when the style disables captions, and words:true yields karaoke timestamps. The stale-render failure mode and its remedy (rerender_clip) are disclosed, which is exactly the kind of non-obvious behavior an agent needs.

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?

It is a single front-loaded paragraph that opens with what the tool returns, then layers in semantics and the failure case; nearly every clause carries information. The sentences are dense and clause-stacked (parenthetical asides mid-sentence), which costs a little readability.

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?

There is no output schema, and the description compensates by stating that the file text itself is returned. Combined with the render-freshness semantics, intro inclusion, and the stale-render error path, an agent has everything needed to call this correctly and interpret the result.

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 coverage is 100%, so all three parameters (id, words, format) are already documented, setting the baseline at 3. The description reinforces the words/format dependency (words only meaningful for VTT) and frames the output as "karaoke word timestamps," but adds no syntax, defaults, or constraints beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource ("captions of a clip's last render") and the concrete output formats (SRT or WebVTT), which is far more precise than the title. It does not explicitly distinguish itself from caption-adjacent siblings such as get_transcript or get_project_transcript_file, so an agent must infer that those return transcript data rather than rendered caption files.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: the agent learns that clips rendered before caption files existed need rerender_clip, which is a genuine routing condition. However, there is no explicit "use this when / use X instead" framing against the other transcript- and file-returning siblings, leaving the main alternative unaddressed.

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

Deploy Server

Other Tools