Skip to main content
Glama

measure_tracks

Read-only

Measure multiple tracks in one pass and get a compact table of loudness, peak, brightness, and low/mid/high energy. Use one call instead of analyzing each track separately when balancing a mix.

Instructions

Measures many tracks in one render pass and returns a compact table: each track's loudness while it plays (max short-term LUFS), its peak, how bright it is, and where its energy sits (low / mid / high). Use it instead of analyze_audio track by track when balancing a mix: one call instead of dozens.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tracksNoTracks to measure; default: every track with items
end_barNoDefault: the end of the project
start_barNoBar number, 1-based. Fractions are parts of the bar (5.5 = halfway through bar 5).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.19.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered. The description adds real value beyond that: it discloses the single-render-pass batching behavior and the exact metrics returned, which matters since no output schema exists. It does not mention scope limits or output ordering, keeping it just short of a 5.

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 with zero waste. The capability and its returned metrics are front-loaded, with the sibling-routing guidance second. Every clause earns its place.

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, the description carries the return-value burden and does describe the returned table's contents, which is adequate. Parameters are schema-covered and safety is annotated, so the only minor gap is not stating scope defaults or scale/units beyond the LUFS label.

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 track selection, start_bar, and end_bar are already fully documented in the schema, including 1-based bar semantics and fractional bars. The description adds nothing further about parameters, so the baseline 3 applies.

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 (Measures) and resource (many tracks) and enumerates exactly what is returned (max short-term LUFS, peak, brightness, energy band). It explicitly names the sibling it replaces, analyze_audio, so an agent can distinguish the two without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit when-to-use condition ('when balancing a mix') and names the alternative ('instead of analyze_audio track by track'), with the reason ('one call instead of dozens'). Nothing is left to inference.

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

Deploy Server

Other Tools