Skip to main content
Glama

get_notes

Retrieve all notes from a MIDI clip as pitch, start beat, length, and velocity, sorted by time; use each note's list position to remove or edit it.

Instructions

All notes of a MIDI clip as [pitch, start_beat, length_beats, velocity], sorted by time. The position in this list is the index used by remove_notes / edit_notes.

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": {
      "clip": "<clip>"
    },
    "name": "get_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipYes
projectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations and no output schema, the description carries the full burden and does disclose the two most important behaviors: the exact element structure of each note and that results come back time-sorted. Remaining gaps are error behavior when the clip does not exist and the fact that indices are positional and therefore shift after edits.

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?

Two sentences, zero filler, and the most decision-relevant facts (return shape and index semantics) are front-loaded. Every clause earns its place.

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 a low-complexity read tool with no annotations and no output schema, the description covers return format, ordering, and downstream index usage, which is what an agent needs to call and consume it. It falls short only on parameter identification and failure behavior.

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?

Both parameters sit at 0% schema description coverage, so the description must compensate and it largely does not: it never explains what form the 'clip' identifier takes (name, id, index) or what 'project' does or defaults to when omitted. Only an oblique reference to 'a MIDI clip' hints at the required parameter.

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 ('All notes of a MIDI clip') and goes further by specifying the exact return tuple [pitch, start_beat, length_beats, velocity] and the ordering (sorted by time). It also distinguishes itself from remove_notes / edit_notes by explaining that the list position is the index those tools consume.

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?

The second sentence gives a clear usage context: fetch this list first to obtain indices for remove_notes / edit_notes. It does not state when not to use it or name a read-alternative, but the implied workflow is unambiguous.

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