Skip to main content
Glama

Analyze timeline

analyze_timeline

Detect scene cuts, generate subtitles, or analyze Dolby Vision on a DaVinci Resolve timeline; report progress and point to async jobs when the wait expires.

Instructions

Resolve's AI on the open timeline (Studio): find scene cuts and cut there, make subtitles from the sound, or analyze Dolby Vision. Reports progress; if it is not finished in time, ask async_jobs.

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": {
      "op": "<op>"
    },
    "name": "analyze_timeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
opYes
itemsNoTimeline clip handles; ['selected'] = selected clips, ['current'] = clip under the playhead.
presetNosubtitle_default
dry_runNotrue: only show the plan and get a confirm_token. false: do it, together with that token.
languageNosubtitles: auto, english, hindi, french ...auto
timelineNoHandle (tl:...) of the timeline to change, from list_timelines or state_snapshot.
gap_framesNo
line_breakNo
wait_secondsNoSeconds to wait for it to finish. Many AI apps stop a tool after 60 s, so keep 45 or less and ask for the status again.
confirm_tokenNoFrom the dry run of exactly this call. Works once, for five minutes.
chars_per_lineNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing that the tool reports progress and that long runs should be handed to async_jobs, plus the Studio-tier requirement. That is meaningful for a mutating (readOnlyHint=false) tool, though it does not say what exactly changes on the timeline or how partial completion behaves.

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?

Two sentences, front-loaded with the operation set and tail-loaded with the progress/fallback caveat; no filler. The density of the first sentence ('Resolve's AI on the open timeline (Studio)') is slightly opaque but earns its place.

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 an 11-parameter mutating tool with no output schema and 55% schema coverage, the description covers the mode selection and the async escape hatch but is silent on subtitle formatting options and on what the agent gets back when the wait expires. Adequate, not complete.

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 coverage is 55%, so roughly half the parameters are documented in the schema. The description adds real value by explaining what each op value does (the enum carries labels only), but leaves items, preset, gap_frames, line_break, and chars_per_line entirely to the schema.

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 and resource ('Resolve's AI on the open timeline') and enumerates the three concrete operations (scene cuts, subtitles, Dolby Vision) that map to the op enum. An agent can tell this apart from generic editing tools like timeline_edit without opening the schema.

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?

Names the prerequisite ('Studio'), covers all three operating modes, and gives an explicit escalation path ('if it is not finished in time, ask async_jobs'). It does not, however, contrast itself with timeline_edit or other editing siblings, so the routing guidance is clear but not exhaustive.

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