Skip to main content
Glama

reaper_level_loudness

Levels a REAPER track by short-term LUFS with a pre-FX volume envelope, then dips boosted peaks to the true-peak ceiling while preserving quiet passages and existing automation.

Instructions

Level a track by short-term loudness (LUFS, 3 s) with the pre-FX volume envelope, then dip every place where the boosted signal would exceed the true-peak ceiling. Quiet passages (20 LU under the integrated loudness) stay untouched. Multiplies onto the existing curve (voice dips are kept); one undo step.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "reaper_level_loudness"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoSeconds; item extent if omitted
startNoSeconds; item extent if omitted
trackNoTrack number or name; the selected track if omitted (exactly one must be selected)
step_sNoGain point spacing
dry_runNo
excludeNoLeft at 0 dB: region/marker-section names or {start, end} in seconds
strengthNoFraction of the correction; <1 keeps natural dynamics
max_cut_dbNo
target_lufsNoShort-term target; integrated loudness if omitted
ceiling_dbtpNoPeak ceiling in dBTP for the signal entering the FX chain
max_boost_dbNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare a non-readonly, non-destructive, non-idempotent mutation, so the safety profile is covered. The description adds genuine value beyond them: it names the envelope being written, states that the correction multiplies onto the existing curve so prior voice dips survive, discloses that quiet passages are exempt, and notes the operation is a single undo step. That said, the multi-sentence behavior disclosure is mostly covered by the annotation-supported mutation context and the ceiling/quiet-passage rules are described as fixed behaviors rather than clearly tied to the exposed controls.

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?

The description is front-loaded with the primary action and follows with the peak-protection, exemption, and merge semantics in order of importance. It is dense but each sentence conveys distinct behavior; minor tightening is possible around the true-peak clause.

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 an 11-parameter mutation tool with no output schema, the description explains the core algorithm, the non-destructive merge and undo behavior, but omits what the call returns or reports (before/after gains, peak violations), how dry_run differs from execution, and how the exclude and strength controls affect results. Adequate for the main concept, incomplete for safe invocation of the full parameter surface.

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?

Eleven parameters with 73% schema description coverage means the schema already carries the parameter documentation, so the baseline is 3. The description never names a parameter (target_lufs, ceiling_dbtp, strength, exclude, dry_run, step_s) and adds no syntax or format meaning beyond the schema; the '20 LU under integrated loudness' exemption is a fixed rule, not a documented parameter, and dry_run/preview semantics go unexplained.

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?

The description gives a specific verb and target ("Level a track") plus the exact mechanism (short-term LUFS with 3 s window, written to the pre-FX volume envelope, with true-peak dips). It implicitly distinguishes itself from integrated-loudness siblings by naming short-term loudness, but it never names an alternative explicitly, so an agent must infer the boundary from sibling names alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, and no mention of the obvious alternatives (reaper_normalize_loudness, reaper_auto_level, reaper_level_phrases, reaper_level_voice). The only usable cues are behavioral side effects (quiet passages untouched, multiplicative merge), which is weaker than explicit routing guidance.

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