Skip to main content
Glama

speed_retime_curve

Define an arbitrary frame-to-source-frame retime curve for a clip's Fusion composition, remapping frames while keeping the timeline item's length unchanged.

Instructions

Arbitrary time-remap curve (frame -> source frame). Fusion-based retiming remaps frames inside the clip's composition; the item's length on the timeline is not changed (the API has no speed-change/ripple). For true retime with length change use the Edit page Change Clip Speed.

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": {
      "keys": "<keys>"
    },
    "name": "speed_retime_curve"
  }
}

Input Schema

NameRequiredDescriptionDefault
keysYes
itemIdNoTimeline item unique id (from timeline_get_clips)
timelineNoTimeline name or id (default: current timeline)
itemIndexNo1-based position of the clip on the track (transitions are not counted)
trackTypeNovideo
trackIndexNo

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.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the agent knows this is a non-destructive mutation. The description adds genuinely non-obvious behavior — frames are remapped inside the composition and the item's timeline length is not changed — but says nothing about the resulting curve state, overwrite of an existing curve, or failure modes.

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?

Three short sentences, front-loaded with the core definition and followed by constraint then alternative; nothing is decorative. The 'Fusion-based' phrasing assumes product jargon the agent may not need, but it is not wasteful enough to penalize further.

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

Completeness4/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 described, and the annotations carry the safety profile. What remains missing is any hint about how the track/item targeting parameters behave or what happens to an existing curve, which matters for a six-parameter mutation but is a modest gap.

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 only 50%, and the description's 'frame -> source frame' phrase reinforces the semantics of the required keys array, which the schema already partly documents. The five remaining parameters (itemId, timeline, itemIndex, trackType, trackIndex) receive no mention in the description, so the coverage gap is only partially compensated.

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 opens with a concrete verb and resource — 'Arbitrary time-remap curve (frame -> source frame)' — and explains it is Fusion-based retiming inside the clip composition. An agent can tell this is a curve/remap operation rather than a plain speed setter, though it never names the in-catalog sibling clip_set_speed that would sharpen the contrast.

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?

It gives an explicit exclusion: the timeline length is unchanged and the API has no speed-change/ripple, so use the Edit page Change Clip Speed for a length-changing retime. That is a real when-not statement, but the recommended alternative is a UI action rather than an MCP sibling (e.g. clip_set_speed), so the routing within the toolset is incomplete.

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