Skip to main content
Glama

Export WAV or MIDI

export_project
DestructiveIdempotent

Renders the project open in OpenUtau to WAV audio or MIDI files, with optional per-track WAV export. Overwrites existing output files and returns paths and byte sizes.

Instructions

Render the project open in OpenUtau to a file (needs the bridge): .wav = audio mixdown, or one WAV per track with per_track=true (can take minutes); .mid = MIDI. Overwrites existing files. Returns path(s) and bytes. For a UTAU .ust use convert_ust. / OpenUtau のプロジェクトを書き出します:.wav は音声(per_track=true でトラックごと、数分 かかることあり)、.mid は MIDI。既存ファイルは上書き。

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": {
      "path": "<path>"
    },
    "name": "export_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesOutput file: .wav renders audio, .mid exports MIDI. Overwrites it. / 出力先(.wav か .mid、上書き)
per_trackNo.wav only: one WAV per track (numbered next to path) instead of the mixdown. / トラックごとに書き出す

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructive, idempotent and non-readOnly, and the description adds genuinely new behaviour: it requires the bridge to be running, it overwrites existing files, per-track mode can take minutes, and it returns path(s) and bytes. The one thing not covered is what happens to numbered files from a previous per-track export.

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 and format matrix, then constraints, then the alternative. The English/Japanese duplication doubles the length, but that is deliberate localisation rather than padding, and every sentence carries content.

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?

For a two-parameter, no-output-schema tool, the description supplies the missing return information ('Returns path(s) and bytes'), the prerequisite (bridge), the runtime cost, the destructive behaviour, and the alternative tool. An agent has everything needed to invoke it correctly.

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

Parameters3/5

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

Schema description coverage is 100%, so both parameters are already documented, and the description largely restates them ('.wav only' for per_track, overwrite for path). The 'numbered next to path' detail adds a small amount of meaning about output layout, but nothing beyond baseline is warranted here.

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 ('Render the project open in OpenUtau to a file') and immediately disambiguates the two output modes: '.wav = audio mixdown, or one WAV per track with per_track=true ... .mid = MIDI.' It also names the sibling to use for a different target format ('.ust use convert_ust'), so an agent can place it precisely in the catalog.

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 explicit routing for the neighbouring format case ('For a UTAU .ust use convert_ust') and signals cost ('can take minutes'), which informs when this is the right vs. wrong call. It does not distinguish itself from project-persistence siblings like save_project, leaving that one inference to the agent.

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