Skip to main content
Glama

Inspect a local audio file for defects

audio_inspect_asset
Idempotent

Inspect a local WAV, Ogg, MP3, or FLAC for decode integrity, silence, peak, DC, five-band spectrum, loop seam, duration, and spectrogram so you can decide which property to revise before shipping.

Instructions

Measure one local WAV, Ogg, MP3 or FLAC with the pinned threenative-playtest inspector: decode integrity, silence, peak, DC, five-band spectrum, declared-loop seam and requested duration, plus a spectrogram. Needs no ElevenLabs key. Reports technical status, and prompt/emotion fit only when local CLAP is provisioned. It never repairs or rewrites the file, and it never certifies artistic quality: use the findings to decide whether to revise one specific property, then listen before shipping.

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": {
      "path": "<path>",
      "loop": "<loop>"
    },
    "name": "audio_inspect_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
loopYesRequired: it decides whether the loop seam is checked at all, and a default would silently skip it.
pathYes
bandsNo
emotionNo
peakMaxNo
semanticNooff
silenceRmsNo
seamMaxRatioNo
expectedPromptNo
alternativePromptsNo
expectedDurationSecondsNo

Output Schema

NameRequiredDescriptionDefault
notesYes
cachedYes
limitsYes
analysisYes
cacheKeyYes
findingsYes
measuredNo
semanticYes
inputPathYes
promptFitYes
emotionFitYes
inputSha256Yes
inputSizeBytesYes
recommendationYes
artisticQualityYes
spectrogramPathNo
technicalStatusYes
effectiveExpectationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

A4/5.0
Behavior4/5

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

Adds real context beyond the annotations: no ElevenLabs key required, prompt/emotion fit only works when local CLAP is provisioned, and the tool never modifies the source file. This reconciles the apparently risky readOnlyHint=false with a clear statement that the audio itself is untouched (the write is presumably the spectrogram artifact). It stops short of describing failure modes or how the spectrogram is returned.

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?

Three well-packed sentences that front-load what is measured before moving to prerequisites and limits. Dense but every clause carries information (formats, key requirement, CLAP gating, no-repair guarantee, intended workflow). Minor cost: the first sentence is a long enumeration that takes effort to parse.

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 an 11-parameter tool with nested objects and an output schema, the description covers purpose, prerequisites and behavioral limits well, and the output schema relieves it of explaining returns. The remaining gap is parameter coverage: threshold-like inputs (peakMax, silenceRms, seamMaxRatio, bands min/max) have neither schema descriptions nor description guidance, which an agent needs to call this correctly.

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 only 9% across 11 parameters, so the description has to compensate and does so partially: it maps to loop ('declared-loop seam'), expectedDurationSeconds ('requested duration'), expectedPrompt/emotion ('prompt/emotion fit'), and semantic ('local CLAP'). It says nothing about peakMax, silenceRms, seamMaxRatio, bands, or alternativePrompts, leaving threshold units and semantics undocumented in both places.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

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

Opens with a specific verb and resource: 'Measure one local WAV, Ogg, MP3 or FLAC with the pinned threenative-playtest inspector,' then enumerates exactly what is measured (decode integrity, silence, peak, DC, five-band spectrum, loop seam, duration, spectrogram). It is immediately distinguishable from the generation/download siblings, which operate on remote assets rather than inspecting a local file.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The closing sentence gives clear when-to-use guidance ('use the findings to decide whether to revise one specific property, then listen before shipping') and explicit exclusions ('never repairs or rewrites the file', 'never certifies artistic quality'). It does not name a sibling alternative for cases where the agent doesn't have a local file, which keeps it short of a 5.

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