Skip to main content
Glama

Create beat-grid sequencer

create_beat_grid_sequencer

Build a programmable step-grid sequencer driven by a Beat CHOP to set parameters or recall cues on each beat boundary according to a live-editable pattern table.

Instructions

Build a programmable step-grid sequencer driven by a Beat CHOP on the global TD tempo: a Table DAT holds the per-step pattern (values or 1/0 flags), and a CHOP Execute DAT fires on every beat boundary, reads the current step (count % steps) from the table, and dispatches — action=param sets a custom parameter to the step value; action=cue recalls the cue for active steps (cues stored with manage_cue). The deterministic, repeating-rhythm instrument between create_autopilot (random drift) and create_cue_sequencer (linear list): program a strobe on beats 1+3, a hue shift on the bar, etc. Reprogramme the grid live by editing the step_table DAT. NOTE: beat-callback timing is UNVERIFIED offline — check op().time.play if steps don't fire when the TD timeline is paused.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoName for the sequencer COMP.beat_grid
parent_pathNoParent COMP path to create the sequencer inside./project1
targetYesCOMP whose parameter or cue each active step fires on a beat boundary.
stepsNoNumber of steps in the grid (e.g. 16 = one bar of 16th notes at 4/4).
actionNoparam: set a target custom-parameter value per active step; cue: recall a named cue per active step (cues stored with manage_cue).param
paramNo(action=param) The custom-parameter name on the target COMP to set on each active step.
patternNoPer-step values (action=param) or 1/0 active flags (action=cue); length should match 'steps'. Omit to auto-generate an example pattern.
bpm_sourceNoPath to an existing Beat CHOP or tempo source. Omit to create a new Beat CHOP (on the global TD tempo).
Behavior5/5

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

The description discloses key behavioral traits: Beat CHOP drive, table DAT pattern, CHOP Execute DAT firing on beat boundaries, dispatch logic, and a crucial note about unverified offline timing. No contradictions with annotations (readOnlyHint=false, destructiveHint=false).

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 description is informative but somewhat verbose, reading like a tutorial. It could be more streamlined while retaining key details, but every sentence adds value.

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 the complexity (8 parameters, no output schema), the description thoroughly explains the sequencer's mechanism, components created, live editing capability, and dependencies. It is comprehensive for an agent to function correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All parameters have descriptions achieving 100% coverage. The description adds context like pattern auto-generation and relationship between steps and pattern length, enhancing understanding beyond 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 the tool builds a programmable step-grid sequencer driven by a Beat CHOP, specifying verb, resource, and scope. It distinguishes from siblings like create_autopilot (random drift) and create_cue_sequencer (linear list).

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 provides guidance on when to use by contrasting with siblings and giving concrete examples (strobe on beats 1+3, hue shift on bar). It does not explicitly state when not to use, but the context is clear.

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