Skip to main content
Glama

mcp_opendaw_create_melody

Generate a full melody from a scale and rhythmic pattern in a single call, bypassing the need for multiple note creation steps. Specify scale, root, and pattern to add notes directly to a track.

Instructions

Create a melody from a scale and rhythmic pattern — one call instead of 10-30 create_note calls.

scale: Scale type (major, minor, harmonic_minor, melodic_minor, dorian, phrygian, lydian, mixolydian, locrian, pentatonic_major, pentatonic_minor, blues, chromatic). root: Root note name (C, C#, D, D#, E, F, F#, G, G#, A, A#, B or flats Db, Eb, Gb, Ab, Bb). pattern: Rhythmic pattern using scale degrees. Each step is one 16th note:

  • Numbers 1-7 (or 1-5 for pentatonic, 1-6 for blues) = scale degree (1 = root)

  • 0 = rest

  • '-' = sustain previous note (tie)

  • '+' = octave up for this note

  • Example: "1-2-3-5-4-3-2-1" = ascending then descending scale fragment

  • Example: "1 0 3 0 5 0 3 0" = arpeggio with rests unit_index: AU index with a note track. track_index: Note track index within the AU. start_beat: Where the melody starts (0 = bar 1). octave: MIDI octave for the root (4 = C4=60, the middle C). velocity: Note velocity 0-1 (default 0.75).

Returns the total notes created and pitches used.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rootYes
scaleYes
octaveNo
patternYes
velocityNo
start_beatNo
unit_indexNo
track_indexNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/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 does disclose that it creates melody notes in a specified track and returns a summary, and it explains the pattern syntax. However, it does not state whether notes are appended or replace existing notes, nor does it mention any prerequisites beyond having a note track. This is moderate disclosure.

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 long but every sentence adds value. It front-loads the purpose, then uses a structured, scannable format for parameters and returns. No redundancy or filler.

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?

For an 8-parameter tool with no schema descriptions and no annotations, the description covers all inputs, gives examples, and states return values. It could be more explicit about side effects (e.g., whether it overwrites existing notes) but is otherwise quite complete.

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 and does fully compensate. It documents all 8 parameters, enumerates valid scales and roots, and provides a detailed pattern syntax with examples. This is essential for correct invocation.

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's function: 'Create a melody from a scale and rhythmic pattern'. It also differentiates from the sibling tool create_note by noting it can replace 10-30 create_note calls, making the purpose and value immediate.

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?

The description explicitly names an alternative ('instead of 10-30 create_note calls'), providing a concrete when-to-use. However, it does not discuss other melody generation siblings like generate_melody, so the exclusion guidance is incomplete.

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