Skip to main content
Glama
retrace-mcp

retrace-mcp

by anthoo582

audio_decode_file

Decode PS2 VAG/VAGi and N64 AIFC VADPCM audio files to 16-bit PCM WAV; N64 decoding uses the file's own VADPCMCODES codebook and rejects missing codebooks.

Instructions

Decode a PS2 VAG/VAGi or N64 AIFC VADPCM file to 16-bit PCM WAV. N64 decoding requires the file's own VADPCMCODES codebook and refuses to invent one.

Input Schema

NameRequiredDescriptionDefault
pathYesAudio file in the workspace
applyNoSet true to write outPath; requires RETRACE_ALLOW_WRITE=1
formatNoForce a decoder (default auto)
outPathNoOptional WAV output path in the workspace

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/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 16-bit PCM WAV output and the N64 codebook refusal behavior, but it does not explain write gating, dry-run defaults, overwrite behavior, or what apply=true actually changes.

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 two tight sentences with no wasted wording. The core purpose is front-loaded, and the important N64 caveat follows immediately.

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?

It covers the core decoding behavior and the N64 prerequisite well, which is important for correct invocation. However, with no output schema and no annotations, it leaves the write/apply behavior and output return semantics less explicit than ideal.

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%, so the schema already documents path, apply, format, and outPath. The description adds some context by naming the supported formats and the N64 codebook requirement, but it does not deepen 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.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: decode PS2 VAG/VAGi or N64 AIFC VADPCM files to 16-bit PCM WAV. It clearly distinguishes the supported formats and output type, though it does not explicitly differentiate from close siblings such as audio_decode_vag_block or audio_inspect.

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?

Usage is implied by the decode-to-WAV purpose and by the N64 prerequisite requiring the file's own VADPCMCODES codebook. However, there is no explicit when-to-use guidance, when-not-to-use guidance, or routing to alternatives like audio_inspect or audio_decode_vag_block.

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