Skip to main content
Glama

analyze_audio

Extract BPM, key, and loudness from an audio file or song asset to match samples or beats accurately.

Instructions

BPM, key and loudness of an audio file (or an asset of the song): to match a sample or a beat.

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

Input Schema

NameRequiredDescriptionDefault
pathNo
assetNo
projectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden and discloses almost nothing beyond the return fields. It does not say whether the operation is read-only, whether analysis is slow or requires the project to be open, or what happens if a path is invalid or unreadable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded with the outputs and wastes no words. It is efficient but so terse that it reads as under-specification rather than deliberate concision.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with three undocumented parameters, no annotations, and no output schema, the description should explain at minimum which parameter identifies the target and whether it mutates any state. It leaves the caller guessing on both.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All three parameters have 0% schema description coverage, and the description only loosely hints that 'audio file' maps to path and 'asset of the song' maps to asset. It says nothing about the project parameter, nor whether path and asset are mutually exclusive alternatives, despite zero required parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the outputs (BPM, key, loudness) and the target (an audio file or a song asset), so the resource is identifiable, but it is a noun phrase with no verb and no explicit differentiation from the sibling analyze_mix. An agent must infer that this analyzes a single file rather than a whole mix.

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

Usage Guidelines3/5

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

The trailing clause 'to match a sample or a beat' implies a use case (tempo/key matching), which is more than nothing. However, there is no when-not guidance, no prerequisites, and no mention of analyze_mix as the alternative for whole-mix analysis.

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