Skip to main content
Glama

edit_notes

Modify selected notes in a clip by transposing, shifting beats, setting or scaling velocity and length, and applying legato so each note lasts until the next.

Instructions

Change the selected notes (all, or filtered by pitch / beat range / indices): transpose semitones, shift beats, set or scale velocity, set or scale length, legato (each note lasts until the next).

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

Input Schema

NameRequiredDescriptionDefault
endNo
clipYes
pitchNo
shiftNo
startNo
legatoNo
lengthNo
indicesNo
projectNo
velocityNo
transposeNo
length_scaleNo
velocity_scaleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It identifies this as a mutation tool and explains some operation semantics, notably legato, but it does not state permissions, reversibility, side effects, what happens to unmentioned note properties, or how selection/filtering interacts with the edit.

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 a compact single sentence with the main action front-loaded and the filters and operations listed compactly. It avoids repetition and unnecessary wording. Its brevity does contribute to under-specification, but structurally it is efficient.

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

Completeness2/5

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

For a 13-parameter mutation tool with no annotations, no output schema, and zero schema description coverage, the description is too thin. It gives a useful high-level summary but omits required-parameter behavior, parameter details, side effects, and the practical effects of many options.

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 must compensate for 13 largely undocumented parameters. It adds useful meaning by identifying filter dimensions and edit operations, including units like semitones and beats and the meaning of legato/scale operations. It still does not map many parameters clearly, such as clip, project, start/end beat range, pitch filter semantics, indices, or defaults.

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 uses a specific verb and resource: 'Change the selected notes', and scopes it to all notes or filtered subsets. It also lists concrete edit operations such as transpose, shift, velocity/length scaling, and legato. It does not explicitly distinguish this tool from siblings like set_notes or transpose, so it is clear but not fully differentiated.

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?

Usage is implied by 'selected notes' and the filtering options, suggesting this tool edits existing notes rather than adding or removing them. However, there is no explicit when-to-use guidance, no when-not-to-use exclusions, and no guidance on choosing between this and sibling tools such as set_notes or transpose.

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