Skip to main content
Glama

mcp_opendaw_create_canon

Create a canon by repeating a melody across multiple voices with delayed entries and optional transposition. Set voice count, delay, and pitch offsets to build contrapuntal layers.

Instructions

Create a canon — strict melodic imitation with delayed voice entries.

The foundation of contrapuntal music: a single melody is repeated in multiple voices, each entering after a delay, optionally transposed. Think Pachelbel's Canon, "Row Row Row Your Boat", Bach's fugue subjects, or modern call-and-response layers in film scores. Unlike create_counterpoint (which generates a new line), a canon copies the SAME melody into each voice — just shifted in time and pitch.

melody: Comma-separated MIDI pitches of the lead voice (e.g. "60,62,64,67"). voices: Number of imitating voices (2-6, default 3). Voice 1 enters first. entry_delay_beats: Beats between each voice entry (1-16, default 4 = one bar in 4/4). transposition: Comma-separated semitone offsets per voice (e.g. "0,7,12" = unison, fifth, octave). Must have exactly voices values. "0,0,0" = all at same pitch (round/canon). velocity_decay: Velocity reduction per voice (0-0.3, default 0.15). Later voices are quieter, simulating natural ensemble hierarchy. direction: Voice entry order — "up" (low to high) or "down" (high to low). unit_index: AU index with note track (-1 = find first AU with note tracks). track_index: Note track index within the AU. start_beat: Position in beats where the first voice begins. velocity: Base velocity for the first voice (0-1, default 0.85).

Returns notes created, voice count, total length, transpositions used.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
melodyNo60,62,64,67,64,62,60,57
voicesNo
velocityNo
directionNoup
start_beatNo
unit_indexNo
track_indexNo
transpositionNo0,7,12
velocity_decayNo
entry_delay_beatsNo

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 responsibility. It explains the core behavior (same melody copied into voices, time-delayed entries, optional transposition, velocity decay) and lists return values (notes created, voice count, total length, transpositions). It does not state whether the operation is additive or destructive to existing notes, or mention prerequisites for the target track, which would have made it fully transparent.

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 long but well-structured: a definition, musical context, and one-line parameter definitions. Every sentence adds value, especially given the lack of schema descriptions. It is slightly verbose in the conceptual opening but not wasteful.

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 of 10 parameters, no annotations, and 0% schema description coverage, the description is remarkably complete. It covers all parameters, returns, examples, and a sibling differentiation. The presence of an output schema means return values need not be fully enumerated, but the description still summarizes them.

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 must compensate. It does so thoroughly: all 10 parameters are explained with concrete examples, ranges, and defaults (e.g., transposition '0,7,12', voices 2-6, entry_delay_beats 1-16). This is exemplary compensation for missing schema descriptions.

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 clear, specific verb and resource: 'Create a canon — strict melodic imitation with delayed voice entries.' It explicitly contrasts with the sibling create_counterpoint ('which generates a new line'), clearly distinguishing what this tool does and making the purpose unmistakable.

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?

It provides strong usage context with musical examples (Pachelbel, Row Row Row Your Boat) and an explicit alternative comparison to create_counterpoint. However, it doesn't enumerate exclusions for other close siblings like create_fugue or create_chorale, so the guidance is clear but not exhaustive.

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