Skip to main content
Glama

cubase_midi_note_edit

Destructive

Edits one existing MIDI note in place by changing pitch, velocity, position, or duration using event data, returning confirmed before/after values. Requires stopped transport and an unlocked note.

Instructions

Edit one existing MIDI note in place, without selection, reimport or commands. Copy root, path, eventId and all expected fields from cubase_events_list. Sets one field per call: pitch 0..127, velocity 1..127, position in seconds or positive duration in seconds. Requires stopped transport and an unlocked note/parent. Returns actual before/after and confirmed. Does not create notes, alter routing or add instruments. Undo integration is not certified; never replay an unconfirmed mutation.

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": {
      "session": "<session>",
      "root": "<root>",
      "eventId": "<eventId>",
      "path": "<path>",
      "expected": "<expected>",
      "field": "<field>",
      "value": "<value>",
      "confirmEdit": "<confirmEdit>"
    },
    "name": "cubase_midi_note_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
rootYes
fieldYes
valueYes
eventIdYes
sessionYes
expectedYes
confirmEditYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag a destructive, non-idempotent write; the description goes well beyond them by disclosing the stopped-transport and lock requirements, the returned 'actual before/after and confirmed' payload, the uncertified undo integration, and the operational warning never to replay an unconfirmed mutation.

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 with the core action, then scope exclusions, then parameters, then behavior. Every sentence carries information, though the middle clauses are densely packed and the parameter sentence mixes units and ranges in a single run-on.

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 an 8-required-parameter destructive tool with no output schema, this covers what to send, what must be true beforehand, and what comes back. Nothing is said about how a mismatched 'expected' object is reported or what 'session' identifies, which leaves a small but real gap.

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 description coverage is 0%, so the description must carry the load, and it does for the crucial parts: the field enum's four options, pitch 0..127, velocity 1..127, position in seconds, positive duration, and the requirement that expected be copied verbatim from cubase_events_list. 'session' and 'confirmEdit' are left unexplained, which is the remaining gap for an 8-parameter tool.

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 precise verb and resource ('Edit one existing MIDI note in place') and immediately bounds the scope with 'without selection, reimport or commands' plus 'Does not create notes, alter routing or add instruments,' which separates it from cubase_midi_import, cubase_command_execute and cubase_event_edit without needing to open their schemas.

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?

Gives concrete preconditions (stopped transport, unlocked note/parent) and the sourcing workflow ('Copy root, path, eventId and all expected fields from cubase_events_list'), plus the one-field-per-call constraint. It lacks an explicit 'use cubase_event_edit instead when…' routing sentence, so the sibling choice is implied by negation rather than stated.

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