Skip to main content
Glama
Audio-Launch

@audiolabtools/mcp-server

FFT spectrum data

get_spectrum

Retrieve frequency-domain magnitude data and 7-band energy values from audio via public URL or local path for spectrum-analyzer UIs and tonal-balance analysis.

Instructions

Frequency-domain magnitude data (paired frequency/magnitude arrays) plus energies in 7 standard bands (sub/bass/lowMid/mid/highMid/presence/air). There is no dominant-band field in the response. For spectrum-analyzer UIs and tonal-balance analysis. Audio source: a public https URL, or a local file path (path).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoPublic https URL to the audio file. Provide exactly one of url or path.
pathNoPath to a LOCAL audio file on this machine, analysed without hosting it publicly (files up to 4 MB are sent inline; larger ones up to 150 MB upload over a signed URL). Provide exactly one of url or path.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does more than most: it describes the response shape and explicitly warns that a commonly expected field (dominant band) is absent, which prevents downstream hallucination. It still omits cost/latency, auth requirements, and whether this is a non-destructive read, so it is not fully transparent.

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?

Three tight sentences with no filler, and the most decision-relevant information (what the payload contains) is front-loaded. The input-source sentence at the end duplicates the schema, but the overall length is proportionate to the tool's complexity.

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?

There is no output schema, and the description compensates well by enumerating the return contents (paired arrays, seven bands) and one notable absence. Authorization, cost, and latency remain unstated for an annotation-free tool, but the largest gap, the response shape, is covered.

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%; both parameters already document the URL vs. local path choice, the exactly-one requirement, and the 4 MB inline / 150 MB signed-URL limits. The description only restates the source options, adding no syntax or format detail beyond the schema, so the baseline 3 is correct.

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 states exactly what the tool produces: frequency-domain magnitude data as paired frequency/magnitude arrays, plus energies in seven named bands. This clearly separates it from loudness- and timeseries-oriented siblings, though it never names an alternative tool. The negative disclosure ('no dominant-band field') sharpens the identity further.

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?

'For spectrum-analyzer UIs and tonal-balance analysis' gives implied usage context but no explicit when-to-use/when-not-to-use rules. Across nine sibling analysis tools it never says when get_spectrum is preferred over analyze_loudness or analyze_timeseries. The context is real but thin.

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