Skip to main content
Glama

set_clip_settings

Idempotent

Update multiple Session clip properties—name, color, loop, warp, pitch, meter, and groove—in one batch; omitted fields remain unchanged to avoid overwriting existing settings.

Instructions

Update one or more Session clip properties (name, color, loop, audio/warp, meter, groove) in one call.

Omitted fields stay unchanged. Multiple properties execute together in one batch.

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_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
gainNoAudio clip gain (0-1).
nameNoOptional display name; omit it to keep Live's generated name.
loopingNoOptional state change: true turns it on, false turns it off.
warpingNoOptional state change: true turns it on, false turns it off.
loop_endNoOptional position in beats from the start of the clip.
warp_modeNo0=Beats, 1=Tones, 2=Texture, 3=Re-Pitch, 4=Complex, 6=Complex Pro.
clip_indexYesZero-based Session-view clip-slot index on the track.
loop_startNoOptional position in beats from the start of the clip.
pitch_fineNoAudio clip fine pitch in cents.
color_indexNo
track_indexYesZero-based index of a regular track in the Live set.
groove_indexNoGroove Pool index from get_session_info(include_grooves=true); pass -1 to clear.
pitch_coarseNoAudio clip pitch shift in semitones.
start_markerNoOptional position in beats from the start of the clip.
signature_numeratorNo
signature_denominatorNo

Output Schema

NameRequiredDescriptionDefault
dataYes
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so the description gets credit for adding partial-update semantics (omitted fields unchanged) and batch behavior. It does not disclose what happens when audio-only fields (gain, warping, pitch) are sent for a MIDI clip, nor error behavior for invalid indices, which is a meaningful gap for a 16-parameter mutation.

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?

Three short sentences, front-loaded with the core action and the partial-update rule. The third sentence ("execute together in one batch") partly restates "in one call" from the first, a minor redundancy, but nothing is padded.

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

Completeness4/5

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

With an output schema present, return values need no explanation, and the description covers the two things an agent most needs: partial-update semantics and batch application. Remaining gaps are edge-case behavior on incompatible clip types and invalid indices, which are secondary but not trivial for a 16-parameter tool.

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?

Schema description coverage is 81%, just above the baseline threshold, so the schema already documents most parameters. The description adds only a category-level summary and no format, range, or interaction detail beyond the schema, so it lands at the baseline.

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 states a specific verb and resource ("Update ... Session clip properties") and enumerates the property families covered (name, color, loop, audio/warp, meter, groove). It is clear what the tool does, but it never names a sibling such as clip_operation or set_track_settings, so the agent gets no differentiation from adjacent 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?

Usage is implied by the verb and property list, and "Omitted fields stay unchanged" gives partial-update guidance that helps an agent call it safely. However, there is no explicit when-to-use vs. when-not guidance and no pointer to alternatives for clip editing, so the agent must infer routing.

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