Skip to main content
Glama

bitwig_read_clip

Reads one launcher clip on a specified track, returning its name, color, loop, play state and notes with velocity, duration and timing. Use it to inspect clip content before arranging or editing.

Instructions

Read one launcher clip on one exact track: name, color, loop, play state, and its notes with velocity, duration, channel, timbre, pan, gainDb and mute. gainDb is null when Bitwig reads 0: the note's gain was never set (it plays at 0 dB) or it is -inf; the API cannot tell these apart. Note starts are read on the stepsPerBeat grid; a note between two steps reads back at the step it starts in, so use a finer grid to keep off-grid timing.

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": {
      "trackId": "<trackId>"
    },
    "name": "bitwig_read_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNoFirst note to return, for clips with more notes than limit
trackIdYesTrack id from bitwig_tracks; it stays the same when the track is renamed or moved
slotIndexNoLauncher slot (scene) index, 0-based
stepsPerBeatNoGrid resolution for note starts in steps per beat (4 = 1/16 at 4/4, 96 for fine timing). Every note start must lie on this grid. Clip span × stepsPerBeat may not exceed 16384

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and it covers only part of it. It does excellent work disclosing the gainDb null ambiguity (0 dB vs -inf indistinguishable) and the note-start quantization to the stepsPerBeat grid, but says nothing about pagination, what happens when the slot is empty or the trackId is invalid, or what form failures take.

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 sentences, front-loaded with the resource and return payload, and each sentence carries substantive information rather than restating the name. The gainDb caveat is wordy but its length buys a real behavioral warning.

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 no output schema and no annotations, the description compensates well by enumerating the returned fields and two subtle read semantics. The remaining gaps are edge-case behavior (empty slot, invalid track, pagination interaction with limit/offset) rather than anything needed for a normal successful call.

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 coverage is 80%, so the baseline is 3 and the schema already documents trackId, slotIndex, limit, offset and the stepsPerBeat constraint. The description adds real meaning for stepsPerBeat by explaining the consequence of the grid (off-grid notes read back at the step they start in) and why a finer grid is needed, but adds nothing for the other four parameters.

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 ("Read one launcher clip on one exact track") and enumerates exactly what comes back: name, color, loop, play state, and notes with velocity/duration/channel/timbre/pan/gainDb/mute. That makes it clearly the read counterpart to bitwig_edit_clip/bitwig_write_clip, though it never names those siblings 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 statement of when to use this versus bitwig_edit_clip, bitwig_write_clip, or bitwig_launcher, and no prerequisites (e.g. that a slot must contain a clip). The only usage advice given is about choosing stepsPerBeat, which is parameter guidance rather than tool selection.

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