Skip to main content
Glama

Captions

captions

Create, edit, retime, export, and burn styled subtitle tracks from SRT, VTT, or transcripts, and check platform-safe zones for social video.

Instructions

Captions from transcripts or subtitle files. create_track (import an SRT/VTT, or a transcript, as a caption track), read (cues of a subtitle file or transcript), edit (replace text/times of cues by index; writes an SRT, or rewrites the .srt/.vtt given as source; a transcript is never changed: use the returned path as source next), retime (shift and/or stretch), export (SRT or VTT), safe_zone_check (caption block vs. the platform's UI-safe area: youtube, shorts, reels, tiktok, instagram_feed), burn_style (render styled PNG captions, optionally one card per word with the spoken word highlighted like Shorts, and place them on a video track). Premiere's scripting API cannot read caption tracks already in a sequence: read works on files and transcripts.

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": {
      "action": "<action>"
    },
    "name": "captions"
  }
}

Input Schema

NameRequiredDescriptionDefault
editsNo
shiftNo
startNocreate_track: offset (s)
styleNo
trackNoV1, A2... (1-based)
actionYes
factorNo
formatNo
outputNo
sourceNoSubtitle file (.srt/.vtt) or transcript id (tr_...)
projectNo
platformNo
sequenceNoSequence id/name (default: active)
max_charsNo
word_highlightNoburn_style: one card per word, current word highlighted
expected_project_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.5.3

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare openWorldHint=false and destructiveHint=false, so the description carries most of the behavioral burden and does so well: it discloses that edit overwrites the source .srt/.vtt, that transcripts are immutable and produce a returned path, that burn_style writes PNG cards onto a video track, and that reading existing sequence caption tracks is impossible. It does not state what happens to an existing caption track when create_track runs, nor any permission or overwrite semantics, which keeps it below a 5.

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 a one-line purpose, then a dense parenthetical-per-action breakdown that wastes almost nothing. The final API-limitation sentence earns its place. It is a tightly packed wall of text rather than scannable lines, which costs a point but not content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 16-parameter, seven-action tool with a nested style object and no output schema, the description covers action semantics thoroughly but leaves a large share of parameters (max_chars, output, project, sequence, expected_project_path, most style keys) undocumented anywhere, and only edit's return value is hinted at. An agent can pick the right action but will be guessing on several inputs.

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 only 31% across 16 parameters, and the description compensates for some: 'shift and/or stretch' clarifies shift/factor, 'cues by index' clarifies the edits array, the platform enum values are repeated, and the transcripts-or-file distinction clarifies source. Several parameters remain unexplained in both places, notably max_chars, the nested style fields (stroke, highlight_color, box, font_file), output, expected_project_path, and sequence/project. Partial compensation only.

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 the resource (captions, transcripts, subtitle files) and enumerates all seven actions with concrete verbs and objects: create_track imports, read returns cues, edit rewrites cues, retime shifts/stretches, export writes SRT/VTT, safe_zone_check compares against platform UI-safe areas, burn_style renders styled PNG cards. That is far more specific than a generic 'manage captions' line. It loses the top score because it never distinguishes itself from the sibling 'import_captions', which an agent could easily confuse with create_track.

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?

Usage context is embedded in each action gloss, and one hard exclusion is stated outright: 'Premiere's scripting API cannot read caption tracks already in a sequence: read works on files and transcripts.' It also gives the crucial follow-on rule that a transcript is never mutated and the returned path must be used as the next source. It stops short of comparing itself to alternatives such as import_captions or the generic source/import_media siblings, so selection between tools is still partly inferred.

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