Skip to main content
Glama

cubase_audio_import

Destructive

Import a local WAV, AIFF or FLAC file into a Cubase project without a chooser; it preserves the original and converts, rejects, or ignores sample rate mismatches.

Instructions

Import a local WAV, AIFF or FLAC file into the owned project through native pool/arranger operations, without opening a chooser or running a key command. The original file is preserved and a unique copy is placed in the project Audio folder. Cubase plays a file whose sample rate differs from the project rate without conversion (a 48 kHz file in a 44.1 kHz project runs 8.1 % slow and flat), so the project rate is read from the saved .cpr and compared first: sampleRateMismatch "convert" (default) writes a converted 32-bit float WAV copy and imports that (WAV sources only), "reject" refuses the import, "ignore" imports the file as it is. The result reports projectSampleRate and the conversion. position optionally sets the project cursor through the transport API; otherwise the current cursor is used. trackName optionally renames the single added audio channel. Returns source metadata, native receipt and actual added channels; no automatic replay.

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>",
      "audioPath": "<audioPath>",
      "confirmImport": "<confirmImport>"
    },
    "name": "cubase_audio_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionYes
positionNo
audioPathYes
trackNameNo
confirmImportYes
sampleRateMismatchNoconvert

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 declare destructive=true but say nothing about scope; the description fills that in with non-obvious behavior: the original file is preserved, a unique copy goes to the project Audio folder, conversion writes a 32-bit float WAV (WAV sources only), the cursor may be moved via the transport API, and there is no automatic replay. The 8.1 % slow/flat rationale justifies why the rate check exists. Nothing here contradicts the destructive annotation — the mutation is to the project, not the source file.

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?

Purpose and mechanism are front-loaded, and every clause carries information — the sample-rate parenthetical is rationale, not filler. It is dense and run-on in places (the mismatch sentence packs rate comparison, three modes, and a format restriction into one breath), but nothing is genuinely redundant.

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 a destructive, 6-parameter mutation with no output schema, the description covers the return surface (source metadata, native receipt, actual added channels), the side effects, and the failure mode (reject). What remains unexplained is the confirmImport safety gate and what session identifies, which an agent must infer from the schema alone.

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; it explains position (cursor via transport API, current cursor otherwise), trackName (renames the single added channel), sampleRateMismatch (all three enum values plus the default), and implies audioPath's accepted formats. Two parameters, session and the required confirmImport const-true gate, are never mentioned, leaving a meaningful 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?

The description opens with a specific verb+resource+format set: "Import a local WAV, AIFF or FLAC file into the owned project through native pool/arranger operations." It also names the mechanism constraint (no chooser, no key command), which distinguishes it from a generic command-execute path and from cubase_audio_export / cubase_midi_import by resource type and direction.

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?

It gives concrete when-to guidance for the sampleRateMismatch choice (convert default, reject refuses, ignore imports as-is) and explains that the project rate is read from the .cpr before comparing. It does not explicitly route to or exclude a sibling tool, so it stops short of the when/when-not/alternatives bar.

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