Skip to main content
Glama

create_scale_melody_clip

Create an exact scale-degree melody in an empty Ableton Live Session clip by specifying grid steps, degrees, gate, velocity, and repeats, with native verification of all notes.

Instructions

Plan or create one exact scale-degree melody in an empty Session clip. Binds Live key, meter, grid, destination, and state; native execution verifies every generated note.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gateYesNote duration as a fraction of one selected grid step.
gridYes
nameYesNew melody clip name.
clipIdYesStable clip ID: track-N:clip-M from list_clips, or track-N:arrangement-clip-M from list_arrangement_clips for tools that support Arrangement clips.
dryRunNoOmit or true to return a plan; false requires a valid confirmationToken.
eventsYesExplicit scale-degree events; omitted grid steps are rests.
repeatsYes
trackIdYesStable track ID returned by list_tracks.
maxPitchYes
minPitchYes
planHashNoHash returned by the matching dry run.
velocityYesDefault note velocity.
basePitchYesMIDI pitch for scale degree one.
motifBarsYes
confirmationTokenNoShort-lived, single-use token returned by the matching dry run.
expectedStateVersionYesExact stateVersion observed immediately before planning.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

The description adds meaningful behavioral context beyond the annotations: it reveals the dual plan/execute mode ('Plan or create'), the precondition of an 'empty Session clip,' and that 'native execution verifies every generated note.' It also hints at state binding ('Binds Live key, meter, grid, destination, and state'), although this phrasing is somewhat cryptic.

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 two concise sentences with no filler. The primary purpose is front-loaded, and the second sentence adds behavioral specificity about native execution and state binding. Every clause earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 16-parameter, mutating tool with no output schema, the description is too sparse. It does not explain the dry-run/confirmation-token flow (despite 'Plan or create' hinting at it), what the tool returns, how to obtain the required trackId/clipId/expectedStateVersion, or how it relates to sibling planning tools like plan_scale_melody.

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

Parameters2/5

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

Schema coverage is 69%, leaving five parameters without descriptions (grid, repeats, maxPitch, minPitch, motifBars). The tool description does not clarify these undocumented parameters; it only broadly mentions 'grid' and 'scale-degree' without explaining values, defaults, or relationships. The description therefore fails to compensate for the schema coverage gap.

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 a specific action and resource: 'Plan or create one exact scale-degree melody in an empty Session clip.' It distinguishes this from sibling tools by specifying 'scale-degree melody' and 'empty Session clip,' making it easy to tell apart from bassline, chord, and other clip-creation tools.

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

Usage Guidelines3/5

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

The description implies the tool is for creating or planning a scale-degree melody in an empty Session clip, which provides some contextual guidance. However, it never explicitly says when to use this instead of related tools like plan_scale_melody, create_scale_bassline_clip, or create_midi_clip, and it offers no exclusions or alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools