Skip to main content
Glama

mcp_opendaw_create_harmony_line

Generate a key-compatible harmony line from a melody by shifting notes along the scale. Choose intervals like thirds or sixths to add vocal or instrumental depth.

Instructions

Create a harmony line from an existing melody using diatonic intervals.

Reads notes from a source melody and creates a parallel harmony line at a specified diatonic interval. The harmony stays in key — each note is shifted by N scale steps (not semitones), producing consonant harmony automatically.

Harmony intervals (diatonic):

  • third: +2 scale steps — the most common harmony (Lennon-McCartney, Everly Brothers, country duets). Sweet and consonant.

  • sixth: +5 scale steps — wider, jazzier. Creates open, airy harmony.

  • fifth: +4 scale steps — power harmony, medieval/organum sound.

  • fourth: +3 scale steps — suspended, ambiguous. Gregorian/modal.

  • octave: +7 scale steps (or -7) — doubling, not true harmony but useful for layering.

Essential for: vocal harmonies, string pads behind melody, guitar harmonies, counter-melody foundation, thickening lead lines.

source_unit/track/region: Location of the source melody. target_unit/track/region: Where to write the harmony. -1 = create new track/region automatically. interval: third, sixth, fifth, fourth, octave. root_note + scale: The key for diatonic interval calculation. The harmony notes are guaranteed to be in this scale. direction: "above" or "below" — place harmony above or below the melody. velocity_scale: Multiply source velocities by this (default 0.8 = harmony slightly quieter than melody).

Returns the created harmony notes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scaleNomajor
intervalNothird
directionNobelow
root_noteNoC
source_unitNo
target_unitNo
source_trackNo
target_trackNo
source_regionNo
target_regionNo
velocity_scaleNo

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 the burden and largely delivers: it explains the diatonic shift, key guarantee, velocity scaling, and that it returns created notes. It does not explicitly warn about overwriting existing target content, but it clearly states the source is read (not modified) and describes the target creation behavior with -1.

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 front-loaded purpose, interval bullets, use-case list, and parameter explanations. It's longer than minimal, but each section serves a purpose; the musical style references add useful context without being rambling.

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?

Given 11 parameters and no annotations, the description covers the algorithm, parameter meanings, use cases, and return value. It doesn't detail error cases or prerequisites (e.g., source must contain notes), but an existing output schema and the detailed parameter exposition make it reasonably 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%, and the description fully compensates. It explains interval values with musical meaning (third, sixth, fifth, fourth, octave), root_note+scale guarantee, direction, velocity_scale default, and the source/target unit/track/region semantics. This goes well beyond the bare schema.

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+resource: 'Create a harmony line from an existing melody using diatonic intervals.' It distinguishes itself from siblings like create_harmony or create_chorale by emphasizing a parallel harmony line derived from an existing melody, which is a distinct function.

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?

Provides clear use cases: 'Essential for: vocal harmonies, string pads behind melody, guitar harmonies, counter-melody foundation, thickening lead lines.' This tells the agent when to use the tool, though it doesn't explicitly name alternatives or exclusion criteria.

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