Skip to main content
Glama
LiveSession MCP
by Uri-Rosen

set_clip_loop

Set a Session clip's loop start and end in beats and toggle looping on or off to control clip playback ranges in Ableton Live.

Instructions

Set a Session clip's loop region in beats and/or turn looping on/off.

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": "set_clip_loop"
  }
}

Input Schema

NameRequiredDescriptionDefault
loopingNo
loop_endNo
clip_indexYes
loop_startNo
arrangementNo
track_indexYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already state this is a non-read-only, non-destructive, non-open-world mutation, so the safety profile is covered. The description adds meaningful context by specifying that the loop region is measured in beats and that the on/off toggle is independent of the region edit. However, it omits what happens when only one of loop_start/loop_end is supplied, and its 'Session clip' framing sits awkwardly with the schema's separate `arrangement` flag.

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?

A single front-loaded sentence with no filler; the primary action and the optional toggle are both stated up front. It is perhaps too terse given the schema gaps, but nothing in it is wasted.

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?

An output schema exists, so return values need no explanation, but for a six-parameter mutation tool with zero schema descriptions the description is too thin. Not knowing what `arrangement` does or how the indices are interpreted leaves the agent unable to call it confidently on arrangement clips.

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 description coverage is 0%, so the description must compensate for all six parameters. It only clarifies the units for loop_start/loop_end (beats) and the role of `looping`, leaving track_index, clip_index, and especially the `arrangement` flag completely undefined — and that flag materially changes which clip is targeted.

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 (Set) and a specific resource (a Session clip's loop region), plus the secondary action of toggling looping. This distinguishes it from siblings such as duplicate_clip_loop or crop_clip, though it never names an alternative explicitly.

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 guidance on when to use this versus duplicate_clip_loop, crop_clip, or quantize_clip, and no prerequisites or caveats are given. The phrase 'and/or' implies the operations are independent, but the agent must infer that both are optional.

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