Skip to main content
Glama

measure_levels

Play a chosen section for up to 16 bars and report peak dB per track plus main output clipping, so you can check levels before and after mixing or mastering.

Instructions

Play for a few bars and report how loud each track and the main output got: peak_db per track (approximate; null = silent) and for main, with clipped true if the main output hit its ceiling. scene plays that section first; without it, whatever is playing is measured (or playback starts). This is the only way to "hear": use it before and after mixing or mastering. Takes as long as the bars last (max 16).

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": "measure_levels"
  }
}

Input Schema

NameRequiredDescriptionDefault
barsNo
sceneNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (which only declare it is not read-only, non-destructive, and closed-world), the description discloses key side effects: it starts playback ('or playback starts'), takes as long as the bars last (max 16), reports approximate peaks with null=silent, and flags clipping on the main. This is rich behavioral context that an agent needs before invoking a non-read-only audio tool.

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?

Front-loads the core purpose and results, then adds usage and duration details. Sentences are dense but each earns its place; the phrasing around scene/'playback starts' is slightly convoluted but not wasteful.

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?

No output schema exists, yet the description fully specifies the return shape (peak_db per track, main output, clipped flag, null=silent). Combined with timing and scene behavior, it is complete enough for correct invocation and interpretation of results.

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 0%, so the description must carry parameter meaning. It explains that 'bars' is the measured duration with a max of 16, and that 'scene' selects the section to play first, with fallback behavior when omitted. It does not clarify the accepted scene identifier format (integer vs string), leaving some ambiguity.

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?

States a specific verb and resource: plays bars and reports peak_db per track and main output, with a clipped flag. This is clearly distinguishable from sibling tools like transport or listen_to_take, so an agent can identify its function without opening the schema.

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 clear context: 'use it before and after mixing or mastering' and 'This is the only way to "hear"'. It establishes when to use but offers no explicit exclusions or negative guidance about when not to use it, and names no sibling alternative for non-measurement needs.

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