Skip to main content
Glama

mcp_opendaw_create_samba_pattern

Create a Brazilian samba percussion ensemble pattern with multi-instrument layers. Generate a full batucada groove with surdo, caixa, tamborim, chocalho, and repique parts.

Instructions

Create a Brazilian samba percussion ensemble pattern — multi-instrument layered groove.

Samba is the heartbeat of Brazilian music — a multi-instrument percussion ensemble where each drum has its own pattern, and the layers interlock to create a dense, driving groove. Unlike songo (a single drum-kit pattern), samba is an ensemble: each instrument plays independently, and the combination creates the full sound. Batucada (the carnival samba style) can have 300+ percussionists, each on one drum.

The 5 core instruments:

  1. SURDO — The bass drum. Plays on beats 1 and 3 (the "floor"). Low, resonant, the heartbeat. Surdo marcado (marked) = steady, surdo virado (turned) = syncopated.

  2. CAIXA — The snare drum. Plays continuous 16th notes with a backbeat accent on beats 2 and 4. The "glue" of the ensemble, filling the middle register.

  3. TAMBORIM — Small handheld drum. Plays a syncopated 16th pattern with rim taps, the "conversation" layer. Often uses "virada" (turn) fills.

  4. CHOCALHO — Shaker. Plays continuous 16th notes, the "wash" that keeps the time steady. Always present, rarely varied.

  5. REPIQUE — Lead drum. Plays calls, fills, and syncopated accents that cue the ensemble. The "conductor" of the bateria.

styles: "batucada" — Carnival samba (Rio de Janeiro). Dense, fast, all 5 instruments. Surdo on 1+3, caixa 16ths, tamborim syncopated, chocalho 16ths, repique accents. "samba_enredo" — Samba school parade style. More structured, surdo patterns more varied, repique has call-and-response. "pagode" — Backyard samba (informal). Lighter, no repique, tamborim simpler. More swing, less density. "samba_funk" — Samba-funk fusion. Surdo pattern funkier, caixa with ghost notes, tamborim 16ths, chocalho offbeats.

bars: Pattern length (2-16, even for 2-bar cycle). velocity: Base velocity (0-1). surdo_pitch: Surdo (bass drum) MIDI pitch (36 = C1). caixa_pitch: Caixa (snare) MIDI pitch (38 = D1). tamborim_pitch: Tamborim MIDI pitch (42 = F#1). chocalho_pitch: Chocalho (shaker) MIDI pitch (46 = A#1). repique_pitch: Repique (lead drum) MIDI pitch (50 = D2).

Args: bars: Pattern length in bars (2-16, even). style: Samba style (batucada, samba_enredo, pagode, samba_funk). velocity: Base velocity 0-1. unit_index: AU index. track_index: Note track index. start_beat: Starting beat position. surdo_pitch: Surdo MIDI pitch. caixa_pitch: Caixa MIDI pitch. tamborim_pitch: Tamborim MIDI pitch. chocalho_pitch: Chocalho MIDI pitch. repique_pitch: Repique MIDI pitch.

Returns notes created, instrument breakdown, and pattern info.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
barsNo
styleNobatucada
velocityNo
start_beatNo
unit_indexNo
caixa_pitchNo
surdo_pitchNo
track_indexNo
repique_pitchNo
chocalho_pitchNo
tamborim_pitchNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses the tool's generative behavior in detail: it creates multi-instrument layered grooves, explains the role of each instrument, and describes style-specific pattern variations. It also states the return value ('Returns notes created, instrument breakdown, and pattern info'), which adds transparency. However, it does not mention potential side effects like overwriting existing notes or prerequisites such as requiring a valid note 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 longer than average but well-structured into sections for instrument roles, styles, and parameter descriptions. The educational content about samba and the instruments is relevant and not filler, as it helps the agent understand the nuances of pattern generation. It could be slightly trimmed (e.g., the '300+ percussionists' note), but it remains focused and organized.

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 (11 parameters, 0% schema coverage, no annotations), the description is remarkably complete. It covers the tool's purpose, the musical context, instrument behaviors, style variants, all parameter meanings, and the return value. The presence of an output schema reduces the need to detail return structures, but the description still mentions what is returned, making it self-sufficient for an agent to select and invoke the tool 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?

Schema description coverage is 0%, but the description includes an 'Args' section that lists all 11 parameters with meaningful explanations, such as 'bars: Pattern length in bars (2-16, even)' and 'style: Samba style (batucada, samba_enredo, pagode, samba_funk)'. It also maps pitch parameters to MIDI note names, adding context beyond the raw schema. A couple of parameters like 'unit_index: AU index' are terse, but overall the description compensates well for the schema gap.

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 opens with 'Create a Brazilian samba percussion ensemble pattern — multi-instrument layered groove', which is a specific verb + resource + qualifier. It further distinguishes itself from songo ('Unlike songo... samba is an ensemble'), clarifying that it creates multi-instrument patterns rather than a single drum-kit pattern, which differentiates it from sibling tools like create_songo_pattern.

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 explains that samba is an ensemble pattern and contrasts it with songo, implying this tool is for samba ensembles rather than single-drum patterns. It also enumerates four styles with detailed characteristics, guiding selection based on musical context. However, it does not explicitly name alternative tools or say 'use this when X instead of Y', so it falls short of a 5.

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