Skip to main content
Glama

reaper_level_voice

Levels a voice track by writing per-phrase and per-word gain corrections into its pre-FX volume envelope, so speech sits at a consistent level without splitting items, in one undo step.

Instructions

Level a voice track in its pre-FX volume envelope without splitting items: one gain per phrase (split at pauses of 400 ms+), plus its own gain for a word that is quieter or louder than its phrase by more than word_tolerance_db. Gains change in the gaps between words (ramps up to 300 ms), boosts keep sample peaks under -1 dBFS. Reads audio through REAPER, so any format works (m4a too). 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_voice"
  }
}

Input Schema

NameRequiredDescriptionDefault
trackNoTrack number or name; the selected track if omitted (exactly one must be selected)
dry_runNo
replaceNoOverwrite the envelope over the voice instead of multiplying onto it
target_dbNoTarget speech level, dBFS RMS; median speech level if omitted
max_gain_dbNo
min_change_dbNoSmaller corrections are skipped and neighbours this close share one gain
word_tolerance_dbNoA word further than this from its phrase level gets its own gain

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior5/5

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

Annotations only mark it as mutating and non-idempotent; the description goes considerably further by naming the thing modified (the pre-FX volume envelope), the reversibility guarantee ('One undo step'), the granularity (one gain per phrase, plus per-word exceptions), the ramp behaviour in gaps, and the peak ceiling of -1 dBFS. It also explains that audio is decoded through REAPER so any source format is accepted, which removes a whole class of pre-flight uncertainty for an agent.

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 definition is front-loaded with the core operation and tightly packed with operative detail across four sentences, with parenthetical asides for the timing constants. The 'm4a too' example is a small indulgence but earns its place by clarifying format coverage; nothing is clearly redundant.

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 7-parameter mutating tool with no output schema, the description covers the processing algorithm and undo behaviour well. It is, however, silent on the two parameters most relevant to an agent's risk decision — dry_run (preview without committing) and replace (overwrite vs multiply onto an existing envelope) — and says nothing about what the call returns, which leaves a meaningful gap for a destructive-adjacent operation.

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 71%, so the schema already documents most parameters, and the description's mention of word_tolerance_db largely restates the schema's own wording. Behavioural meaning is added for the tolerance concept (per-word gain triggered only when a word deviates from its phrase), but dry_run, replace, target_db and max_gain_db are never discussed in the description, so it does not compensate for the remaining gap.

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 opens with a specific verb and resource ('Level a voice track in its pre-FX volume envelope') and constrains scope with 'without splitting items', which implicitly separates it from segment/phrase-splitting siblings. It stops short of naming any alternative tool outright, so an agent gets a clear picture of what this does but must infer which sibling is the substitute.

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 context is only implied: the 'voice track' framing and 'without splitting items' hint at when to prefer this over item-splitting approaches, and 'pre-FX' signals it should not be used where FX-chain gain is the target. There is no explicit when-to-use/when-not-to-use statement and no alternative named, leaving routing largely to inference.

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