Skip to main content
Glama

photo_adjust_contrast

Adjust a photo's contrast by applying a generated 3D LUT to node 1 in DaVinci Resolve, using a value from 0 to 3 where 1 is neutral.

Instructions

Contrast (1 = neutral) 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_contrast"
  }
}

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

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the mutation/safety profile is largely covered. The description does add genuine behavioral context beyond that: the operation is implemented as a generated 3D LUT on node 1, and primaries wheels are explicitly out of scope. It still doesn't say whether the change is persisted or how it interacts with existing grades.

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?

A single dense sentence with the most decision-relevant fact (the neutral value) front-loaded. Minor deduction for the slightly opaque node/LUT phrasing, but no filler.

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?

Output schema exists, so return values need not be explained. For a mutation tool with only three parameters, the definition covers the value semantics and the mechanism but leaves gaps on persistence, effect on existing node state, and the relationship to overlapping siblings.

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%, with photo and album well documented in the schema, but the value parameter only appears as a bare number 0-3. The description supplies the missing key fact — '1 = neutral' — which meaningfully changes how an agent sets the value. That is real added meaning beyond the schema.

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

Purpose3/5

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

The description names the resource and the quantity being set (contrast on a photo) and implies an adjustment operation, so the agent can infer intent. However, it never uses a clear verb and spends its second half on implementation detail ('3D LUT applied to node 1') rather than differentiating itself from siblings like color_set_contrast or photo_adjust_exposure.

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 guidance, no prerequisites, and no mention of alternatives. The nearby sibling color_set_contrast plausibly overlaps, yet the description gives no basis for choosing between them.

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