Skip to main content
Glama

List caption tracks and their text

list_caption_tracks
Read-onlyIdempotent

Read caption tracks from a Premiere Pro sequence and return each track’s captions with start/end times and text, enabling caption inspection or extraction despite API limitations.

Instructions

Read the caption tracks of a sequence: for each track (0-based, top first) its captions with start and end (seconds of sequence time) and text. Premiere's scripting API has no caption access, so the sequence is exported to a temporary project file (Sequence.exportAsProject), parsed and the file deleted; nothing in the open project changes. text is null for a caption whose stored text could not be decoded. Use parse_srt_file to read a caption file instead.

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": "list_caption_tracks"
  }
}

Input Schema

NameRequiredDescriptionDefault
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
track_indexNoOnly this 0-based caption track. Default: all.
sequence_nameNoSequence name; used only when sequence_id is not given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is partly covered; the description adds genuinely useful context by explaining the temp-project export/parse/delete mechanism and asserting nothing in the open project changes, plus the null-text caveat. It does not discuss performance cost of the export or whether repeated calls are expensive, so it sits at adequate rather than rich.

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 action and return shape, and every trailing clause (temp export, null text, parse_srt_file routing) carries real information. The first sentence is dense and could be split for readability, but nothing is wasted.

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?

With no output schema, the description takes on return-value documentation and does so fully: track indexing, ordering, time units, and the null-text edge case are all covered. Edge cases (undecodable text) and the alternative tool are also handled, leaving nothing essential unstated.

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 baseline is 3, but the description adds meaning beyond it: the 0-based track ordering is top-first, and times are in seconds of sequence time. It does not clarify when sequence_name is preferred over sequence_id beyond what the schema says.

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 ('Read the caption tracks of a sequence') and then spells out the returned structure: per-track 0-based ordering, top first, captions with start/end in seconds of sequence time and text. This is clearly distinguishable from parse_srt_file, which reads 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 Guidelines4/5

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

Explicitly routes the agent to parse_srt_file when the target is a caption file rather than a sequence, which is the main ambiguity here. It does not discuss sibling list tools (e.g., list_tracks) or when caption tracks might be absent, but the primary when/when-not split is stated.

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