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. Ideal for composing contrapuntal music like rounds or fugues.

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 provided, the description carries full responsibility. It describes the core behavior: copying a melody into multiple voices with time and pitch shifts, and notes return values. However, it does not explicitly state whether the tool is destructive or read-only, or if it modifies existing track content versus creating new regions. Still, it is fairly transparent about inputs and outputs.

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 well-structured: a clear opening sentence defining the tool, a paragraph explaining the musical concept and distinguishing from siblings, followed by a bulleted list of parameters. Every sentence adds value, and the most important information is front-loaded.

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 tool's complexity (10 parameters, no required fields, no enums) and that an output schema exists, the description is complete. It explains all parameters, provides examples, and mentions return values. The only minor gap is potential side effects, but the output schema covers return info.

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?

The description adds significant meaning beyond the input schema (which has 0% coverage). Each parameter is explained with ranges, defaults, examples, and constraints (e.g., 'transposition must have exactly voices values'). This fully compensates for the schema's lack of 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 clearly defines the tool's purpose: 'Create a canon — strict melodic imitation with delayed voice entries.' It specifies the verb 'create' and the resource 'canon', and distinguishes from sibling tool 'create_counterpoint', which generates a new independent melody rather than copying the same melody.

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 provides explicit guidance on when to use this tool (to create a canon) and when not to (for generating new independent counterpoint). It directly contrasts with 'create_counterpoint' and gives real-world examples like Pachelbel's Canon and 'Row Row Row Your Boat' to clarify usage context.

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