Skip to main content
Glama

get_arrangement_clip_notes

Read MIDI notes from a clip on the Arrangement timeline, including probability and velocity deviation. Provides note data for clips identified by track and clip index.

Instructions

Read the MIDI notes of a clip on a track's Arrangement timeline.

get_clip_notes addresses Session clip slots, so it cannot see notes that live on the timeline and reports "No clip in slot" instead. Use this for Arrangement clips, with the clip_index reported by get_arrangement_clips.

Returns probability and velocity_deviation per note where Live exposes them (has_probability tells you whether it could).

A looped clip stores one copy of its notes and repeats them, so a 16-beat loop stretched across 1147 beats returns 16 beats of notes. Compare loop_start/loop_end against start_time/end_time to see the repetition.

Parameters:

  • track_index: The index of the track

  • clip_index: Index of the clip on the timeline, from get_arrangement_clips

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clip_indexYes
track_indexYes
Behavior5/5

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

With no annotations, the description carries the full burden, and it excels. It discloses the return of probability and velocity_deviation where available, and reveals a significant quirk: looped clips return only one copy of notes, not the repeated playback length. It also advises comparing loop_start/loop_end to start_time/end_time, providing behavioral context beyond a simple read.

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?

The description is structured with clear paragraphs, first stating the core purpose, then usage context, return details, and a looped-clip caveat. Every sentence earns its place and provides non-obvious information. The parameter list is concise and front-loaded.

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

Completeness5/5

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

Given no output schema, the description explains important return details (probability, velocity_deviation, has_probability) and the looped-clip behavior that could confuse users. It is complete for a read tool with no annotation support, addressing the key complexities of the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate. It provides brief definitions for both parameters. The track_index definition is tautological, but clip_index gains valuable meaning by specifying it comes from get_arrangement_clips, which helps the agent source the correct index. This is more than the schema offers, though not extremely detailed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with 'Read the MIDI notes of a clip on a track's Arrangement timeline,' which is a specific verb+resource statement. It further distinguishes itself from get_clip_notes, which targets Session clip slots, making the purpose unmistakable.

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

Usage Guidelines5/5

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

Explicit guidance: 'Use this for Arrangement clips, with the clip_index reported by get_arrangement_clips.' It also clarifies when NOT to use it (get_clip_notes is for Session slots) and explains the limitation of get_clip_notes. This fully covers when to use this tool versus alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/freekmurze/ableton-ai'

If you have feedback or need assistance with the MCP directory API, please join our Discord server