Skip to main content
Glama

photo_adjust_white_balance

Adjust a photo's white balance by setting temperature from -1 (cool) to +1 (warm), applying a generated 3D LUT to node 1.

Instructions

White balance temperature (-1 cool .. +1 warm) on a photo: generated 3D LUT applied to node 1 (the primaries wheels are not scriptable).

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

Input Schema

NameRequiredDescriptionDefault
albumNoAlbum name or id (default: current album)
photoYesPhoto name, id or 1-based index in the album
valueYes

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

A3.9/5.0
Behavior4/5

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

Annotations declare non-read-only, non-destructive, closed-world, so the description need not restate safety. It still adds real mechanism the annotations lack: a generated 3D LUT is applied at node 1, and the primaries wheels are excluded because they are not scriptable — useful for predicting side effects.

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?

A single front-loaded sentence with a parenthetical caveat, no filler. Every clause carries information an agent would otherwise have to guess.

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?

Output schema exists so return values need no explanation, and the mutation's mechanism is disclosed. Only minor gaps remain, such as persistence/undo behavior and how repeated applications compose.

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

Parameters4/5

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

Schema coverage is 67%, and the description compensates for the one undocumented parameter by defining value semantics (-1 cool .. +1 warm) beyond the bare min/max. Album behavior is left entirely to 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?

Specific verb+resource: white balance temperature adjustment on a photo, with the value range and direction spelled out. It implicitly separates itself from color_auto_balance by being a manual temperature control, but never names an alternative explicitly.

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 only implied: the range notation tells an agent what the tool does, and the note that primaries wheels are not scriptable hints at a limitation. There is no explicit when-to-use vs when-to-prefer-auto-balance guidance.

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