Skip to main content
Glama

normalize_audio

Normalize audio or video loudness to EBU R128 with -16 LUFS for podcasts/Reels or -14 LUFS for YouTube; optionally apply voice clarity filters to reduce mic rumble.

Instructions

Normalize audio loudness using the broadcast standard EBU R128 (loudnorm). Supports -16 LUFS (podcasts/Reels), -14 LUFS (YouTube), and optional voice clarity enhancement (80Hz high-pass to remove mic rumble). Works on audio or video files with post-flight verification.

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>",
      "outputPath": "<outputPath>"
    },
    "name": "normalize_audio"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputPathYesPath to the source audio or video file.
outputPathYesDestination path for the normalized media file.
targetLufsNoTarget integrated loudness in LUFS (-16 for podcasts/Reels, -14 for YouTube, -23 for broadcast). Default: -16.
targetPeakDbNoMaximum allowed true peak level in dBTP. Default: -1.5.
voiceClarityNoApply speech enhancement filters (80Hz high-pass to remove mic rumble and gentle compressor for presence). Default: false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A4.2/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 burden; it does disclose the processing standard, the voice-clarity filter chain (80Hz high-pass, presence compressor), and that video inputs are accepted, plus 'post-flight verification.' It omits write semantics that matter for a file-producing tool: whether outputPath is overwritten, whether originals are touched, and what verification actually reports.

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?

Three compact sentences with zero filler, front-loaded with what the tool does and the standard it uses, followed by the option set and the input-type scope. Nothing repeats the tool name or wastes words.

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?

For a five-parameter media-processing tool with fully documented schema and no output schema, the definition covers purpose, standard, platform targets, filter behavior, and accepted input types. The remaining gap is output-side behavior (overwrite policy, what 'post-flight verification' returns), which is modest given the rich schema.

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 coverage is 100%, so baseline is 3, but the description adds genuine meaning by tying targetLufs values to concrete use cases and explaining the intent of the voice-clarity filter (removing mic rumble). It adds little beyond the schema for targetPeakDb or the two path parameters.

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 and resource (normalize audio loudness) plus the exact standard used (EBU R128 / loudnorm), which is enough to separate it from siblings like trim_silence or compress_video without opening a schema. The named platform targets (-16 LUFS for podcasts/Reels, -14 for YouTube) further pin down the operation.

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?

Usage context is clear: it names the platform-driven target values and flags the optional voice-clarity path for speech material, so an agent knows when this tool is appropriate. It stops short of explicit exclusions or naming an alternative (e.g., when to prefer trim_silence or compress_video instead).

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