Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FFMPEG_PATHNoPath to the ffmpeg binary. The server looks for ffmpeg via FFMPEG_PATH first, then PATH, then common folders like /opt/homebrew/bin (Claude Desktop on macOS starts servers with a minimal PATH).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Audio loudness tools for local audio and video files. measure_loudness gives the EBU R128 numbers (integrated LUFS, true peak, LRA); check_loudness_targets compares them to YouTube, Spotify, Apple, podcast, social and broadcast targets (plus ACX audiobook rules); normalize_loudness writes a corrected copy (exact gain when possible, two-pass loudnorm otherwise); loudness_timeline, detect_silence and detect_clipping find where problems are.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
check_setupA

Confirm ffmpeg is installed (with the ebur128 and loudnorm filters) and report its version and path. Run this first if other tools fail.

measure_loudnessA

Measure a file's loudness the way streaming platforms and broadcasters do: integrated loudness (LUFS), true peak (dBTP), loudness range (LRA), max momentary and short-term loudness, plus sample peak, RMS, noise floor and DC offset. Works on audio files and on the audio track of videos. Optionally compare to targets in the same call.

check_loudness_targetsA

Compare a file to loudness targets and explain what each platform will do with it (turn it down, leave it quieter, or reject it for broadcast). Targets: YouTube, Spotify, Apple Music, Tidal, social (Instagram/TikTok/Shorts), podcast, EBU R128, ATSC A/85. Optionally checks ACX audiobook rules (RMS, peak, noise floor).

normalize_loudnessA

Write a loudness-corrected copy. The file is measured first; if a plain gain change reaches the target without exceeding the true-peak ceiling, exactly that gain is applied (linear, dynamics untouched). Otherwise ffmpeg's two-pass dynamic loudnorm is used to hit both targets. Pick a target preset or give custom integrated LUFS / true-peak / LRA values. For video files the video stream is copied untouched. The result is re-measured. Never overwrites without overwrite: true.

loudness_timelineA

Break a file into windows (default 5 s) and report max momentary loudness, short-term loudness and true peak for each, then point out the loudest and quietest sections and sudden jumps. Use it to find the ad-read that's too hot, the guest who's too quiet, or the music sting that spikes. Optional CSV export.

detect_silenceA

Find silent stretches (below a noise threshold for at least a minimum duration). Returns each gap with timestamps and totals, and optionally the inverse — padded 'keep' segments — so you can plan jump cuts or tighten a podcast. Can export the keep list as CSV or an ffmpeg concat-ready list.

detect_clippingA

Check for digital clipping and peaks that will distort after MP3/AAC encoding: sample peak, true peak, flat factor (runs of samples stuck at full scale), and the time ranges where the true peak crosses a threshold.

list_targetsA

Show every loudness target this server knows, with integrated LUFS, tolerance, true-peak ceiling and how the platform behaves.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 8 tools

Disambiguation4/5

Most tools have clearly distinct purposes: measurement, target comparison, normalization, timeline analysis, silence detection, clipping detection, target listing, and environment setup are all separable jobs. The one real overlap is that measure_loudness can 'optionally compare to targets in the same call,' which partially duplicates check_loudness_targets and could cause an agent to pick the wrong one for a pure compliance check. Descriptions do clarify the split (raw measurement vs. platform-behavior explanation), so the risk is modest rather than severe.

Naming Consistency4/5

Seven of eight tools follow a clean verb_noun pattern (check_setup, measure_loudness, check_loudness_targets, list_targets, normalize_loudness, detect_silence, detect_clipping). The lone deviation is loudness_timeline, which puts the noun first and reads more like a feature than an action. Minor inconsistency, but the set remains highly readable.

Tool Count5/5

Eight tools is well within the ideal range and each one earns its place: setup diagnostics, measurement, target knowledge, target comparison, correction, time-windowed analysis, and two problem detectors. There is no filler or redundant tool bloating the surface.

Completeness5/5

The domain is loudness analysis and correction for audio/video, and the surface covers the full loop: verify dependencies, measure, compare against known platform/broadcast targets, inspect over time, detect silence and clipping, and write a corrected copy. Listing targets separately also gives the agent a way to resolve presets without guessing. No obvious dead ends for the stated purpose.