Skip to main content
Glama

reaper_trim_silence

Shortens long silences and trims silent starts/ends on a REAPER voice track, keeping each item's first word in place so other items do not move. Run before leveling.

Instructions

Shorten the silences on a voice track: inside each item, silences of min_silence_ms+ are cut down to keep_ms (10 ms fades at the joins) and silent starts/ends are trimmed. Each item's first word keeps its position and the rest closes up behind it, so items get shorter and other items do not move. Run before leveling: envelope points do not follow the cut audio. 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_trim_silence"
  }
}

Input Schema

NameRequiredDescriptionDefault
trackNoTrack number or name; the selected track if omitted (exactly one must be selected)
dry_runNo
keep_msNoLength a long silence is shortened to; silent item edges keep half
threshold_dbNoAbsolute silence threshold in dBFS RMS instead of above_noise_db
above_noise_dbNoSilence = below the item's room tone plus this
min_silence_msNoShorter silences inside an item are left alone

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent, closed-world, so the safety profile is structured data. The description still adds real value beyond it: 10 ms fades at joins, per-item ripple behavior ('items get shorter and other items do not move'), the envelope-point caveat, and 'One undo step' – which is why this lands above baseline despite the annotation coverage. It remains silent on runtime, failure on too-short items, and whether a preview/summary is returned.

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?

Four sentences, zero filler, and the operative effect is front-loaded before the caveats. The parenthetical about fades is compact and precise rather than padding.

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?

There is no output schema, and the description never states what the call returns or reports, nor does it cover dry_run – the single undocumented parameter. It does compensate well on the destructive-behavior side (undo step, ripple scope, envelope caveat), but the missing dry_run semantics is a real hole for a mutating tool with a preview mode.

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 83%, so the schema is the primary source for most parameters and a 3 would be the floor. The description adds meaning beyond it: it explains the interaction between min_silence_ms and keep_ms (the threshold that triggers a cut versus the length a cut silence becomes) and clarifies that silent item edges are trimmed too, not just interior silences. The exception is dry_run, which is never mentioned in either place.

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?

Names a specific verb and resource ('Shorten the silences on a voice track') and spells out the exact mechanism: silences of min_silence_ms+ are cut to keep_ms with 10 ms fades, and leading/trailing silence is trimmed. The near-twin sibling reaper_clean_voice_gaps is never acknowledged, so the one thing that would earn a 5 – explicit differentiation from the closest alternative – is absent.

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?

Gives an explicit ordering constraint ('Run before leveling: envelope points do not follow the cut audio'), which is genuinely actionable sequencing guidance an agent could not infer elsewhere. It stops short of naming alternatives or exclusions (e.g., when to prefer clean_voice_gaps or auto_level instead).

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