Skip to main content
Glama

get_exr_header

Retrieve all OpenEXR header attributes for a specified file part, including custom metadata such as Houdini render settings and color space information.

Instructions

Return all header attributes for the given part, including custom metadata such as Houdini render settings and color space information.

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": "<file_path>"
    },
    "name": "get_exr_header"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYesAbsolute path to the EXR file
part_indexNoPart index (0-based)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/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 burden, and it does convey that this is a non-mutating metadata read and gives useful content hints (custom metadata, Houdini render settings, color space). It says nothing about error behavior for a missing file or invalid part_index, or about the structure/volume of what is returned, which matters since no output schema exists.

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?

Two short clauses with the core action front-loaded and no filler. The trailing "including custom metadata such as..." earns its place by telling the agent what kinds of attributes to expect.

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 simple two-parameter read tool with no annotations, the description tells the agent what it retrieves and roughly what categories of data appear. The main residual gap is failure semantics (invalid path, out-of-range part index), which is minor for this complexity.

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 file_path (absolute path) and part_index (0-based) are already documented in the schema. The description's phrase "for the given part" only loosely reinforces part_index and adds no format or default behavior beyond the schema, so the baseline of 3 applies.

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?

States a specific verb and resource ("Return all header attributes for the given part") and names the scope (a part of an EXR file). It is not explicitly differentiated from close siblings like get_exr_info, which likely returns broader file-level information, so sibling routing is left to inference.

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 mention of alternatives such as get_exr_info or get_exr_channels, and no prerequisites or exclusions. The usage is only weakly implied by the word "header".

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