Skip to main content
Glama

Normalize Audio/Video Loudness (EBU R128)

media_audio_normalize

Normalize MP3, WAV, M4A, or MP4 audio to EBU R128 loudness for consistent podcast, YouTube, or Spotify playback using local FFmpeg processing with no uploads.

Instructions

Normalize audio volume of a local MP3/WAV/M4A/MP4 file to broadcast EBU R128 loudness (-16 LUFS default) using local FFmpeg loudnorm filter.

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": {
      "inputPath": "<inputPath>"
    },
    "name": "media_audio_normalize"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputPathYesLocal audio or video file path
outputPathNo
targetLufsNoTarget integrated loudness in LUFS (-16 for YouTube/podcast, -14 for Spotify)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.7/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 burden. It does add real value by disclosing that processing happens locally via FFmpeg's loudnorm filter, implying no upload/privacy exposure and audio re-encoding. It does not disclose what happens when the optional outputPath is omitted (in-place overwrite vs. sibling output file), whether video tracks are re-encoded, or processing cost — gaps that matter for a mutating tool.

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 dense sentence that front-loads the action and file scope, then adds the target standard, default, and engine. Every clause contributes information; nothing is padding or tautological restatement of the title.

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 no-annotation, no-output-schema mutation tool with a few parameters, the description covers what is being changed and to what target, but leaves the output/overwrite contract unspecified. An agent can invoke it correctly for the common case with inputPath only, but cannot predict where the result lands or whether the original is preserved.

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 67%: targetLufs is well documented in the schema with platform-specific values, and the description repeats the -16 LUFS default. inputPath is self-explanatory, but outputPath has no description in either place, and the description does not explain the default output location or overwrite behavior — the one parameter most likely to cause surprise. Roughly baseline for this coverage level.

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?

States a specific verb (normalize), resource (audio volume of a local MP3/WAV/M4A/MP4 file), target standard (EBU R128, -16 LUFS default) and mechanism (local FFmpeg loudnorm). This clearly separates it from sibling tools like media_compress_video or media_trim_extract_audio, which change size or length rather than loudness.

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 rather than stated: an agent can infer this is the tool for loudness normalization of a local file, and the target-platform hints (-16 for YouTube/podcast, -14 for Spotify in the schema) nudge toward correct settings. However, there is no explicit when-to-use/when-not guidance and no named alternative the agent should pick instead for related tasks such as compression or format conversion.

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