Skip to main content
Glama

mixx_analyze

Analyze audio tracks for BPM, key, Camelot, energy, and structure; check batch analysis status or suggest hotcue positions.

Instructions

Audio analysis engine using librosa.

PORTMANTEAU PATTERN: Consolidates audio analysis operations.

SUPPORTED OPERATIONS:

  • track: Analyze a single audio file. Returns BPM, key, Camelot, energy, structure.

  • batch_status: Show how many tracks are analyzed vs pending.

  • suggest_cues: Suggest hotcue positions based on track structure.

Returns: Dict with analysis results

Examples: mixx_analyze("track", path="C:/Music/track.mp3") mixx_analyze("batch_status")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNo
limitNo
operationYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden: it discloses no side effects. Crucially, 'suggest_cues' may persist hotcues to the track (as 'suggest' implies), yet it is not stated whether this mutates the library or is purely advisory, and no cost/weight warning is given for heavy librosa analysis. It does confirm outputs and operation scoping, which is partial credit, but the mutation ambiguity is a real gap.

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?

Sectioned into pattern, operations, returns, and examples, so the agent can scan operation options quickly and examples are front-loaded for the core use case. The 'Returns: Dict with analysis results' line is filler given an output schema exists, a minor waste.

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?

An output schema exists so return values needn't be explained, and per-operation result fields are summarized well. However, for a 3-operation portmanteau with 3 shared parameters, the missing operation-to-parameter mapping and the undisclosed write behavior of suggest_cues leave meaningful ambiguity for correct 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 0%, so the description must compensate. It covers the operation enum thoroughly via SUPPORTED OPERATIONS and demonstrates the path argument in examples, but omits `limit` entirely (which presumably bounds batch_status/suggest_cues) and never states which parameters apply to which operation, leaving the path default and limit scope undocumented.

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 names a concrete domain (audio analysis via librosa) and enumerates three distinct operations with the outputs each produces (BPM, key, Camelot, energy, structure), so an agent knows exactly what the tool computes. It does not, however, explicitly differentiate itself from sibling introspection tools like mixx_library or mixx_stems.

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?

By listing operations with result summaries, the description implies which operation fits which need, but it gives no explicit when-to-use/when-not guidance and never states how this differs from siblings that also touch track metadata. The examples show invocation shape but not selection criteria.

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