Skip to main content
Glama

mcp_opendaw_create_clave

Create Afro-Cuban clave patterns (son, rumba, bossa nova, 6/8) to establish the rhythmic foundation. Align other rhythms to the clave direction for authentic grooves.

Instructions

Create an Afro-Cuban clave pattern — the 5-note rhythmic skeleton that defines the feel.

The clave is not a drum pattern — it's a timeline pattern that all other rhythms align to. Every Afro-Cuban rhythm has a clave direction (3-2 or 2-3) that determines where the downbeats fall relative to the clave strokes.

clave_type: "son_3_2" — Son clave, 3-side first (forward clave). Beats: 0, 0.5, 1, 2.5, 3 "son_2_3" — Son clave, 2-side first (reverse clave). Beats: 0, 1.5, 3, 3.5, 4 "rumba_3_2" — Rumba clave, 3-side first. Last stroke shifted to 3.5 (and 2.5→2.66) "rumba_2_3" — Rumba clave, 2-side first. "bossa_nova" — Bossa nova clave. Beats: 0, 2.5, 3, 4.5, 5 (over 2 bars) "6_8" — 6/8 Afro-Cuban clave. 5 strokes across 2 bars of 6/8.

bars: Pattern length in bars (2 for son/rumba, 2 for bossa, 2 for 6/8). pitch: MIDI pitch for clave strokes (76 = high wood block). velocity: Velocity 0-1. duration: Note duration in beats.

Returns notes created, clave type, and direction (3-2 or 2-3).

Example: create_clave(clave_type="son_3_2", track_index=0) create_clave(clave_type="bossa_nova", track_index=1)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
barsNo
pitchNo
durationNo
velocityNo
clave_typeNoson_3_2
start_beatNo
unit_indexNo
track_indexNo

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 burden of transparency and delivers detailed behavioral information: exact beat positions for each clave type, return values, and parameter meanings. However, it does not disclose potential side effects like whether existing notes are overwritten or how the pattern interacts with the target track.

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, front-loaded with a clear purpose, and uses bullet lists and examples effectively. It is somewhat long and includes minor redundancy (e.g., all bars defaults are 2), but every section adds value.

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?

The description covers the core concept and most parameters, and the output schema handles return values. However, it misses start_beat and unit_index semantics, and does not explain how the pattern is placed in the project or whether it clears existing notes, which is a notable gap for a complex tool.

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?

The description richly explains clave_type with beat mappings for all six variants, and gives meaning to bars, pitch, velocity, and duration. However, start_beat and unit_index are not described, and track_index only appears in examples, leaving a few parameters without semantic coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it creates an Afro-Cuban clave pattern and explains it is a timeline pattern, not a drum pattern. This gives a specific verb+resource, but it does not explicitly distinguish itself from sibling tools like create_tumbao or create_drum_pattern beyond the musical concept.

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 strong musical context, explaining that the clave is the rhythmic skeleton all other rhythms align to and that every Afro-Cuban rhythm has a direction. This implies when to use the tool, but it does not explicitly state when not to use it or name alternatives.

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