Skip to main content
Glama

audio_measure

Read-only

Measures the actual audio signal—not AI listening—in PCM WAV files without dependencies; compressed formats require FFmpeg.

Instructions

Measure actual audio signal (not AI listening). PCM WAV works without dependencies; compressed formats require FFmpeg.

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": "<file>"
    },
    "name": "audio_measure"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesRelative audio file path within --media-dir

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuinely new operational context, namely that PCM WAV needs no dependencies while compressed formats require FFmpeg, but says nothing about error behavior on unsupported formats or what the measurement output contains.

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?

Two sentences, no filler, with the core purpose front-loaded and the dependency caveat second. The parenthetical is slightly telegraphic but still parseable.

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?

This is a simple one-parameter read-only tool, so little is strictly required. With no output schema, though, the description should say what measurements come back and in what form; that omission is the main remaining gap for an agent deciding whether this tool yields the data it needs.

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?

The single parameter is fully documented in the schema (100% coverage), including the '--media-dir'-relative path constraint and length bounds. The description adds only indirect meaning by implying which file formats are acceptable; it does not clarify path resolution or format handling beyond that.

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 object ('Measure actual audio signal') and explicitly excludes the AI-interpretation sibling ('not AI listening'). It stops short of naming which measurements are produced (loudness, peak, clipping, duration), so the scope of 'measure' remains partly inferred.

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 parenthetical 'not AI listening' implicitly routes the agent away from audio_listen and toward objective analysis, and the FFmpeg note is a practical precondition. However, there is no explicit when-to-use/when-not statement or named alternative such as audio_compare or audio_listen for subjective checks.

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