Skip to main content
Glama

mcp_opendaw_accent_beats

Apply beat-aware velocity accents to MIDI notes to create natural, groovy dynamics for drum patterns, basslines, and chords, with presets for backbeat, 4/4, and other styles.

Instructions

Apply beat-aware velocity accents to notes based on their position.

Unlike apply_velocity_pattern (which cycles by note index), this determines accent strength from each note's beat position — downbeats get strong, off-beats get weak. This is how real drummers and musicians play.

Accent patterns:

  • "4/4" — beat 1 strong, 2 medium, 3 medium, 4 weak (classic rock/pop)

  • "backbeat" — beats 1+3 medium, 2+4 strong (rock, funk, soul)

  • "3/4" — beat 1 strong, 2 weak, 3 medium (waltz)

  • "6/8" — beats 1+4 strong, others weak (compound duple)

  • "off_beat" — downbeats weak, off-beats strong (syncopated, reggae skank)

  • "four_on_floor" — every quarter strong (house, techno)

Notes that fall on exact beat boundaries get accent levels. Notes between beats (e.g. 16th notes) get interpolated: closer to a strong beat → higher.

Use cases:

  • Make drum patterns feel groovy instead of flat

  • Add natural dynamics to programmed basslines

  • Emphasise downbeats in chord stabs

  • Create backbeat feel on snare/hihat

unit_index: AU index. track_index: Note track index. accent_pattern: Beat accent scheme (4/4, backbeat, 3/4, 6/8, off_beat, four_on_floor). strong_velocity: Velocity for strong beats (0-1). medium_velocity: Velocity for medium beats (0-1). weak_velocity: Velocity for weak beats (0-1). region_index: Region (-1 = first region).

Returns count of notes accented and per-level breakdown.

Example:

Backbeat feel — accent beats 2 and 4

accent_beats(0, 0, "backbeat", strong_velocity=1.0, weak_velocity=0.5)

Four-on-the-floor — every beat loud

accent_beats(0, 0, "four_on_floor", strong_velocity=0.95)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
unit_indexYes
track_indexYes
region_indexNo
weak_velocityNo
accent_patternNo4/4
medium_velocityNo
strong_velocityNo

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 explains the core behavior (accent strength from beat position), lists all accent patterns with meanings, describes interpolation for off-beat notes, and states the return value ('Returns count of notes accented and per-level breakdown'). It does not explicitly state that existing velocities are overwritten or whether undo is possible, but the behavior is well disclosed for a creative tool.

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 longer than average but earned every sentence: it uses clear headings, bullets for patterns, a compact parameter list, and a concise example. It is front-loaded with the main purpose and never wastes words on tautology or repetition of schema info.

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?

With 7 parameters, no annotations, and an output schema the description still covers all essential aspects: what the tool does, all patterns, interpolation behavior, parameter explanations, use cases, and return value. The example further grounds the abstraction. This is complete for an agent to invoke it correctly.

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 description fully compensates by defining every parameter: unit_index, track_index, accent_pattern with allowed values, strong/medium/weak_velocity with ranges (0-1), and region_index with default meaning. The example additionally demonstrates usage, making parameter semantics exceptionally clear.

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 a specific verb and resource: 'Apply beat-aware velocity accents to notes based on their position.' It clearly differentiates from the sibling tool apply_velocity_pattern by explicitly noting the difference (beat position vs. note index), so the agent can select it correctly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly contrasts with 'apply_velocity_pattern (which cycles by note index)' and provides a use cases list ('Make drum patterns feel groovy', 'Add natural dynamics to programmed basslines', etc.). This gives clear guidance on when to use the tool and names an alternative, satisfying the 'when/when-not/alternatives' criterion.

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