Skip to main content
Glama

color_get_cdl

Read-only

Read a color node's primaries as an ASC CDL so existing grade settings can be preserved before making changes. Use it to inspect clips in DaVinci Resolve 21+.

Instructions

Read a node's primaries as an ASC CDL (GetCDL, Resolve 21+) — read before changing to preserve existing settings.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "color_get_cdl"
  }
}

Input Schema

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

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered; the description adds genuinely new context by pinning the underlying operation to GetCDL and requiring Resolve 21+. It does not discuss failure modes (e.g., no node at the given index) or the shape of what is returned, which the output schema presumably covers.

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?

One compact sentence with the action and payload front-loaded, followed by the operational caveat. Nothing is redundant and nothing can be trimmed without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only accessor with a full output schema and explicit safety annotations, the description supplies what is missing structurally: which operation it wraps, the version gate, and how it fits into a read-then-write workflow. Only edge-case behavior (invalid node/clip index, what happens with no CDL present) is left unstated.

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?

The description mentions no parameter by name and adds no meaning about nodeIndex, itemId, or track targeting beyond the schema. Schema coverage is 67% (trackType and trackIndex are undocumented), but the missing ones have an enum/default and a 1-based convention that are largely inferable, so this lands at the mid baseline rather than below it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Read') and a specific resource ('a node's primaries as an ASC CDL'), plus the concrete API/version it maps to ('GetCDL, Resolve 21+'). This is clearly distinguishable from the write-side siblings such as color_set_cdl, so an agent can select it without opening the schema.

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

Usage Guidelines4/5

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

Gives an explicit usage condition: 'read before changing to preserve existing settings', which steers the agent to call this before any CDL mutation. It stops short of naming the alternative tool (color_set_cdl) or stating when not to use it, so it lacks the full when/when-not/alternatives framing of a 5.

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