Skip to main content
Glama

cubase_event_edit

Destructive

Move or trim one existing audio event or MIDI part in place, validating expected type, name, start and duration, and returning confirmed before/after values.

Instructions

Move or trim one existing audio event or MIDI part in place through IProjectObject/MEditContext, without selection commands or reimport. Copy root, path and expected type/name/startSeconds/durationSeconds from cubase_events_list. The native side re-enumerates and rejects any mismatch or locked/track target. field=position sets absolute project seconds; field=duration sets seconds (audio is trimmed, not stretched beyond its current length). Returns before/after from host getters and confirmed; the source file is untouched. Native undo integration is not certified. Stop transport first; never repeated automatically.

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>",
      "path": "<path>",
      "expected": "<expected>",
      "field": "<field>",
      "seconds": "<seconds>",
      "confirmEdit": "<confirmEdit>"
    },
    "name": "cubase_event_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
rootYes
fieldYes
secondsYes
sessionYes
expectedYes
confirmEditYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

It goes far beyond annotations by detailing specific rejection behavior (mismatches or locked targets), noting the source file remains untouched, and disclosing that native undo integration is not certified.

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 language is dense and technical, but every clause is necessary to define a crucial constraint or behavioral detail of the tool.

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?

Given the complexity of Cubase editing and the lack of structured detail, this description provides a near-complete operational spec, covering execution, safety, and functional limitations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description is vital. It defines the difference between setting `position` (absolute project seconds) and setting `duration` (seconds for trimming), adding essential meaning to the `field` 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?

The description clearly states the tool's purpose: moving or trimming one existing audio event or MIDI part.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly outlines necessary preconditions (stop transport), constraints (no selection commands/reimport), and dependencies (data must come from cubase_events_list).

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