Skip to main content
Glama

color_set_contrast

Adjust contrast around a pivot in a DaVinci Resolve clip by generating and applying a 3D LUT to a color node, replacing that node’s existing LUT.

Instructions

Contrast (1 = neutral) around pivot. Not directly scriptable; implemented by generating a 3D LUT with this adjustment and applying it to the node (replaces that node's LUT).

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_contrast"
  }
}

Input Schema

NameRequiredDescriptionDefault
pivotNo
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.4/5.0
Behavior4/5

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

The description goes well beyond the annotations by disclosing the internal mechanism (3D LUT generation) and, critically, that it overwrites the target node's existing LUT, plus a warning that the operation is not independently scriptable. This is meaningful mutation context, though it does not mention the schema's restore-oriented 'preserve' default, leaving mild tension with destructiveHint=false.

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 sentences, front-loaded with the core semantics and followed by the implementation caveat; nothing is padded. The phrase "Not directly scriptable" is slightly cryptic without elaboration, which keeps it from a 5.

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?

For a 9-parameter mutation tool, the description covers the effect and its key side effect, and an output schema exists so return values need no explanation. However, it omits how clip/node targeting resolves when itemId versus itemIndex plus trackIndex are supplied, which is the main ambiguity an agent would face.

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 56% schema description coverage, the schema documents itemId, timeline, preserve, itemIndex, and nodeIndex, while the description adds only the meaning of value (1 = neutral) and the role of pivot. Two of the nine parameters (pivot, value, trackIndex) receive no further clarification, so the definition neither compensates nor adds much beyond 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?

"Contrast (1 = neutral) around pivot" names the adjusted property, the neutral value, and the pivot anchor, which distinguishes it from lift/gamma/gain/offset siblings. It stops short of naming an alternative (e.g. applying a LUT directly via color_apply_lut), so an agent must infer the boundary from the resource name alone.

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 when-to-use or when-not-to-use guidance, no prerequisites, and no named alternative among the many sibling color tools. The only contextual guidance is a technical caveat about implementation, which does not tell the agent when this tool is the right choice versus photo_adjust_contrast or color_apply_lut.

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