Skip to main content
Glama

clip_set_color

Set or clear a timeline clip's color by item ID or track position to visually organize edits in DaVinci Resolve.

Instructions

Set or clear (null) a timeline item's clip color.

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": {
      "color": "<color>"
    },
    "name": "clip_set_color"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorYes
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.4/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 safety profile is covered. The description adds the useful behavioral detail that null clears rather than erroring, but says nothing about whether clearing is reversible, what happens when the target clip can't be resolved, or what the tool returns.

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 '(null)' is well placed. It is arguably too short for a 6-parameter tool, but nothing in it is wasted.

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?

Output schema and annotations handle the return value and safety profile, so the description needn't cover those. However, for a mutation tool where only color is required and the remaining five parameters determine which clip is affected, the absence of any targeting guidance leaves a meaningful completeness 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?

With 50% schema description coverage across 6 parameters, the description should compensate but instead only clarifies the color parameter's null semantics — which the schema's anyOf/type:null already encodes structurally. The targeting parameters (itemId vs itemIndex vs trackType/trackIndex) and their precedence, the most error-prone part of this call, get no explanation.

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 uses a specific verb pair and resource: 'Set or clear ... a timeline item's clip color.' An agent can tell this mutates a clip color rather than a media-pool color or a title color, though it never names the near-identical sibling media_set_clip_color to draw the boundary.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: it makes clear that passing null clears the color, which is a genuine when-to-use signal. It offers no guidance on choosing this over media_set_clip_color, title_set_color, or the color_set_* grading family, so the agent must infer the correct tool from names alone.

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