Skip to main content
Glama

subtitle_set_timing

Read-only

Adjust subtitle caption timing on a DaVinci Resolve timeline to fix sync issues, especially when individual subtitle items cannot be edited through the scripting API.

Instructions

Retime a subtitle caption. (Not scriptable: the scripting API cannot create or edit individual subtitle items.)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "subtitle_set_timing"
  }
}

Input Schema

NameRequiredDescriptionDefault
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

C2.7/5.0
Behavior1/5

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

"Retime" is an unambiguous mutation of a caption item, yet the annotations declare readOnlyHint=true and destructiveHint=false. The description also states the scripting API "cannot create or edit individual subtitle items," which if true contradicts the stated ability to retime them, leaving the agent unable to determine whether anything is actually modified.

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?

One short action sentence followed by a scoped caveat – front-loaded with no padding. The caveat is arguably the most informative part of the definition and is tucked into parentheses rather than stated plainly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool, the definition never says how the new timing is supplied, what is destroyed or shifted, or what the response contains beyond the existence of an output schema. With annotations claiming read-only and a parenthetical claiming the API cannot edit items, the agent lacks the information needed to call this correctly or safely.

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?

There is a single parameter with 100% schema description coverage, so the schema already documents the timeline target; the description adds nothing about it. Baseline 3 applies because the schema does the work, but the description adds no meaning about defaults or identifier formats.

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?

"Retime a subtitle caption" gives a specific verb and resource, and the sibling set (subtitle_set_style, subtitle_add, subtitle_delete) makes it clear this is about timing rather than content or styling. However, "retime" is never unpacked (shift to playhead? set explicit in/out? offset by delta?), and the schema exposes no timing inputs at all, so the agent cannot tell what the operation actually does.

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

Usage Guidelines2/5

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

No when-to-use guidance, no prerequisites, and no naming of alternatives such as subtitle_edit when the intent is to change caption text rather than timing. The parenthetical caveat is about capability, not about choosing between tools.

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