Skip to main content
Glama

speed_optical_flow

Configure a timeline item's retime process and motion estimation mode to control how speed changes are rendered using optical flow, frame blending, or nearest frames.

Instructions

Set the item's retime process (optical flow / frame blend / nearest) and motion estimation mode via documented item properties.

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": "speed_optical_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemIdNoTimeline item unique id (from timeline_get_clips)
processNooptical_flow
timelineNoTimeline name or id (default: current timeline)
itemIndexNo1-based position of the clip on the track (transitions are not counted)
trackTypeNovideo
trackIndexNo
motionEstimationNo0 project, 1 standard faster, 2 standard better, 3 enhanced faster, 4 enhanced better, 5 speed warp faster, 6 speed warp better

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.9/5.0
Behavior2/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 mutation profile is covered. The description adds only the vague phrase 'via documented item properties', and says nothing about whether optical flow triggers a slow re-analysis/render, whether the change is reversible, or what happens if the specified process is unsupported for the clip. For a media-mutating tool this leaves meaningful gaps.

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 that names the action before the mechanism, with no filler. It is compact, though the trailing 'via documented item properties' clause is vague enough to add little.

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 annotations cover the safety profile. However, for a 7-parameter mutation tool sitting among many sibling speed tools, the definition omits clip-selection semantics and any routing guidance, leaving the agent to work it out from the schema.

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 57%, and the description merely restates three of the four process values already in the schema enum without explaining the 'project' option or the 0-6 motionEstimation scale. Critically, it does not clarify the two alternative clip-identification paths (itemId versus trackType/trackIndex/itemIndex), which is the least obvious part of the schema.

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 and resource (set the item's retime process and motion estimation mode) and enumerates the allowed process values, so the agent knows this is a property write on a timeline clip rather than a speed query or ramp tool. It stops short of explicitly contrasting with siblings like speed_set or speed_retime_curve.

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?

There is no guidance on when to reach for this versus the many other speed/retime siblings, and no stated prerequisites such as whether the clip must already be retimed or whether an analysis pass is required. The reader must infer usage entirely from the tool name and description.

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