Skip to main content
Glama

cubase_command_execute

Destructive

Execute an allowlisted Cubase key command only when canPerform succeeds, wait for the host binding event, and read back resulting project changes separately.

Instructions

Execute one allowlisted key command once on the main mapping page, only when canPerform succeeds. settleMs waits for the host binding event and returns bindingObserved; that confirms the trigger reached Cubase, not the resulting project change, which must be read back (objects, parameters, files). project.save uses one prepared MIDI input on its internal Save mapping page and returns a new session. Commands act on the current Cubase selection and cursor; no window is opened or focused by this server.

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>",
      "key": "<key>",
      "confirmCurrentSelection": "<confirmCurrentSelection>"
    },
    "name": "cubase_command_execute"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
sessionYes
settleMsNo
confirmCurrentSelectionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior5/5

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

Goes well beyond the annotations: it explains that settleMs waits for the host binding event and that bindingObserved proves only delivery to Cubase, not a project change, which must be read back via objects/parameters/files. It also discloses the special project.save path (prepared MIDI input, internal Save mapping page, new session returned) and that no window is opened or focused.

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-loads the core action and trigger condition, then layers preconditions, return semantics, and the project.save special case. Dense but each sentence carries information; only the multi-clause settleMs sentence is slightly tangled.

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?

No output schema exists, yet the description still describes return values (bindingObserved, new session) and the read-back requirement after mutation. For a non-idempotent, destructive tool it covers side effects and preconditions well; gaps are error behavior when canPerform fails and how to discover valid keys.

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 0%, so the description must carry parameter meaning. It explains settleMs (wait for binding event, returns bindingObserved) and hints at confirmCurrentSelection via 'commands act on the current Cubase selection', but key format/allowlisting and the required session parameter are left unexplained, including what happens to the session after project.save.

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?

States a specific verb and resource — execute one allowlisted key command on the main mapping page — with the trigger condition ('only when canPerform succeeds'). It is distinguishable from read/list siblings like cubase_command_get and cubase_commands_list, though it never names an alternative explicitly.

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 a hard precondition ('only when canPerform succeeds') and notes commands act on the current Cubase selection and cursor, which tells the agent what state must be in place. It stops short of explicitly routing between this and the read-side command tools, so a 4 rather than 5.

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