Skip to main content
Glama

Open or import project

open_project
Destructive

Opens a project file in OpenUtau, replacing the current project; set force=true to discard unsaved changes or import_tracks=true to add tracks instead.

Instructions

Open a project file in OpenUtau (needs the bridge), replacing the current project; force=true discards its unsaved changes. import_tracks=true instead adds the file's tracks to the current project. Returns the project summary like get_project. To edit a .ustx without OpenUtau, pass its path to the other tools instead. / プロジェクトを OpenUtau で開きます(force=true で未保存の変更を破棄)。import_tracks=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": {
      "path": "<path>"
    },
    "name": "open_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesProject file: .ustx, .ust, .vsqx, .mid, .musicxml, .svp, ... / プロジェクトファイル
forceNotrue discards unsaved changes in OpenUtau; false (default) refuses instead. / true で未保存の変更を破棄
import_tempoNoWith import_tracks: also take the file's tempo (default: OpenUtau decides). / 取り込み時にテンポも使う
import_tracksNotrue adds the file's tracks to the open project instead of replacing it. / true で現在のプロジェクトにトラックを追加

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.5.0
    • addedInput schema / properties / force / description
      Added value: +"true discards unsaved changes in OpenUtau; false (default) refuses instead. / true で未保存の変更を破棄"
    • addedInput schema / properties / import_tempo
      Added value: +{
      +  "description": "With import_tracks: also take the file's tempo (default: OpenUtau decides). / 取り込み時にテンポも使う",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / import_tracks
      Added value: +{
      +  "default": false,
      +  "description": "true adds the file's tracks to the open project instead of replacing it. / true で現在のプロジェクトにトラックを追加",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / path / description
      Added value: +"Project file: .ustx, .ust, .vsqx, .mid, .musicxml, .svp, ... / プロジェクトファイル"
  2. Changed3 schema fields changedv0.4.0
    • removedInput schema / properties / force / title
      Removed value: -"Force"
    • removedInput schema / properties / path / title
      Removed value: -"Path"
    • removedInput schema / title
      Removed value: -"open_projectArguments"
  3. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false; the description adds concrete meaning by saying what destruction occurs (unsaved changes are discarded rather than silently lost) and that the bridge is required. The return value is characterized by analogy to get_project. It stops short of describing failure modes beyond the force=false refusal implied by the schema.

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 the two mode switches before the return-value and alternative notes; every sentence carries information. Some space is consumed by the full Japanese restatement, which is useful for locale but doubles length.

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, bridge-dependent, four-parameter tool with no output schema, the definition covers prerequisite, destructive side effect, mode selection, and return shape by reference to get_project. The only modest gap is the interaction of import_tempo with import_tracks, which the schema handles alone.

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, force, import_tempo, and import_tracks are all documented in structured fields; the description mainly restates force and import_tracks and does not discuss import_tempo at all. Per the baseline rule for full schema coverage, a 3 is appropriate since little meaning is added beyond the schema.

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 specific verb and resource (open a project file in OpenUtau), plus the two distinct modes: replace (default) versus add tracks (import_tracks=true). It also contrasts itself with get_project (returns the same summary) and with the path-based editing tools, so an agent can place it precisely among siblings.

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?

Explicit conditional guidance: force=true discards unsaved changes, import_tracks=true adds tracks instead of replacing, and if there is no OpenUtau bridge the agent is told to pass the .ustx path to other tools instead. Prerequisite (needs the bridge) and alternative route are both named.

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