Skip to main content
Glama

Check against platform loudness targets

check_loudness_targets
Read-only

Compare a file's loudness to YouTube, Spotify, podcast, EBU R128, and other targets to see if each platform will turn it down, leave it quieter, or reject it for broadcast.

Instructions

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).

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": {
      "path": "<path>"
    },
    "name": "check_loudness_targets"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path to a local audio or video file. ~ is expanded.
startNoOnly analyse from this time (seconds or HH:MM:SS).
targetsNoTargets: youtube, spotify, apple_music, tidal, social, podcast, ebu_r128, atsc_a85
durationNoOnly analyse this many seconds.
include_acxNoAlso check ACX/Audible audiobook requirements.
audio_streamNoWhich audio stream to use if the file has several (0 = first).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description goes further by explaining how results should be interpreted per platform (turn down, leave quieter, reject for broadcast) and that ACX mode adds RMS, peak, and noise-floor checks. It stops short of noting whether files are decoded/transcoded or how long an analysis takes, but the semantic payoff of the call is well disclosed.

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 tight sentences with the core purpose front-loaded and the target enumeration second. The target list partially duplicates the schema's enum description, a minor redundancy, but nothing else is wasted.

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 read-only, no-output-schema tool with full parameter documentation, the description covers what it takes, what standards it applies, and the nature of the verdict. Only the shape of the returned report is left implicit, which is acceptable given there is no output schema.

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 description coverage is 100%, so every parameter is already documented in structured form. The description restates the target family list and clarifies that ACX is an audiobook-specific rule set, which adds modest meaning beyond the schema but no syntax or edge-case detail.

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 ('Compare a file to loudness targets') plus the distinctive output ('explain what each platform will do with it'), and enumerates the supported targets. This clearly separates it from measure_loudness (raw measurement) and normalize_loudness (fixing).

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 scenario (evaluating a file against platform delivery specs) is implied by the target list, but the description never states when to prefer this over measure_loudness, nor any prerequisites or exclusions. Usage is inferable rather than guided.

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