Skip to main content
Glama

reaper_analyze_levels

Read-onlyIdempotent

Measure RMS levels (dBFS) per window for a REAPER track and return overall, section, and window stats to identify quiet or loud passages and intentional dynamics.

Instructions

Measure RMS level (dBFS) of a track's items per window, read-only. Returns overall stats (median, p10/p90, spread), per-section stats (regions, or spans between markers) and the per-window levels, so you can spot quiet/loud passages and intentional dynamic sections.

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": {
      "track": "<track>"
    },
    "name": "reaper_analyze_levels"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoRange end; last item end if omitted
unitNo'seconds', 'beats' (quarter notes from project start) or 'bars' (1-based, fractional allowed)bars
startNoRange start; first item start if omitted
trackYesTrack number as shown in REAPER (1-based, 0 = master) or exact track name
windowNoAnalysis window size in `unit`
gate_dbNoWindows quieter than this (dBFS RMS) count as silence and are never boosted

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false), and the description reinforces 'read-only'. It goes beyond annotations by disclosing what the analysis returns: overall stats (median, p10/p90, spread), per-section stats segmented by regions or marker spans, and per-window levels – meaningful behavioral context given there is no output schema.

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?

Two sentences, front-loaded with the operation and scope, followed by a compact enumeration of return contents and the analytical purpose. No filler and nothing repeated verbatim from the schema.

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?

With no output schema and six parameters, the description carries the burden of explaining return structure, and it does so adequately across three tiers (overall, per-section, per-window). What remains underspecified is the exact shape of the returned data (field names, units of the spread metric), which is a modest gap for an analysis tool.

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 all six parameters (including unit, window, gate_db, and range bounds) are already documented in the schema. The description references 'per window' and 'per-section stats (regions, or spans between markers)' but adds no syntax, defaults, or format details beyond what the schema supplies, so the baseline of 3 applies.

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 ('Measure RMS level (dBFS) of a track's items per window') and states the measurement type clearly. It implicitly distinguishes itself from a loudness-based measurement by specifying RMS dBFS, but never names or contrasts with the sibling reaper_analyze_loudness, so the differentiation is left to inference.

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 closing clause ('so you can spot quiet/loud passages and intentional dynamic sections') implies the analytical use case, which is useful context. However, there is no explicit when-to-use versus when-to-use-a-sibling guidance, and no exclusions or prerequisites, leaving the agent to infer that loudness analysis should be handled elsewhere.

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