Skip to main content
Glama

Create Chroma Reactive (experimental)

create_chroma_reactive

Extract a 12-channel pitch-class chroma vector from audio by folding FFT bins into pitch classes, outputting a Null CHOP ready for bind_to_channel.

Instructions

[experimental] Builds a 12-channel pitch-class chroma vector (chroma_0..chroma_11) from an audio bus via FFT bin → pitch-class fold. Outputs a Null CHOP ready for bind_to_channel. Shares audioSource convention with create_transient_reactive / create_energy_reactive.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNochroma_reactive
parentNo/
audioSourceNoOptional path to an existing CHOP to use as audio input. If omitted, an internal Audio Device In CHOP is created (may prompt for macOS microphone permission).
fftSizeNoFFT size for the Audio Spectrum CHOP.
smoothingNoTemporal smoothing on chroma vector (0 = raw, 1 = frozen). Maps to Filter CHOP width.
Behavior4/5

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

The description discloses that it may prompt for macOS microphone permission if audioSource is omitted, which is important behavioral info. Annotations indicate readOnlyHint=false and destructiveHint=false, consistent with the description. However, it does not elaborate on other potential side effects or error states.

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?

The description is two sentences, front-loading the core purpose and mechanism. It is concise without unnecessary fluff, though it could be slightly more structured (e.g., separating usage guidance from output description).

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?

Given the tool's complexity (chroma extraction, FFT), the description covers the basic concept and output type. However, it lacks details on the return value format (besides being a Null CHOP) and potential limitations, and it does not reference any output schema. The experimental tag is noted but not elaborated.

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?

The description adds context on the algorithm (FFT bin to pitch-class fold) but does not explain individual parameters beyond what the schema already provides. With schema coverage at 60%, the description partially compensates but not fully for the undocumented parameters.

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 a 12-channel pitch-class chroma vector from audio via FFT bin to pitch-class fold. It specifies the resource (chroma reactive) and verb (builds), and distinguishes from siblings by mentioning shared audioSource convention with create_transient_reactive and create_energy_reactive.

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?

The description notes that the output is a Null CHOP ready for bind_to_channel and shares audioSource convention with similar tools. This gives context on usage, but it does not explicitly state when to use this tool versus alternatives like create_transient_reactive or create_energy_reactive, leaving some ambiguity for the agent.

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