Skip to main content
Glama

get_tx_channels

Return channel names, pixel types (HALF/FLOAT/UINT8), and tiling details for a TX file so you can inspect image channels across MIP levels.

Instructions

Return channel details for the TX file: channel names, pixel types (HALF/FLOAT/UINT8),
and tiling information. Channels are identical across all MIP 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": {
      "file_path": "<file_path>"
    },
    "name": "get_tx_channels"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYesAbsolute path to the TX file
mip_levelNoMIP level to read (0 = full resolution)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.7/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 discloses one genuinely useful trait (channels do not vary by MIP level) and implies a safe read via 'Return', but says nothing about failure modes for a bad path, or about the shape and ordering of the returned channel list.

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?

Three short sentences, front-loaded with the purpose and result payload. The MIP-level sentence is short and earns its place by preventing a pointless parameter sweep.

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 two-parameter read tool with full schema coverage and no output schema, the description covers what is returned and the one non-obvious behavioral fact. Only return ordering/structure and error behavior are unaddressed, which is minor at this complexity.

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 100%, so the baseline would be 3, but the description adds real meaning: it tells the agent that mip_level has no effect on the channel result, which the schema's 'MIP level to read' text does not convey. file_path gains nothing beyond the schema, which is acceptable given full coverage.

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 channel details for the TX file') and enumerates the payload: channel names, pixel types (HALF/FLOAT/UINT8), and tiling information. That is enough to separate it from get_tx_header and get_tx_info without opening their schemas, though it never names a sibling explicitly.

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?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. Usage is implied by the payload list, and the note that channels are identical across MIP levels implicitly tells the agent not to bother varying that parameter.

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