Skip to main content
Glama

subtitle_export

Export a timeline's subtitle track to an SRT file for use in video players, editors, or caption workflows.

Instructions

Export the timeline's subtitle items to an SRT file (built from the subtitle track contents).

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": {
      "path": "<path>"
    },
    "name": "subtitle_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute local file path
trackNo
timelineNoTimeline name or id (default: current timeline)
overwriteNo

Output Schema

NameRequiredDescriptionDefault
okYesTrue only when DaVinci Resolve confirmed the operation.
dataNo
toolYes
errorNo
sourceNoWhere the result came from: the real DaVinci Resolve, the mock adapter (tests), or the server alone.
statusYes
messageYes
warningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-destructive, closed-world behavior, so the bar is lower; the description usefully adds that the SRT is built from subtitle track contents. It does not disclose the file-side behavior that matters most for a write tool — what happens if the target path already exists, and how the `overwrite` flag governs clobbering — which is notable given destructiveHint=false despite an overwrite capability.

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?

A single front-loaded sentence with no padding; the parenthetical about the subtitle track adds genuine information rather than repeating the tool name. Not excessive in any way.

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?

An output schema exists, so return values need not be explained, and the core action is clear. For a file-writing mutation with an overwrite flag and an undocumented `track` parameter, however, the description leaves meaningful calling decisions (which track, whether stale files are replaced) unresolved.

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 coverage is only 50%: `path` and `timeline` are documented in the schema, but `track` and `overwrite` have no description in either place. The description adds no parameter meaning at all — it does not mention track selection, timeline targeting, or overwrite semantics, so it fails to compensate for the coverage gap.

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?

States a specific verb+resource ('Export the timeline's subtitle items') and the exact output format (SRT file), plus a clarifying note that content comes from the subtitle track. An agent can distinguish it from subtitle_import or ai_generate_subtitles, though the description never names an alternative explicitly.

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?

The use case is implied by the output format: call this when you need subtitles written to an SRT file on disk. There is no explicit when-to-use, when-not-to-use, or routing to a sibling such as ai_generate_subtitles (create subtitles) or subtitle_get_all (read without writing).

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