Skip to main content
Glama
LiveSession MCP
by Uri-Rosen

create_clip

Creates a new MIDI clip in a specified track and clip slot, with an optional length in beats, so you can add musical parts to an Ableton Live Set.

Instructions

Create a new MIDI clip in the specified track and clip slot.

Parameters:

  • track_index: The index of the track to create the clip in

  • clip_index: The index of the clip slot to create the clip in

  • length: The length of the clip in beats (default: 4.0)

  • user_prompt: The original user prompt that led to this tool call (for telemetry)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "track_index": "<track_index>",
      "clip_index": "<clip_index>"
    },
    "name": "create_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
lengthNo
clip_indexYes
track_indexYes
user_promptNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds only that the clip is MIDI and that user_prompt is for telemetry; it is silent on the important mutation behaviors an agent would want — what happens if the target slot already holds a clip, whether the clip is created empty, and whether a MIDI track is required.

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?

Front-loaded one-sentence purpose followed by a compact parameter list; nothing extraneous. Minor waste in restating parameter names as their own definitions ('track_index: The index of the track...'), but the list is short and scannable.

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?

An output schema exists, so return values needn't be explained, and the parameter semantics are covered. What's missing for a creation tool with 4 params is preconditions and failure behavior (slot occupancy, MIDI-track requirement) and whether the new clip is empty, which leaves an agent guessing at edge cases.

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

Parameters4/5

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

Schema description coverage is 0%, so the parameter block in the description carries real weight: it gives units for length ('beats', default 4.0), clarifies that clip_index refers to a clip slot rather than a clip, and explains that user_prompt is telemetry-only. The track_index/clip_index sentences mostly restate their names, but overall this compensates well for the empty schema.

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?

States a specific verb and resource ('Create a new MIDI clip') plus where it lands ('specified track and clip slot'), which cleanly separates it from create_audio_clip and create_arrangement_clip by the 'MIDI' + 'clip slot' language. It doesn't explicitly name those siblings, so differentiation is inferable rather than stated.

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?

There is no when-to-use or when-not-to-use guidance at all — no mention of Session vs Arrangement view, no note that the target track must be a MIDI track, and no pointers to add_notes_to_clip for populating the clip afterward. The purpose implies usage, but nothing actively guides selection against the many recording/creation siblings.

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