Skip to main content
Glama

cubase_midi_read

Destructive

Reads MIDI data back from a Cubase project by parsing the host-written MIDI file, returning tempo, time signature, per-track summaries and paged notes in quarter-note beats.

Instructions

Read the MIDI content of the managed project back from Cubase: the host writes its own Standard MIDI File into the project folder once (key command "Write MIDI File to Project Folder") and this tool parses that file. Returns tempo, time signature, one summary per MIDI track (name, channels, programs, note count, pitch range) and a page of notes in quarter-note beats. Muted and solo-muted tracks and tracks without events are not written by Cubase; muted MIDI channels are listed in mutedChannels. Use track, noteOffset and noteLimit to page; includeControllers adds controller and pitch-bend events.

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>"
    },
    "name": "cubase_midi_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
trackNo
sessionYes
noteLimitNo
timeoutMsNo
noteOffsetNo
includeControllersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With annotations supplied (destructiveHint=true, readOnlyHint=false), the description adds substantial context beyond them: it discloses that a file is written into the project folder, that muted, solo-muted, and empty tracks are omitted by Cubase entirely, and that muted channels surface via mutedChannels. The one gap is that the destructiveHint is never explicitly reconciled — nothing says whether the SMF write overwrites prior content.

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?

A single dense paragraph that is well front-loaded: purpose first, then the file-write mechanism, then return shape, then paging and optional flags. Every clause carries information an agent needs; there is no filler.

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

Completeness5/5

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

There is no output schema and only one required parameter, yet the description fully describes the return value (tempo, time signature, per-track summaries with channels/programs/note count/pitch range, a page of notes in quarter-note beats) and the omission rules. Nothing material for correct invocation is missing.

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 coverage is 0%, so the description must compensate, and it largely does: track, noteOffset, noteLimit, and includeControllers each get stated meaning (paging scope, and that controllers/pitch-bend events are added). The remaining two parameters, session and timeoutMs, are only covered by self-explanatory names, which is a minor gap.

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 and resource (read the MIDI content of the managed project) and immediately explains the actual mechanism: Cubase writes a Standard MIDI File and this tool parses it. That mechanism plus the enumerated return contents (tempo, time signature, track summaries, note page) makes it clearly distinct from siblings like cubase_midi_import or cubase_midi_note_edit.

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 rather than stated: the description establishes the precondition that the host must have written its SMF into the project folder, and explains how to page results. It never states when to choose this over the MIDI edit/import siblings or what conditions make it inappropriate, so an agent must infer routing from the name alone.

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