Skip to main content
Glama

compare_exr_channels

Compare channels between two EXR files and report max, mean, and RMS differences to QC render versions and catch unwanted changes.

Instructions

Compare channels between two EXR files. Reports max, mean, and RMS differences. Useful for QC between different render versions.

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": {
      "file_path_a": "<file_path_a>",
      "file_path_b": "<file_path_b>"
    },
    "name": "compare_exr_channels"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelsNoChannel names to compare; null means all common channels
part_indexNoPart index (0-based)
file_path_aYesAbsolute path to the first EXR file
file_path_bYesAbsolute path to the second EXR file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the reported output metrics (max, mean, RMS differences), but omits read-only implications, side effects, error behavior, and whether results are per-channel or aggregate.

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?

The description is three short sentences, front-loaded with the core action and output, and contains no redundant restatement of the tool name or schema fields.

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 moderate-complexity comparison tool with no output schema, the description covers purpose and return metrics adequately. It leaves some ambiguity around whether differences are per-channel or aggregate and does not describe edge-case behavior, but the schema fills in parameter details.

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 coverage is 100%, so the schema already documents all four parameters including channels default and part_index meaning. The description adds no additional parameter semantics beyond what the schema provides.

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?

The description gives a specific verb and resource: 'Compare channels between two EXR files.' It also names the computed metrics (max, mean, and RMS differences), which distinguishes it from siblings like get_exr_channels or get_exr_pixel_stats.

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?

It provides a clear scenario ('Useful for QC between different render versions'), which implies when to use it. However, it does not name alternatives, state when not to use it, or clarify how it relates to sibling validation or stats tools.

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