Skip to main content
Glama

convert_srt_to_captions

Parses SRT or VTT subtitle files and converts them into FCPXML-ready caption timings snapped to your project frame rate for preview before rough-cut assembly.

Instructions

Parse an SRT/VTT file and return FCPXML-ready caption timings (snapped to your project fps). Preview before assembly; the same parser backs captionsSrtPath in assemble_rough_cut.

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": {
      "srtPath": "<srtPath>"
    },
    "name": "convert_srt_to_captions"
  }
}

Input Schema

NameRequiredDescriptionDefault
fpsNo
srtPathYes
wordsPerTitleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/5.0
Behavior3/5

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

No annotations, so the description carries the burden: it discloses the fps snapping behavior and the relationship to the assembler, which is useful context. However it says nothing about read-only nature, malformed-file handling, encoding support, or the shape of the returned timings, leaving meaningful behavioral gaps for a no-annotation tool.

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?

Two tight sentences: purpose and output first, workflow guidance second. No filler and nothing buried.

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?

Covers purpose, output nature, and workflow integration well for a tool without an output schema, but leaves the wordsPerTitle parameter and the exact return structure undocumented, which matters given 0% schema description coverage and no annotations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It clarifies fps ('snapped to your project fps') and implies srtPath, but wordsPerTitle (default 0, unusual range) is never explained — an agent cannot tell what 0 means or when to set a value.

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+resource pair ('Parse an SRT/VTT file') and the concrete result ('return FCPXML-ready caption timings, snapped to your project fps'), and explicitly links to the sibling assemble_rough_cut so an agent can place it in the workflow.

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?

'Preview before assembly' gives a clear when-to-use context, and the note that the same parser backs captionsSrtPath in assemble_rough_cut tells the agent it can skip this call when going straight to assembly. It does not spell out when-not-to-use or failure conditions, so not a 5.

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