Skip to main content
Glama
live-agent-bridge

live-agent-bridge

by huaidj

edit_notes

Destructive

Modify existing MIDI notes by note_id to preserve identity, or delete notes by id. Update pitch, timing, duration, velocity, or mute settings without recreating notes.

Instructions

Modify notes by note_id (keeps identity, no re-creation) and/or delete notes by id.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "edit_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipNoClip ref/path (e.g. 'id 123'); alternative to track+slot
slotNo
trackNo
changesNoModify existing notes in place: [{note_id, pitch?, start_time?, duration?, velocity?, mute?, probability?, velocity_deviation?, release_velocity?}]
remove_idsNonote_ids to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutation and deletion risk is covered structurally. The description adds one genuinely useful behavioral detail — that edits preserve note identity rather than re-creating — but says nothing about whether a call with neither changes nor remove_ids is a no-op, nor about how notes are located.

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?

One short sentence, front-loaded with the primary verb and resource, with no filler. Minor ambiguity in the 'by note_id' vs 'by id' phrasing and the 'and/or' construction keeps it from a 5.

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?

This is a destructive, five-parameter mutation tool with a nested changes object and no output schema. Annotations cover the safety profile, but the description omits how the clip is located (clip or track+slot) and whether at least one of changes/remove_ids is required, which are the main things an agent could get wrong.

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 coverage is 60%, so the description needs to compensate for the remainder. Instead it says notes are targeted 'by note_id' while three of the five parameters (clip, slot, track) are locator arguments for finding the clip, and these are never mentioned in the description — leaving the targeting model ambiguous against the schema.

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 names two concrete operations on a specific resource: modifying notes by note_id and deleting notes by id. It's clear what the tool does, but it never distinguishes itself from the sibling write_notes, which is the obvious create-vs-edit alternative an agent would need to choose between.

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 parenthetical '(keeps identity, no re-creation)' implicitly signals when to prefer this over a write/re-create tool, and 'and/or' implies the two operations can be combined. However, there is no explicit when-to-use or when-not-to-use statement, and no named alternative is offered.

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