Skip to main content
Glama
LiveSession MCP
by Uri-Rosen

get_clip_notes

Read-only

Retrieve all MIDI notes from a Session-view clip by track and clip index, returning pitch, start time, duration, velocity, and mute data for analysis.

Instructions

Read all MIDI notes from a Session-view clip.

Returns pitch, start_time, duration, velocity, mute (and extended fields when available).

Parameters:

  • track_index: Track that owns the clip

  • clip_index: Session clip slot index

  • user_prompt: The original user prompt that led to this tool call (for telemetry)

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": "get_clip_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
clip_indexYes
track_indexYes
user_promptNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety and locality are covered. The description adds that it is a bulk read returning all notes with field names plus an 'extended fields when available' variance note, which is modest but real added value beyond annotations.

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?

Front-loaded one-line purpose, followed by a return-field list and a compact parameter list. Slightly padded by the parameter restatements, but no wasted sentences.

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

Completeness3/5

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

An output schema exists, so return-value explanation isn't strictly required, and the description redundantly lists fields. With 0% schema coverage it should clarify index semantics and behavior on empty clips or missing slots, which it omits.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden. It only restates the parameter titles ('track_index: Track that owns the clip') without adding indexing base, slot semantics, or error behavior; the user_prompt telemetry note is the only genuinely new information.

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?

States a specific verb+resource+scope: 'Read all MIDI notes from a Session-view clip.' This distinguishes it from arrangement-side siblings like get_arrangement_clips and from mutation tools like add_notes_to_clip or clear_notes_from_clip.

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?

The Session-view qualifier implies when this applies versus arrangement tools, but no explicit when-to-use/when-not guidance or alternative is named. An agent must infer that arrangement clips need a different tool.

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