Skip to main content
Glama

mcp_opendaw_create_hocket

Divide a single melody across multiple voices or tracks to create a hocket, producing an interlocking musical texture.

Instructions

Create a hocket — single melodic line split between voices/tracks.

Hocket (from Latin "hoquet" = hiccup) is a technique where a single melody is divided between two or more voices. Each voice plays only every other (or every Nth) note, creating an interlocking texture. Found in medieval polyphony (Notre Dame school), African mbira music, Balinese gamelan, and modern minimalist composition (Steve Reich).

melody: Comma-separated MIDI pitches forming the complete melodic line. voices: Number of voices to split between (2-4, default 2). split_mode: How notes are distributed: "alternate" — round-robin (note 0→voice 0, note 1→voice 1, ...) "pairs" — pairs of notes per voice (2 per voice, then switch) "phrase" — 4-note phrases per voice unit_index: AU index with note tracks (-1 = find AU with enough note tracks). track_index: Starting note track index (uses consecutive tracks for voices). start_beat: Position in beats where the hocket begins. note_duration: Duration of each note in beats (default 0.5 = eighth notes). velocity: Velocity of all notes (0-1, default 0.7).

Returns notes created, voice assignment, total duration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
melodyNo60,62,64,65,67,65,64,62
voicesNo
velocityNo
split_modeNoalternate
start_beatNo
unit_indexNo
track_indexNo
note_durationNo

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 full burden. It explains split modes with concrete examples, defaults, and return values ('notes created, voice assignment, total duration'). However, it doesn't disclose error behavior (e.g., insufficient tracks) or side effects on existing data, leaving minor gaps in transparency.

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 with a clear one-line purpose, a brief explanatory paragraph, and a bulleted parameter list. The historical context is interesting but consumes precious space; it could be trimmed without losing functional value. Overall, it's concise relative to the 8 parameters covered.

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?

The description covers all parameters, explains the concept, and mentions return values. It lacks explicit prerequisites (e.g., need for an existing AU with note tracks) and error scenarios, but the default behavior for unit_index is noted. This is nearly complete for a creation tool of moderate complexity.

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 coverage is 0%, but the description compensates fully by explaining every parameter: melody format, voices range, split_mode options with distribution examples, unit_index fallback, track_index usage, start_beat, note_duration with default, and velocity range. This is exemplary parameter documentation.

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 creates a hocket, defined as 'a single melodic line split between voices/tracks'. This specific verb+resource pairing distinguishes it from sibling creation tools like create_chorale or create_counterpoint. The historical context further clarifies the musical technique.

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

Usage Guidelines3/5

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

The description explains what a hocket is and how the tool works, but provides no explicit guidance on when to choose this tool over alternatives. Sibling tools like create_chorale or create_counterpoint exist for similar melodic splitting tasks, and the description doesn't delineate scenarios where hocket is preferred.

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