Skip to main content
Glama
Premiere Pro MCP Server

Premiere Pro MCP Server

Plan Captions

plan_captions

Plans captions to a published standard (Netflix, BBC, DCMP or social) from transcript data, handling timing, line breaks, speakers and SDH, with SRT/VTT/TTML export.

Instructions

Plan captions to a published standard (netflix_adult, netflix_kids, bbc, dcmp, social_9x16) from a transcript (word_timeline, text or file; SRT, VTT, ElevenLabs Scribe or Premiere transcript JSON): chunking, line breaks, timing, gaps, speakers, SDH. Optionally writes the plan JSON and an SRT/VTT/TTML file. cut_times come from detect_scene_edits / scene_edit_detection or sequence edit points. Local-only; never changes Premiere.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "plan_captions"
  }
}

Input Schema

NameRequiredDescriptionDefault
fixNoWith a standard: fix what breaks it (default true). false only reports violations.
sdhNoSubtitles for the deaf and hard of hearing: sound events and lyrics.
to_sNoOnly transcript words that overlap times before this (before offset). A word or cue that straddles the bound is clipped, not dropped. Use the clip out-point so captions do not land on later shots.
end_sNoWhere the sequence (or media) ends, in sequence seconds (after offset). No caption ends past it, a caption that would start at or after it is dropped, and a sound or linger extension never passes it; each is listed in changes with rule sequence_end. A transcript that states its media duration (Whisper, ElevenLabs) also clamps to that duration plus offset. create_caption_track import_plan and add_caption_graphics clamp to the sequence's own end.
exportNoAlso write the captions as a sidecar file: SRT, WebVTT or TTML (IMSC text profile). Omit output_path to get the text back inline (up to 512 KiB). The written file is read back to confirm the cue count.
from_sNoOnly transcript words that overlap this time and later (before offset). A word or cue that straddles the bound is clipped, not dropped. Use the clip in-point (transcribe_audio audible_source_range) or a long transcript captioned in several calls.
lingerNoSeconds a caption stays after its last word (up to the next caption), default 0.25.
offsetNoSeconds added to every transcript time, for example the clip's start on the sequence (captions must not start before 0).
cleanupNoTranscript clean-up before captions are made. The result's `cleanup` counts what changed.
standardNoA caption standard: netflix_adult (20 cps, 42 cpl, 2 lines, 5/6 s to 7 s, 2-frame gaps), netflix_kids (17 cps), bbc (180 wpm, 0.33 s per word, 37 cpl), dcmp (32 cpl, 40 frames to 6 s), social_9x16 (25 cpl, 3 lines). Sets the defaults for line length, lines, durations, gaps and linger (explicit fields still win) and turns on fixing: out-times extend into the gap, then short captions merge, then long ones split. The result lists every change and any violation left.
cut_timesNoShot changes in sequence seconds (not source time). Get them from detect_scene_edits / scene_edit_detection or from the sequence's edit points. Captions do not straddle a cut: an in-time moves onto the cut or at least 0.5 s before it, an out-time to 2 frames before it or at least 0.5 s after.
max_linesNoLines per caption, default 2. A caption is split when its words would need more.
max_wordsNoWords per caption at most (social chunking).
frame_rateNoFrames per second of the sequence; every caption time is rounded to whole frames of this rate. Premiere sequences report it (or convert Sequence timebase ticks with 254016000000 ticks per second). Default 30, with a warning.
pause_breakNoA pause between words longer than this starts a new caption, default 0.7.
single_wordNoOne word per caption (social style): a word shorter than 8 frames merges into the next, and a number with its unit or a first name with a surname stays together.
max_durationNoA caption is split when it would run longer than this, default 6.
min_durationNoSeconds a caption stays up at least (up to the next caption), default 1.
accessibilityNoNever use colour as the only cue: with speaker_style color, a label is added at each speaker change too. Default false.
speaker_namesNoDisplay names for speaker ids (e.g. {"speaker_0": "ANNA"}), for labels.
speaker_styleNoHow a speaker change shows: color (BBC order white, yellow, cyan, green per speaker), hyphen (two speakers in one caption, each line starting '- '), label ('NAME: ' at each change). Default none.
word_timelineNoCaller-supplied word-timed transcript for one Premiere source item. Words must be ordered by start time and bound to the transcript revision returned by get_clip_transcript_uxp. Different labeled speakers may overlap; same-speaker words may not, even when another speaker is between them.
min_gap_framesNoFrames between captions at least. Default 2 with a standard, else 0.
speaker_colorsNoColours (#RRGGBB) per speaker in order of first appearance instead of the BBC order.
idempotency_keyNoOptional client-chosen key (1-128 chars of A-Z a-z 0-9 . _ : -) for this intended edit. Pass a fresh key per edit and reuse it only when retrying that same edit, for example after a client-side timeout. A repeat with the same tool, key and arguments is not run again: while the first call is running it fails with IDEMPOTENCY_IN_PROGRESS (poll get_last_operations); after it finished it returns the original outcome marked replayed. A definite failure with nothing applied (receipt outcome not_applied) may be retried with the same key. Reusing a key with different arguments fails with IDEMPOTENCY_KEY_REUSED. Scoped to this MCP session (the stdio server process, or the HTTP server process when Streamable HTTP is stateless per request) and held in memory only (200 keys, 1 hour); it does not survive a restart or reconnect. Read-only invocations are never deduplicated.
transcript_pathNoAbsolute path of a .srt, .vtt or .json transcript inside approved_workspace_path (realpath-checked, at most 16 MiB). Requires approved_workspace_path.
transcript_textNoThe transcript itself (SRT, WebVTT, or JSON: ElevenLabs Scribe, Whisper-style segments, a plain array of {text,start,end}, or Premiere's exported transcript JSON), instead of word_timeline or transcript_path. At most 16 MiB.
close_gaps_underNoSeconds: a gap shorter than this (and longer than the minimum) closes to min_gap_frames. Default the standard's (0.5 s), else off.
plan_output_pathNoAbsolute .json path of a new file inside approved_workspace_path to save the plan document to (never overwrites). Host tools (create_caption_track action import_plan, add_caption_graphics) take it as plan_path. Required when the plan is too big to return inline (above 500 captions or 256 KiB) unless export.output_path is set.
transcript_formatNoFormat of transcript_text or transcript_path. Default: from the file extension, else from the content.
max_chars_per_lineNoCharacters per line, default 32 (about 20 suits 9:16). Counted, not measured: a proportional font can run wider.
expected_cep_targetNoOptional reviewed CEP sequence/clip identity and exact tick ranges. Checked before every generated command; UXP refuses this CEP-only guard.
expected_project_pathNoOptional absolute saved-project path. Every generated CEP command refuses before its body when the active project differs or is unsaved. UXP commands refuse this CEP-only guard; local-only tools do not inspect Premiere. Omit to keep existing behavior.
highlight_lead_framesNoThe highlighted word switches this many frames before the voice (reads as in sync). Default 1.
approved_workspace_pathNoAbsolute path of an existing directory the caller approved for file access. transcript_path, plan_path and output paths must be inside it.
sequence_timebase_ticksNoPremiere ticks per frame of the sequence (the timebase from get_sequence_settings; 254016000000 ticks make a second). Converted to a frame rate with the common rates snapped (23.976, 25, 29.97 ...). An error when frame_rate is also given and differs.

Output Schema

NameRequiredDescriptionDefault
okYesWhether the tool completed successfully.
dataNoTool-specific result data when ok is true; on failure, diagnostic detail when the tool provides it.
toolYesThe registered MCP tool name.
errorNoFailure detail when ok is false.
receiptNoVersioned common mutation receipt; success never implies rendered verification.
idempotencyNoPresent when idempotency_key deduplicated this call: replayed is true when the original outcome was returned instead of running again.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.31.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations declare only readOnly=false, destructive=false, and openWorld=false; the description adds the crucial facts that the tool runs locally, never mutates the Premiere project, and optionally writes a plan JSON plus an SRT/VTT/TTML sidecar. That is real context beyond the structured hints. It does not discuss idempotency or rate/limits, though the schema's idempotency_key field covers that ground.

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?

Four dense sentences, front-loaded with the core verb/resource, then outputs, then input sourcing for cut_times, then the safety boundary. No sentence is filler, and the parenthetical enumerations carry real routing information rather than restating the title.

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?

For a 36-parameter tool with full schema descriptions and an output schema, the description supplies what structured fields cannot: what the tool conceptually produces, where its inputs come from, that it writes files but never touches the host application, and where cut_times originate. An agent has enough to decide to call it and to assemble a valid first call.

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 100%, so a 3 would be the floor; the description earns more by grouping the 36 fields into functional families (chunking, line breaks, timing, gaps, speakers, SDH) and by clarifying that there are two distinct outputs — the plan JSON and an optional caption file — which helps disambiguate plan_output_path from export.output_path. Everything else it says about parameters duplicates the schema.

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?

The description gives a specific verb and resource ("Plan captions"), enumerates the five target standards by name, and lists the accepted transcript sources and formats. It also scopes the work explicitly to "chunking, line breaks, timing, gaps, speakers, SDH," so an agent can tell this planner apart from check_captions, read_sequence_captions, or plan_reaction_captions 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 Guidelines4/5

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

It establishes clear preconditions (a transcript from word_timeline, text, or file; a published standard) and a hard boundary ("Local-only; never changes Premiere"), which implicitly tells the agent a follow-up apply step is needed. It also routes the agent to detect_scene_edits / scene_edit_detection for cut_times. What it lacks is explicit when-to-use/when-not language naming sibling tools such as check_captions for validation or plan_reaction_captions for the reaction variant.

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