Skip to main content
Glama

Extract audio features

extract_audio_features

Extracts overall level and bass/mid/treble band energies as reactive channels on a Null CHOP, enabling direct parameter binding.

Instructions

Build an audio-analysis chain that exposes ready-to-bind reactive channels — overall level plus bass/mid/treble band energies — on a Null CHOP. Unlike create_audio_reactive (which renders a spectrum visual), this produces the raw signals so you can drive ANY parameter: bind a node parameter to op('…/audio_features/features')['bass'] and it pulses with the music. A Sensitivity knob scales all channels. Source can be the live device (mic/line — may prompt for macOS permission), an audio file, a synthetic oscillator (for testing), or an existing CHOP.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceNoAudio source. 'device' = live microphone/line in (the real-world default; creating it may pop a one-time macOS microphone-permission dialog — click Allow). 'file' = an audio file. 'oscillator' = a synthetic tone, handy for testing without any device permission. 'existing_chop' = reuse a CHOP you already have.device
audio_file_pathNoAudio file path (source='file').
existing_chop_pathNoPath of an existing audio CHOP to analyze (source='existing_chop').
bass_hzNoLow-pass cutoff for the bass band.
mid_hzNoBand-pass centre for the mid band.
treble_hzNoHigh-pass cutoff for the treble band.
expose_controlsNoExpose a live 'Sensitivity' knob (a gain over every feature channel).
parent_pathNo/project1
Behavior5/5

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

The description details the tool's behavior: it produces raw audio features (overall level, bass/mid/treble), includes a Sensitivity knob, and can use various sources. It also warns about macOS permissions for device source. Annotations only provide readOnlyHint=false and destructiveHint=false, so the description adds significant behavioral context without contradiction.

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

Conciseness5/5

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

The description is concise (5-6 sentences) and well-structured: it starts with the main purpose, differentiates from a sibling, gives a usage example, and covers behavioral details and source options. Every sentence serves a purpose, making it efficient and clear.

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

Completeness5/5

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

Given there is no output schema, the description adequately explains what the tool produces (bass/mid/treble energies, overall level) and how to use it (bind to node parameters). It covers all important aspects: source options, permissions, sensitivity control, and the chain concept. The description is comprehensive for this tool's complexity.

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?

With 88% schema description coverage, the schema already explains most parameters. The description adds some context (e.g., Sensitivity knob scaling all channels) but does not go into depth beyond what the schema provides. It explains the overall chain and band energies, which adds marginal value, but most parameter semantics are already covered by the schema.

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 description clearly states it builds an audio-analysis chain exposing reactive channels on a Null CHOP, and distinguishes itself from the sibling create_audio_reactive which renders a spectrum visual. This provides a specific verb (builds) and resource (audio-analysis chain), making the purpose unambiguous.

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

Usage Guidelines5/5

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

The description explicitly compares to create_audio_reactive, stating that this tool produces raw signals for driving any parameter, while the sibling renders a spectrum visual. It also explains when to use different sources (device, file, oscillator, existing_chop) and notes potential macOS permission prompts. This gives clear guidance on when and how to use the tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Pantani/tdmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server