Skip to main content
Glama

subtitle_import

Import an SRT or Resolve-supported subtitle file and place it on a timeline's subtitle track, using the current timeline or a specified one.

Instructions

Import an SRT (or other Resolve-supported subtitle file) and place it on the timeline's subtitle track.

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_import"
  }
}

Input Schema

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

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

A3.5/5.0
Behavior3/5

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

The annotations already establish that this is a non-read-only, non-destructive, closed-world mutation. The description adds that the import lands on the timeline's subtitle track, but it does not say whether an existing track is required, what happens if subtitles already exist, or whether the operation overwrites or appends.

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?

The description is a single front-loaded sentence with no filler. It states the action, accepted input type, and destination in one pass.

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?

Because an output schema exists and annotations cover the safety profile, the remaining burden is small. Still, for a mutation that touches the subtitle track, the description could say more about track existence, duplicate handling, or overwrite behavior.

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 both parameters are fully documented in the schema. The description adds only the subtitle file format hint and the destination track concept, not new meaning about path or timeline syntax beyond what the schema already supplies.

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 states a specific verb and resource: importing an SRT or other Resolve-supported subtitle file and placing it on the timeline's subtitle track. That is clear enough to distinguish it from subtitle_add or subtitle_create_track, although it does not explicitly name those siblings.

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 by the import/file framing, which suggests use when a subtitle file already exists rather than when subtitles are being authored with subtitle_add or subtitle_create_track. No explicit when-to-use, when-not-to-use, or prerequisite guidance is given.

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