Skip to main content
Glama

mcp_opendaw_create_ratchet

Create ratchet patterns with accelerating or decelerating subdivisions to produce dynamic note repetitions for musical builds and drum fills.

Instructions

Create a ratchet — repeated notes with changing subdivision rate.

A ratchet (also called "accelerando repeat" or "Bach ratchet") is a series of repeated notes where the spacing between notes gradually decreases (accelerate) or increases (decelerate), creating a sense of acceleration or deceleration. Used extensively in Baroque music (Bach cadences), electronic build-ups, and drum fills.

Args: unit_index: Audio unit index track_index: Note track index pitch: MIDI pitch for all ratchet notes (0-127) start_beat: Start position in beats length_beats: Total length in beats subdivisions: Subdivision mode — "accelerate" = start slow, get faster (16th→32nd→64th) "decelerate" = start fast, get slower (64th→32nd→16th) "constant" = even subdivision (no change, like a roll) "exponential" = exponential acceleration max_subdivisions: Maximum notes per beat at the fastest point (4=16th, 8=32nd, 16=64th, 32=128th) velocity: Base velocity (0-1) velocity_decay: Velocity reduction per note (0=uniform, 0.02=gradual fade) pitch_drift: Semitones to drift per note (0=same pitch, 1=ascending chromatic, -1=descending, 12=ascending octaves) region_index: Target region (-1 = auto-create/append)

Returns: JSON with notes_created, pitch, subdivision_points, total_beats.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pitchNo
velocityNo
start_beatNo
unit_indexYes
pitch_driftNo
track_indexYes
length_beatsNo
region_indexNo
subdivisionsNoaccelerate
velocity_decayNo
max_subdivisionsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the full transparency burden. It explains the generative behavior (repeated notes with changing subdivision), parameter effects (velocity decay, pitch drift), region handling ('-1 = auto-create/append'), and expected return fields. It lacks explicit disclosure about whether existing notes in the target region are preserved or replaced, but it goes beyond a basic create operation.

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 well-structured: a one-line definition, then contextual background, then a parameter dictionary. It is relatively lengthy and includes some illustrative elaboration, but given the complexity (11 parameters, no schema descriptions), the length is justified and each section serves a purpose.

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?

For a complex tool with 11 parameters and no schema descriptions, the description provides comprehensive coverage: concept, use cases, parameter semantics, and return values. Minor details are omitted (e.g., exact exponential subdivision algorithm, interaction with existing region contents), but overall it is sufficiently complete for reliable invocation.

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

Parameters5/5

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

Schema description coverage is 0%, so the Args section must compensate, and it does thoroughly. Every one of the 11 parameters is given a meaningful definition with examples, ranges, and special values (e.g., max_subdivisions mapping 4=16th, region_index -1 semantics, subdivisions modes with arrows). This fully compensates for the schema's lack of descriptions.

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 begins with a specific verb-object pair: 'Create a ratchet — repeated notes with changing subdivision rate.' It further defines the term with examples (accelerando repeat, Bach ratchet) and scope (Baroque, electronic build-ups, drum fills), making it clearly distinct from other creation tools in the sibling set.

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 clear musical context for when to use the tool ('Used extensively in Baroque music... electronic build-ups, and drum fills'), implying appropriate scenarios. However, it does not explicitly name alternative tools or state when not to use it, leaving the exclusion guidance implicit.

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/ameobius-ai/opendaw-mcp'

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