Skip to main content
Glama
LiveSession MCP
by Uri-Rosen

duplicate_clip_region

Copy a time range of MIDI clip notes to another beat inside the same clip to reuse or rearrange musical phrases.

Instructions

Copy a time range of a MIDI clip's notes to another beat inside the same clip.

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>",
      "region_start": "<region_start>",
      "region_length": "<region_length>",
      "destination": "<destination>"
    },
    "name": "duplicate_clip_region"
  }
}

Input Schema

NameRequiredDescriptionDefault
clip_indexYes
arrangementNo
destinationYes
track_indexYes
region_startYes
region_lengthYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only but non-destructive, closed-world write, and 'copy' is consistent with that. The description usefully narrows behavior to MIDI notes only (not automation or audio) and keeps the result inside the same clip, but it does not say whether notes already at the destination are overwritten or merged, nor whether the action is undoable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence, front-loaded with the verb, with zero redundant wording. Everything stated is operative.

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?

An output schema exists and annotations cover the safety profile, so the description only needed the operational core, which it delivers. The remaining gap is unit/format guidance for the numeric time parameters, a minor omission given the documented return shape.

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 0%, so the description has to carry the load. It maps region_start/region_length to a 'time range' and clarifies that destination is a beat position, but leaves track_index/clip_index unmentioned and says nothing about the arrangement flag or whether times are in beats or seconds.

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?

Specific verb (copy), specific resource (a time range of a MIDI clip's notes), and an explicit scope boundary (to another beat inside the same clip). That boundary separates it from duplicate_clip_loop and duplicate_to_arrangement without naming them, though the sibling routing is only implicit.

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?

No when-to-use statement, no prerequisites, and no reference to alternatives such as duplicate_clip_loop, crop_clip, or duplicate_to_arrangement. An agent must infer the choice purely from the one-line scope description.

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