Skip to main content
Glama

analyze_audio

Read-onlyIdempotent

Measure an audio file's loudness, levels, stereo, and spectrum to assess a mix without listening, with optional spectrogram and waveform images.

Instructions

Measure an audio file so you can judge a mix without hearing it.

Returns loudness (integrated LUFS, range LU, true peak dBTP, short-term and momentary max), levels (sample peak, RMS, crest factor, DC offset, clipped samples), stereo (correlation -1..1; width = side/mid RMS, 0 = mono), spectrum (% of energy: sub <60 Hz, low 60-250, low_mid 250-2k, high_mid 2k-6k, high >6k), a short-term loudness curve, dropouts and plain-language notes. sections: "locators" (the bounce's locators, else Live's from 1.1.1) or [{name, start, end}] in seconds, for loudness per section. images=True adds a spectrogram and a waveform (PNG).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
imagesNo
sectionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false), and the description adds substantial behavioral context on top: it details exactly what gets returned (LUFS, dBTP, stereo correlation, spectral bands, dropouts, notes) and how the 'sections' and 'images' options alter behavior.

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?

The description is long but densely informative and front-loads its purpose before listing return details. Every clause contributes necessary information about output content, with no filler, though the run-on structure makes it slightly dense.

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?

With no output schema, the description admirably covers the return payload, and annotations handle safety. Gaps remain around supported audio formats and expected 'path' format, but for a read-only analysis tool the definition is largely complete.

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 description coverage is 0%, so the description must compensate. It clearly explains 'sections' (locators or [{name, start, end}] in seconds) and 'images' (adds spectrogram and waveform PNGs), covering two of three parameters well; only the obvious 'path' lacks format guidance.

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?

The description states a specific verb ('Measure') and resource ('an audio file') and immediately clarifies the goal ('judge a mix without hearing it'). It enumerates the exact metrics returned, making it clearly distinct from siblings like export_audio or get_meters.

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?

The phrase 'so you can judge a mix without hearing it' implies the analysis use case, but there is no explicit comparison to alternatives such as get_meters or export_audio, nor any when-not guidance. Usage is suggested rather than stated.

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