Skip to main content
Glama

color_set_gain

Adjust highlight gain on a DaVinci Resolve color node by applying an RGB triple as ASC CDL slope; optionally preserve the prior grade for restoration.

Instructions

Gain (highlights) — mapped to CDL slope via ASC CDL on a node (the Color-page wheels themselves are not scriptable). Values are RGB triples.

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": {
      "value": "<value>"
    },
    "name": "color_set_gain"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYes
itemIdNoTimeline item unique id (from timeline_get_clips)
preserveNoCreate a new local grade version first so the previous grade can be restored
timelineNoTimeline name or id (default: current timeline)
itemIndexNo1-based position of the clip on the track (transitions are not counted)
nodeIndexNo1-based color node index
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 bar is lower. The description adds genuinely useful context: the value is applied as CDL slope on a node and the UI wheels are not scriptable, which explains the side effects on the node's CDL. It does not say whether an existing slope value is overwritten or how it interacts with a prior CDL written by color_set_cdl.

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 compact clauses, with the primary concept (Gain/highlights) front-loaded and the mechanism immediately after. The em-dash construction is slightly elliptical but no sentence 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?

An output schema exists, so return values need not be described. However, for an 8-parameter mutation tool touching grades, the description omits the safety-relevant behavior of the preserve flag (auto-creating a local version) and how node selection works, leaving gaps an agent must resolve from the schema alone.

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 63% across 8 parameters, so the schema carries most of the load. The description contributes the one thing the schema omits: the value array is an RGB triple, which is meaningful given the schema only shows three anonymous numbers. It says nothing about preserve, nodeIndex, itemId or timeline targeting.

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 names the target property (gain/highlights) and, unusually, the underlying mechanism (ASC CDL slope on a node), which lets an agent distinguish this from a raw CDL write. It stops short of explicitly contrasting itself with siblings like color_set_cdl, color_set_lift or color_set_offset, and the verb is only implied by the tool name rather than stated.

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 explicit when-to-use or when-not-to-use guidance, and no alternative is named. The parenthetical that the Color-page wheels are not scriptable hints at why the tool exists, but an agent still has to infer whether to call this versus color_set_cdl or color_set_lift for a highlight adjustment.

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