Skip to main content
Glama

color_set_gamma

Sets RGB gamma (midtone) values on a timeline clip’s color node via ASC CDL power, optionally preserving the prior grade in a new version for rollback.

Instructions

Gamma (midtones) — mapped to CDL power = 1/gamma 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_gamma"
  }
}

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

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

Annotations already declare this is a write operation that is not destructive, and the description adds useful behavioral context: the operation is implemented through ASC CDL node power rather than the non-scriptable Color-page wheels. It does not discuss preserve behavior, existing-grade impact, or other operational details beyond that mapping.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact, front-loaded with the gamma/midtones purpose, and follows with the implementation caveat and value format. There is no wasted wording.

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?

The description covers the core mechanism and an important limitation, and the annotations plus output schema reduce the disclosure burden. However, for an eight-parameter mutation tool, it leaves usage selection and most parameter behavior to the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description clarifies the required value parameter as RGB triples and hints that a node is involved, but it says nothing about the other seven parameters or how track/item/node selection works. With only 63% schema description coverage and two undocumented parameters, it does not compensate enough for the gaps.

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 states that this sets gamma/midtones and explains the specific implementation: gamma maps to CDL power via ASC CDL on a node. That is enough to distinguish it from general CDL setting, although it never explicitly says 'set' and does not directly point to alternate color tools.

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?

It implies the tool is for gamma/midtones and explains the CDL mapping, but gives no explicit when-to-use guidance, exclusions, or comparison to siblings such as color_set_cdl or color_set_gain. An agent must infer usage from the name and mechanism.

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