Skip to main content
Glama

get_dpx_header

Retrieve all DPX header metadata from a file, including transfer characteristic, colorimetric, input device, frame position, timecode, and signal standard. Use it to inspect DPX specifics.

Instructions

Return all header metadata for the DPX file, including DPX-specific fields such as transfer characteristic, colorimetric, input device, frame position, timecode, and signal standard.

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_dpx_header"
  }
}

Input Schema

NameRequiredDescriptionDefault
subimageNoImage element index (0-based) for multi-element DPX
file_pathYesAbsolute path to the DPX file

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.1
    • addedInput schema / properties / subimage
      Added value: +{
      +  "default": 0,
      +  "description": "Image element index (0-based) for multi-element DPX",
      +  "minimum": 0,
      +  "title": "Subimage",
      +  "type": "integer"
      +}
  2. First observedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the read-only nature ('Return') and the substantive content of the result by naming the header fields, which is real value, but says nothing about failure modes (missing file, invalid/unparseable DPX), whether subimage selection changes the returned header, or the shape/ordering of the returned metadata.

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 efficient sentence that front-loads the purpose and then supplies the field list. Nothing is redundant, though the field enumeration is somewhat long relative to the amount of guidance provided.

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 no annotations and no output schema, the description must carry the full contract. It identifies the returned fields but gives no sense of return structure, error behavior, or how it differs from the adjacent get_dpx_info tool, leaving a moderate gap for a simple two-parameter read.

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%, with both file_path and subimage documented in the schema itself, so the baseline is 3. The description adds no additional meaning about either parameter, and notably does not explain that subimage selects which image element's header is returned for multi-element DPX files.

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 clear verb and resource ('Return all header metadata for the DPX file') and enumerates the DPX-specific fields returned (transfer characteristic, colorimetric, input device, frame position, timecode, signal standard). It does not, however, distinguish this from the sibling get_dpx_info, so an agent cannot tell from the text alone which of the two to call.

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 exclusions, and no mention of the obvious alternative get_dpx_info. The agent is left to infer that this tool is for header fields while get_dpx_info presumably goes elsewhere, which is pure guesswork.

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