Skip to main content
Glama

Import a caption file onto a sequence

import_captions_file

Import a caption file (.srt, .scc, .mcc, .xml, .stl) into a Premiere Pro project or bin and create a caption track on a sequence in one call.

Instructions

Import a caption file (.srt, .scc, .mcc, .xml, .stl) into the project (root or a bin) and create a caption track from it on a sequence, in one call. Use create_caption_track when the caption file is already a project item. Returns file_path, item (the new caption project item), start, format, caption_tracks and track (the new track's captions read back, as create_caption_track). Use write_srt_file or srt_from_markers first to make an .srt.

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": {
      "file_path": "<file_path>"
    },
    "name": "import_captions_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
startNoTimeline time the caption file's 0:00 maps to, in seconds. Default 0.
bin_idNoStable id of the bin. Omit all bin_* arguments to use the project root.
formatNoCaption track format: "subtitle" (default; plain subtitles), "cea608", "cea708" (broadcast closed captions), "teletext", "open_ebu" (EBU open subtitles), "op42", "op47".
bin_nameNoBin name; the first match is used.
bin_pathNoBin path, e.g. "Footage/Day 1".
file_pathYesThe caption file. Absolute path.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
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.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=false, so safety and repeat-behavior are partly covered. The description still adds real context: a single call produces two artifacts (a project item and a caption track on a sequence), plus the file formats accepted and the default-sequence fallback. It does not say what happens on unsupported or malformed files, 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 the core action and side effects before the routing guidance. The trailing list of return fields is token-heavy but earns its place given no output schema exists. Only minor tightening is possible.

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 an 8-parameter, non-idempotent import with no output schema, the description supplies the return shape and the dual creation effect that an agent most needs. Error conditions and duplicate-handling on re-import are left implicit, a modest gap for a tool with this many input variants.

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%, so every parameter is already documented, including the format enum and the bin_* / sequence_* fallbacks. The description only echoes the format list and the root-or-bin destination, adding little syntax or precedence meaning beyond the schema. Baseline 3 applies.

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 ("Import a caption file ... and create a caption track from it on a sequence, in one call"), enumerates supported extensions, and explicitly separates itself from create_caption_track. An agent can pick it over its siblings without opening either schema.

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

Usage Guidelines5/5

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

Gives a concrete exclusion rule ("Use create_caption_track when the caption file is already a project item") and a prerequisite path ("Use write_srt_file or srt_from_markers first to make an .srt"). Both the when and the when-not are covered with named alternatives.

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