Skip to main content
Glama

track_get_peak

Measure track peak levels in dB and linear gain to identify clipping and compare mix levels. Requires playback for accurate readings.

Instructions

Read instantaneous peak level from a track's meter (L + R channels).

Returns peak in both linear gain (0-1+) and dB (-144 to +12 or so). Only meaningful DURING playback — REAPER's meters only report when audio is passing through. Start playback, wait a moment, then read.

Useful for: checking if a track is clipping, comparing levels between tracks, verifying a mix isn't too hot.

Returns: {peak_l_db, peak_r_db, peak_max_db, peak_l_linear, peak_r_linear}

Args: track_index: 0-based track index.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
track_indexYes
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses that it is a read operation, explains the output format (linear and dB ranges), and emphasizes that it only works during playback. This provides good transparency for a simple read tool.

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?

The description is concise and well-structured: it first states the purpose, then the critical usage condition, followed by use cases, return format, and argument definition. Every sentence adds value without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read tool with one parameter and no output schema, the description covers all necessary context: what it does, when to use it, what values to expect, and how to supply the argument. It is complete and self-contained.

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?

Only one parameter (track_index) with 0% schema description coverage. The description clarifies '0-based track index', which is exactly what the agent needs. While minimal, it is sufficient for understanding the parameter's meaning.

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?

The description clearly states that the tool reads instantaneous peak level from a track's meter (L+R channels). It explains the purpose: checking clipping, comparing levels, verifying mix. No sibling tool reads peaks, so it is well-distinguished.

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?

The description explicitly says 'Only meaningful DURING playback' and advises to start playback and wait before reading. It provides clear context for use, though it does not explicitly state when not to use it. Since no alternative exists, this is sufficient.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xDarkzx/Reaper-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server