Skip to main content
Glama

Export MIDI, VSQX or TuneLab

export_project
Destructive

Export a VOCALOID project to MIDI, VOCALOID3/4 .vsqx, or TuneLab .tlp by choosing the output file extension, converting open or on-disk projects with lyrics, tracks, and warnings.

Instructions

Export the project to another format, picked by the output extension. .mid: standard MIDI file with lyrics, via VOCALOID6 (open project only, no path). .vsqx: VOCALOID4/3 editor project, classic tracks only, shifted by one pre-measure bar. .tlp: TuneLab project, one-way (tune there; never re-export over a tuned file); singing needs a separately installed VOCALOID6 voice extension for TuneLab; part effects are not carried, only style names. Use export_wav for audio. Returns {midi|vsqx|tlp, ...} with warnings (and dropped for .tlp). / 拡張子で形式を選んで書き出します(.mid は VOCALOID6 で開いているプロジェクトのみ、.vsqx は VOCALOID3/4 用で VOCALOID トラックのみ、.tlp は TuneLab 用で一方向)。既存ファイルは overwrite=true でのみ置き換えます。

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

Input Schema

NameRequiredDescriptionDefault
pathNo.vpr file to edit directly, e.g. C:/songs/demo.vpr (VOCALOID6 may be closed); omit to edit the project open in VOCALOID6. / 直接編集する .vpr ファイル。省略すると VOCALOID6 で開いているプロジェクトを編集
outputYesFile to write; its extension picks the format: .mid, .vsqx or .tlp. / 書き出すファイル(拡張子で形式を選択)
tracksNo.tlp only: export just these track indexes. / .tlp のみ: 書き出すトラック
versionNo.vsqx only: 4 = VOCALOID4 editor, 3 = VOCALOID3. / VSQX の版(4 か 3)
overwriteNoReplace the output file if it exists (default false: refuse). / 既存ファイルを置き換える

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag a destructive, non-idempotent write, and the description adds substantial context beyond them: overwrite is refused by default, .tlp is a one-way trip (never re-export over a tuned file), TuneLab singing requires a separately installed voice extension, and part effects are reduced to style names. It even describes the return payload and its warnings/dropped fields.

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-selection rule, then per-format caveats, then the alternative and overwrite behavior — a sensible ordering with little waste. The bilingual duplication makes the block longer than strictly necessary, though each clause still carries information.

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 five-parameter, destructive, branching-format export tool with no output schema, the definition supplies the missing pieces: per-format preconditions, overwrite semantics, irreversibility of .tlp, and the shape of the return value including warnings and dropped data.

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 coverage is 100%, so path, output, tracks, version and overwrite are already documented per-parameter. The description reinforces the cross-parameter coupling (extension drives which other params matter) but adds no format or syntax detail beyond what the schema states, so it sits at the baseline for fully documented schemas.

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 ("Export the project to another format") and immediately pins down selection logic: the output extension picks the format. It enumerates the three targets (.mid, .vsqx, .tlp) and their scopes, which lets an agent distinguish it from export_wav without opening the schema.

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?

Gives per-format conditions that amount to when-to-use rules: .mid only for a project open in VOCALOID6, .vsqx only for classic tracks, .tlp is one-way. It also names the alternative for non-project output ("Use export_wav for audio") and states that existing files are replaced only with overwrite=true.

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