Skip to main content
Glama

music_analyze

Analyze a track or audio file to get duration, integrated LUFS, true peak dBFS, and the highest-energy hook window, so you can verify loudness and locate a clip for preview or export.

Instructions

Analyze duration, integrated LUFS, true peak dBFS, and highest-energy hook window of a track or file.

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": {
      "target": "<target>"
    },
    "name": "music_analyze"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesImported track ID or local audio file path
hook_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It never states whether the operation is read-only, whether analysis is expensive/slow (audio decoding is typically non-trivial), what happens if the path or track ID is invalid, or whether results are cached. Enumerating output metrics is the only behavioral signal provided.

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?

It is a single front-loaded sentence with no filler, and the metric list is placed where it matters most. The terseness is efficient, though it leaves little room for the operational context the tool lacks elsewhere.

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

Completeness3/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 is the only source of return-value information, and it does list the four computed metrics, which is genuinely useful. However, it omits units for hook_seconds, prerequisites for the target, expected latency, and failure modes, leaving meaningful gaps for a tool that decodes and analyzes audio.

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 coverage is 50%: 'target' is documented in the schema as a track ID or local audio file path, but 'hook_seconds' has only a default of 15 with no description. The description's phrase 'highest-energy hook window' hints that hook_seconds controls the window length, but it never states the unit or the effect of changing it, so the compensation is partial at best.

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?

The description uses a specific verb ('Analyze') and enumerates the exact metrics produced (duration, integrated LUFS, true peak dBFS, highest-energy hook window), so the agent knows precisely what comes back. It does not explicitly contrast itself with siblings like music_clip or music_preview, but no sibling appears to compute metrics, so the distinction is implicit.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of prerequisites (e.g., that the track must already be imported), and no statement about when to prefer this over music_preview or music_clip. The agent must infer the usage context entirely from the metric list.

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