Skip to main content
Glama

mcp_opendaw_create_ternary_form

Create an ABA ternary form with contrasting middle section for music composition. Customize key, bars, and ornamentation to structure your track.

Instructions

Create ternary form — ABA with contrasting middle section.

Ternary form (ABA) is one of the most fundamental structures in Western music. The outer A sections are related (often identical, or A' with ornamentation), while the middle B section provides contrast. Used in:

  • Minuet & Trio (Haydn, Mozart): A=minuet, B=trio, A=minuet da capo

  • Da capo aria (Baroque opera): A=main aria, B=contrasting middle emotion, A=ornamented return

  • Chopin Nocturnes: A=lyrical theme, B=agitated middle, A=ornamented

  • Pop/jazz ballads: A=head, B=bridge/solo, A=head out

B section contrast types:

  • trio: Subdominant key (IV), smoother rhythm, thinner texture. Classical minuet & trio.

  • dominant: Dominant key (V), more active rhythm, builds tension. Beethoven scherzo style.

  • relative: Relative minor/major, darker/lighter character. Schubert impromptu middle sections.

  • episode: Same key, completely different melodic material. Chopin nocturne B sections.

  • development: Fragmentation of A material, modulating. Late classical/romantic expansion.

A' (return): If a_prime_ornamented=True, adds passing tones, trill-like ornaments, and slight rhythmic variation to the A material. Da capo aria / Chopin nocturne practice.

Melody on track_index, bass on track_index+1.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
a_barsNo
b_barsNo
key_rootNoC
velocityNo
b_contrastNotrio
scale_nameNomajor
start_beatNo
unit_indexNo
track_indexNo
a_prime_ornamentedNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

The description discloses structure (ABA), contrast types, and ornamentation behavior. It also notes that melody goes on track_index and bass on track_index+1. However, it does not mention side effects, overwriting behavior, or scope of changes (e.g., does it clear existing notes?). With no annotations, more detail is needed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose but becomes lengthy with historical and educational detail. While informative, it could be more concise for an AI agent, as the extensive examples and explanations may distract from the key operational guidance.

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 the tool's complexity (10 parameters), the description covers musical theory well but lacks practical details like placement (start_beat, unit_index) and velocity. It assumes an output schema exists but does not clarify return values. Gaps remain for a complete operational understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description explains concepts like A and B bars, contrast types, and ornamentation, which map to some parameters. However, parameters like velocity, start_beat, and unit_index are not mentioned. With 0% schema coverage, the description partially compensates but leaves gaps.

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 first sentence clearly states the tool creates ternary form (ABA) with contrasting middle section. The verb 'create' plus resource 'ternary form' is specific, and the educational context distinguishes it from other form-creating siblings like binary or sonata form.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains what ternary form is and provides genre examples, but it does not explicitly state when to use this tool versus alternatives (e.g., binary form, sonata form, rondo). No guidance on when not to use it or comparison with other form tools is provided.

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