Skip to main content
Glama

create_midi_clip

Create a MIDI clip in a chosen empty Ableton Session slot by specifying notes, duration, and track details.

Instructions

Plan or create a MIDI clip in an exact empty Session slot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoOptional clip name.
notesYesInitial MIDI notes.
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.
trackIdYesStable track ID returned by list_tracks.
planHashNoHash returned by the matching dry run.
lengthBeatsYesClip length.
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.5/5.0
Behavior3/5

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

Beyond the annotations, the description discloses two modes of behavior ('Plan or create') and a safety-relevant precondition ('exact empty Session slot'). However, it does not explain what happens if the slot is not empty, whether the create step can stale-fail, or what side effects occur after confirmation; with no readOnlyHint, the mutation burden is only partially covered.

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 a single front-loaded sentence with no filler. It efficiently communicates the action, the resource, and the slot preconditions.

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?

For a nine-parameter tool with a two-phase dry-run/confirm workflow and no output schema, the description is adequate but thin. The schema explains the parameters individually, but the description does not clarify the recommended invocation sequence (plan first, then execute with confirmationToken) or what the returned plan/confirmation payload looks like.

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 input schema has 100% description coverage for all nine parameters, so the schema carries the parameter documentation burden. The description adds only the 'exact empty Session slot' context, which loosely reinforces trackId/clipId semantics but does not add new parameter detail.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb phrase, 'Plan or create', and names the resource, 'MIDI clip', with a clear locative constraint, 'in an exact empty Session slot'. It is clearly distinct from sibling clip creators that target drums, scales, or audio, though it does not explicitly name an alternative.

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 intended use case: creating a MIDI clip in an empty Session slot, possibly after a planning/dry-run step. It does not explicitly state when not to use it, such as when editing an existing clip or when targeting Arrangement, nor does it mention any sibling 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