Skip to main content
Glama

set_white_balance

Idempotent

Sets white balance mode (ATW, Indoor, Outdoor, Manual) on a camera and lets you adjust manual red and blue levels for accurate color under different lighting.

Instructions

Set white balance mode and optional manual red/blue levels.

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": {
      "mode": "<mode>"
    },
    "name": "set_white_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYesWhite balance mode (ATW, Indoor, Outdoor, Manual)
channelNoCamera channel (default 0)
manualRedLevelNoManual red level (0-2048)
manualBlueLevelNoManual blue level (0-2048)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the write-safe profile is covered. The description adds little beyond that: it does not say whether the change persists on the device, what happens to red/blue levels if mode is not Manual, or whether invalid modes are rejected. For a device mutation tool this is thin.

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 front-loaded sentence with no filler or redundancy. Its brevity is appropriate structurally, though the terseness reflects under-specification captured in other dimensions.

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?

With four parameters, full schema coverage, and annotations stating the safety profile, the essentials for invocation are present. However, the mode/manual-level dependency and the lack of any pointer to get_white_balance for verification leave meaningful gaps for a configuration-mutating tool.

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?

Schema description coverage is 100% (mode enum values, channel default, 0-2048 ranges are all in the schema), so the baseline is 3. The description only adds the word 'optional' for the manual levels, which does not go beyond what required=['mode'] already encodes.

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 names a specific verb (Set) and resource (white balance), plus the two facets it controls: mode and optional manual red/blue levels. An agent can distinguish it from the get_white_balance sibling by the verb alone, though no sibling is named explicitly.

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 statement that manualRedLevel/manualBlueLevel are only meaningful when mode is Manual, and no mention of verifying the result via get_white_balance. Only the word 'optional' hints at usage, leaving the agent to infer the interaction between mode and levels.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.