Skip to main content
Glama

update_clip

Change a clip's name, loop or marker points, gain, pitch, or warping by supplying only the fields you want to modify.

Instructions

Change one part; give only what should change. name renames it. looping, loop_start, loop_end and start_marker, end_marker (beats) trim or loop it. For a recording only: gain (raw 0..1; read gain_display in the result), pitch_semitones (-48..48), warping (stretch to follow the song's tempo; set it on its own).

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": "<track>",
      "scene": "<scene>"
    },
    "name": "update_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
gainNo
nameNo
sceneYes
trackYes
loopingNo
warpingNo
loop_endNo
end_markerNo
loop_startNo
start_markerNo
pitch_semitonesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already cover the safety profile (not read-only, not destructive, closed-world). Beyond that, the description adds real behavior: partial-update semantics, recording-only applicability, gain being raw 0..1 with a gain_display to read back in the result, and the constraint that warping should be set in its own call. That is genuinely useful context, but the description says nothing about failure modes, permission needs, or what happens to loop/marker values beyond 'trim or loop it'.

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?

The description is dense and front-loaded: the core semantics come first, then the grouping of field families. Every clause carries information, though the run-on field enumeration for 11 parameters would be easier to scan as a short list.

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?

For an 11-parameter partial-update tool with no output schema, the description covers most of what an agent needs: which fields exist, what the units are, and which are recording-only. The required identifiers and error behavior for misapplied fields remain undocumented, and no return-value shape is described beyond the gain_display reference.

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?

With 0% schema description coverage, the description must carry full weight; it gives units for the loop and marker fields ('beats'), a range and read-back hint for gain, and an explicit range for pitch_semitones, which are meaningful additions beyond bare titles. However, the two required identifiers (track, scene) get no explanation and units/ranges for loop_start, loop_end, start_marker and end_marker are absent.

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 operation ('Change one part; give only what should change') and enumerates the concrete properties it can change, so an agent can tell it is a partial-update tool for a clip. It never differentiates itself from the sibling update_track, and the word 'clip' only appears in the tool name rather than the description.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Give only what should change' clearly prescribes PATCH-style usage, and 'For a recording only: ...' plus 'set it on its own' (warping) state real preconditions. No alternatives or sibling routing are named, and it does not say what happens if recording-only fields are sent for a MIDI clip.

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