Skip to main content
Glama

mcp_opendaw_create_hocket

Distribute a single melody across multiple voices or tracks using hocket technique. Supports alternate, pair, and phrase split modes.

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
Behavior3/5

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

With no annotations provided, the description carries full burden. It explains parameters and return values but does not disclose side effects, idempotency, permission requirements, or whether it modifies existing data. The phrase 'returns notes created' implies creation without modification, but this is not explicit.

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 starts with a clear one-line summary, followed by contextual information and a parameter list. The musical background paragraph is informative but slightly verbose for a technical tool. Overall, it is well-organized and efficient.

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?

Given 8 parameters, no annotations, and an output schema mentioned, the description covers the main aspects but lacks clarity on project-specific terms like 'AU' and 'note tracks'. The return values are summarized but not detailed, which is acceptable since an output schema exists.

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 coverage is 0%, so the description must compensate. It provides explanations for all 8 parameters, including valid options for split_mode. However, some terms like 'AU index' and 'track index' are not fully elaborated, leaving minor ambiguity for an AI agent.

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, a specific melodic splitting technique. It distinguishes from siblings like create_melody or create_counterpoint by naming the exact compositional technique and providing a definition.

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 the hocket technique but does not explicitly state when to use this tool versus alternatives like create_melody or create_counterpoint. No guidance on prerequisites or contexts where the tool is inappropriate.

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

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