Skip to main content
Glama

Bind audio CHOP channels to GLSL TOP uniform slots

create_audio_glsl_uniforms

Binds audio channel values from a CHOP to shader uniform slots in a glslTOP, enabling real-time audio-driven visuals without creating additional operators.

Instructions

Writes CHOP-reference expressions onto the seq.vec uniform slots of an existing glslTOP, so named channels (low/mid/high/rms etc.) drive shader uniforms every cook. Creates no operators — pure parameter binding. Idempotent and composable with create_glsl_shader.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bindingsYesChannel → uniform/component map. Multiple entries can target the same slot (different components) to build a multi-component uniform.
expand_capacityNoIf true, grow g.seq.vec.numBlocks to fit the highest slot index. If false, an out-of-range slot is a hard error.
source_chop_pathYesPath to the CHOP whose channels are read (must contain every `chan` listed in bindings).
target_glsl_pathYesPath to an existing glslTOP whose seq.vec slots will be bound.
Behavior4/5

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

Annotations provide readOnlyHint=false and destructiveHint=false. The description adds value by stating it is 'pure parameter binding' (not destructive), 'idempotent and composable', and that it 'creates no operators'. This enriches the behavioral profile beyond the annotations alone. There is no 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 three sentences with no wasted words. The first sentence front-loads the primary action and resource, followed by concise clarification of traits (no operator creation, idempotent, composable).

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?

Given the tool's moderate complexity (4 parameters, no output schema) and the richness of the input schema, the description sufficiently covers the purpose and key behavioral traits. It could mention error handling or prerequisites, but the schema already enforces constraints and required parameters.

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 coverage is 100% and the input schema provides detailed descriptions for each parameter. The description does not add additional parameter-level meaning, so it meets the baseline of 3 without extra credit.

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 uses a specific verb ('writes') and clearly identifies the resource ('seq.vec uniform slots of an existing glslTOP') and the goal ('drive shader uniforms every cook'). It distinguishes itself from sibling tools by stating it creates no operators and is pure parameter binding, and explicitly mentions composability with create_glsl_shader.

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 implies when to use this tool (to bind audio channels to GLSL uniforms) and explicitly names a complementary tool (create_glsl_shader). However, it does not provide explicit exclusions or alternative tools for different scenarios, leaving some ambiguity among the many binding-related siblings.

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