Skip to main content
Glama

export_subtitles

Exports a project's captions as SRT or VTT subtitle files, or its transcript as JSON. Saves the file next to the video by default or to a specified output path.

Instructions

Writes a project's captions as SRT or VTT subtitles, or its transcript as JSON.

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": {
      "project_id": "<project_id>",
      "format": "<format>"
    },
    "name": "export_subtitles"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatYes
outputNoWhere to write it; next to the video by default
project_idYesThe project id a caption_video call returned (on this computer, a file's path)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it omits the key traits of a file-writing operation: whether an existing file at the target path is overwritten, what permissions or disk access are needed, and whether the call fails if the project has no captions. The only side-effect hint, the default output location, comes from the schema rather than the description.

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?

A single front-loaded sentence naming the operation, the resource, and the variants, with zero filler. Nothing could be removed without losing information.

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 write tool with no annotations and no output schema, the description should at least indicate what is returned (a path? a status?) and what happens on overwrite or missing captions. It covers what is produced but leaves the persistence contract under-specified.

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?

The description adds real meaning beyond the 67%-covered schema by tying format values to different content sources: srt/vtt export captions, json exports the transcript. That mapping is not stated in the schema and directly affects which format an agent should choose.

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 pairs a specific verb ("Writes") with a specific resource ("captions" / "transcript") and enumerates the output formats, so an agent can tell it produces subtitle files rather than returning data. It does not explicitly contrast itself with get_transcript or caption_video, which is the only thing keeping it from a 5.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the format list signals you call this when you need a persisted SRT/VTT/JSON artifact rather than an in-memory transcript. There is no explicit when-to-use, no when-not-to-use, and no named alternative such as get_transcript for read-only access.

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