Skip to main content
Glama

Analyze music

analyze_music
Read-only

Returns measured structure of a user-supplied track, including tempo, beats, bars, sections, drops, gaps and instrument-event timing mapped to the program. It requires an available track.

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": {
      "project_id": "<project_id>"
    },
    "name": "analyze_music"
  }
}

Input Schema

NameRequiredDescriptionDefault
music_idNo
project_idYesExplicit project identifier for this request. The connection's navigation pointer does not select the target.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Required immutable scope for this call. Copy the id from list_projects/open_project/project_state; the active-project pointer is never used to guess."New value: +"Explicit project identifier for this request. The connection's navigation pointer does not select the target."
  2. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the description needn't argue safety, and it correctly frames the tool as a measurement rather than a mutation. It earns credit for the return-field enumeration because no output schema exists. It omits cost/latency expectations for what is likely an expensive signal-analysis pass, and the idempotentHint=false goes unremarked.

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?

Two sentences, no filler, and the return content is front-loaded ahead of the requirement clause. The second sentence is abrupt but functional. Nothing could be cut without losing information.

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?

For a read-only analysis tool with no output schema, listing the returned fields is the right move and it is done well. What is missing is completeness on the input side — music_id's optionality and default behavior — plus any note on how costly or slow the analysis is. Adequate, but not sufficient for confident invocation.

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 50%: project_id is documented in the schema, while music_id has no description at all. The phrase 'requires an available track' weakly signals that music_id must reference an already-added track, but the description never says whether music_id is optional or what the tool does when it is omitted. That is the highest-value gap for a two-parameter tool and it is left unfilled.

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?

A concrete verb and resource: 'Returns measured structure of a user-supplied track', followed by an enumeration of what that structure contains (tempo, beats, bars, sections, drops, gaps, instrument-event timing). That is far more specific than a restatement of the title. It stops short of naming the neighboring analysis tools (get_audio_analysis, separate_music, find_song), so an agent must infer the boundary itself.

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?

'It requires an available track' states a precondition, not a usage policy. Nothing tells the agent when to pick analyze_music over get_audio_analysis or separate_music, or whether it should be run once per track versus per edit. The only guidance is the implicit 'the track must already exist', which the agent must extrapolate into an ordering constraint.

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.