Skip to main content
Glama

Quick loudness reading

analyze_track
Read-only

Reads integrated loudness (LUFS), sample peak, length, sample rate and stereo correlation straight from the file; nothing is rendered. Costs nothing and takes a few seconds. True peak and loudness range are not part of this quick read: they are measured on a rendered result and returned by get_job.

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": {
      "audio_url": "<audio_url>"
    },
    "name": "analyze_track"
  }
}

Input Schema

NameRequiredDescriptionDefault
audio_urlYesTrack address as a public https link: a direct file (wav, mp3, flac, m4a) or a sharing link, which the server opens for you.

Output Schema

NameRequiredDescriptionDefault
lufsNo
channelsNo
peak_dbfsNo
sample_rateNo
duration_secNo
true_peak_dbNonull in the fast pass; see get_job for the measured value
genre_suggestionNo
stereo_correlationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / audio_url / description
      Previous value: -"Public https URL of the audio file (wav/mp3/flac/m4a). A share link to the page works too — Suno/Udio song pages, Google Drive and Dropbox links are resolved to the file automatically."New value: +"Track address as a public https link: a direct file (wav, mp3, flac, m4a) or a sharing link, which the server opens for you."
  2. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so safety is covered. The description adds genuinely new behavioral facts beyond that: no rendering occurs, the call is free, and it takes a few seconds. It says nothing about failure modes on unreachable links or result caching, so it is solid but not rich.

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 tight sentences, front-loaded with the capability and outputs, then the cost/latency reassurance, then the boundary against get_job. Nothing is padding or repeated.

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 single-parameter read tool with full annotation coverage and an output schema, the description covers scope, what is and isn't measured, cost, latency and the alternative route. No information an agent needs before invoking it is missing.

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?

Only one parameter and the schema fully documents it, including accepted formats and server-side handling of sharing links, so the baseline of 3 applies. The description adds no additional parameter detail beyond the schema.

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?

A specific verb ('Reads') plus the exact metrics returned (integrated LUFS, sample peak, length, sample rate, stereo correlation) and the scope qualifier 'straight from the file; nothing is rendered.' It also pre-emptively separates itself from get_job by naming the two metrics it does not return, so an agent can pick between them without opening either 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?

Clear usage context: a cheap, few-second read used when you only need the basic file metrics, with an explicit alternative ('returned by get_job') for true peak and loudness range. It stops short of covering other sibling paths (e.g., when to reach for master_track instead), but the when-not guidance for the missing metrics is explicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources