Skip to main content
Glama
retrace-mcp

retrace-mcp

by anthoo582

texture_analyze_palette

Analyze N64 TLUT RGBA16 palette buffers to count transparent vs opaque colors, identify unique colors, and extract hex values for texture inspection.

Instructions

Analyze an N64 TLUT palette buffer: count transparent vs opaque colors, unique colors, and hex values.

Input Schema

NameRequiredDescriptionDefault
hexYesHex representation of palette data (RGBA16 entries)
endianNoEndianness (default big for N64)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/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 disclosure burden. It implies a pure read-only analysis and names the specific metrics computed, which is genuinely useful, but it says nothing about behavior on malformed/non-RGBA16 input, size assumptions, or the shape of the returned data.

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?

A single front-loaded sentence with no filler; the resource and the reported outputs are packed in without redundancy.

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?

For a simple two-parameter read-only tool with a fully documented schema, the description is nearly sufficient, and its enumeration of counted values partially substitutes for a missing output schema. However, it leaves the exact return structure and the input-format contract implicit, which matters since no output schema exists.

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% with both parameters documented and an enum for endianness, so the schema does the heavy lifting. The description's mention of RGBA16 entries loosely reinforces the 'hex' parameter's format but adds no syntax or size constraints beyond the schema.

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 ('Analyze') and resource ('N64 TLUT palette buffer') and enumerates the results produced (transparent vs opaque counts, unique colors, hex values). An agent can distinguish it from texture_inspect or texture_decode_n64, though the description never names those siblings 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?

No guidance on when this palette analysis should be used instead of texture_inspect or texture_decode_n64, and no stated prerequisites (e.g. that the hex input must be a TLUT buffer rather than general texture data). The agent must infer the context entirely from the description.

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