Skip to main content
Glama
io.github.AudialAI/audial-mcp

io.github.AudialAI/audial-mcp

Official

Audio features

audio_features

Measure song energy, danceability, loudness, key, mode, and tatum per section from an existing analysis or local audio file, saving the feature metadata to the results folder.

Instructions

Measure energy, danceability and loudness for the song and each section, plus the key, mode and tatum.

Give the analysis_id from segment: nothing is uploaded and it is included in that analysis's run. A file_path runs segment first (one run). Needs no stems, so it can run straight after segment. Energy and danceability run 0-1: energy reflects loudness, rhythmic activity and low end; danceability, how strong and regular the beat is. Both are measured per section, so a drop reads higher than its breakdown. loudness_lufs is integrated loudness in LUFS. The values are in metadata: key and camelot, features (energy, danceability, loudness_lufs, mode, mode_confidence, tatum) and sections (label, start, end, energy, danceability, loudness_lufs); null means not measured. They are saved to the results folder.

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

Input Schema

NameRequiredDescriptionDefault
file_pathNoFull path to a local audio file (.wav, .mp3, .aif, .aiff, .flac, .m4a, .ogg, .aac). ~ is expanded. For a track that has not been analysed yet: segment runs on it first (one run). Give this or analysis_id.
analysis_idNoThe analysis_id a segment result returned (in its metadata and summary). Reuses that analysis: nothing is uploaded and it does not count as another run. Give this or file_path.

Output Schema

NameRequiredDescriptionDefault
toolYes
filesYes
summaryYes
metadataYes
output_dirYes
execution_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

A4/5.0
Behavior4/5

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

The annotations cover neither cost nor file-write behavior, yet the description explains that analysis_id reuses an analysis without uploading or counting another run, while file_path consumes one run and triggers segment first. It also clarifies that results are saved to the results folder (consistent with readOnlyHint=false) and that null means not measured. The 0-1 scales for energy and danceability add real interpretive context that annotations cannot carry.

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 purpose is front-loaded, but the body is dense and meanders. It mixes invocation guidance, metric definitions and an exhaustive list of returned metadata fields into one breathless paragraph. Because an output schema exists, the long enumeration of `metadata`, `features` and `sections` keys is largely redundant and crowds out the routing information.

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

Completeness4/5

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

For a two-parameter analysis tool it covers everything needed to call it correctly: how to chain from segment, the run/credits implication, extension handling, metric semantics and null meaning. The redundancy with the output schema is not a completeness gap, but the description would be tighter if it deferred return-value structure to the schema.

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 100%, and the schema already documents both file_path (supported extensions, ~ expansion, segment-runs-first) and analysis_id (returned by segment, no extra run). The description restates that same meaning rather than adding it. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

The opening sentence names a specific verb and resource set: it measures energy, danceability, loudness for the song and each section, plus key, mode and tatum. An agent can tell this apart from segment because the description states this measurement step needs no stems and can run straight after segment.

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?

It clearly states the two entry paths: pass the analysis_id from a segment result, or pass a file_path (segment then runs first, one run). It also says the tool needs no stems and can follow segment directly, which defines prerequisites. It stops short of explicit when-not-to-use guidance, e.g. what to do if the audio is already stem-split or which sibling to pick for vocal analysis.

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