Skip to main content
Glama

clip_set_composite_mode

Set a timeline clip's composite blend mode by Resolve's numeric mode ID to control how it blends with underlying layers.

Instructions

Set an item's composite (blend) mode by Resolve's numeric mode id (0 Normal, 1 Add, 2 Subtract, 3 Difference, 4 Multiply, 5 Screen, 6 Overlay, ...).

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": {
      "mode": "<mode>"
    },
    "name": "clip_set_composite_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes
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

B3.2/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-destructive, closed-world behavior, so the safety profile is covered. The description adds no context beyond that — nothing about what happens if an unsupported mode id is passed, whether the change is undoable, or whether the clip must be selected/on the current timeline. With annotations present the bar is lower, but a mutation tool could say more.

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 with no filler; the parenthetical value list is the highest-value content and is placed immediately after the mechanism. The trailing ellipsis is a minor source of ambiguity rather than verbosity.

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 no explanation. But for a mutation tool with six parameters offering several competing ways to identify the target clip, the description never explains targeting, and the mode id table is incomplete against the schema's 0-40 range.

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 50%; the critical required 'mode' parameter has no schema description, so the description's enumeration (0 Normal through 6 Overlay) genuinely compensates for the most important gap. However it truncates with '...' despite the schema allowing 0-40, leaving 34 valid values unmapped, and it says nothing about the clip-targeting parameters (itemId vs itemIndex vs trackType/trackIndex).

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 an item's composite (blend) mode') and the expected input format (Resolve numeric mode id). It is clearly a single-property setter distinguishable from siblings like clip_set_opacity or clip_set_color by the property named, though it never explicitly contrasts itself with clip_set_properties.

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 preconditions (timeline open, clip selected), and no pointer to clip_set_properties for bulk property changes. The only usage-adjacent content is the mode value mapping, which is input syntax rather than routing guidance.

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