Skip to main content
Glama

Add track

add_track

Add a track to the end of an OpenUtau project, optionally set its singer, phonemizer, or renderer, and return the track index for adding parts.

Instructions

Add a track at the end. Setting a singer also applies its default phonemizer (and, live, a suitable renderer) unless given. Returns track (its index); live also summary. Add parts to it with add_part; change it later with update_track. / トラックを末尾に追加します。歌手を指定すると既定の音素化器(ライブではレンダラーも)を 設定します。track(番号)を返します。パートは add_part。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "add_track"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoTrack name (default Track<n>). / トラック名
pathNoA .ustx file to edit directly (OpenUtau may be closed). Omit to use the project open in OpenUtau (needs the bridge). / 直接編集する .ustx ファイル(OpenUtau は閉じていて可)。省略で OpenUtau のプロジェクト
singerNoVoicebank id or name as list_singers returns it. / 音源の ID か名前(list_singers の値)
rendererNoRenderer, e.g. "CLASSIC", "WORLDLINE-R", "DIFFSINGER" (live only; default: the singer's). / レンダラー(ライブのみ)
phonemizerNoPhonemizer as full type name, class name or tag, e.g. "EN ARPA", "JA VCV & CVVC". Omit for the voicebank default. / 音素化器(型名・クラス名・タグ)。省略で音源の既定

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.5.0
    • addedInput schema / properties / name / description
      Added value: +"Track name (default Track<n>). / トラック名"
    • addedInput schema / properties / path
      Added value: +{
      +  "description": "A .ustx file to edit directly (OpenUtau may be closed). Omit to use the project open in OpenUtau (needs the bridge). / 直接編集する .ustx ファイル(OpenUtau は閉じていて可)。省略で OpenUtau のプロジェクト",
      +  "type": "string"
      +}
    • addedInput schema / properties / phonemizer / description
      Added value: +"Phonemizer as full type name, class name or tag, e.g. \"EN ARPA\", \"JA VCV & CVVC\". Omit for the voicebank default. / 音素化器(型名・クラス名・タグ)。省略で音源の既定"
    • addedInput schema / properties / renderer / description
      Added value: +"Renderer, e.g. \"CLASSIC\", \"WORLDLINE-R\", \"DIFFSINGER\" (live only; default: the singer's). / レンダラー(ライブのみ)"
    • addedInput schema / properties / singer / description
      Added value: +"Voicebank id or name as list_singers returns it. / 音源の ID か名前(list_singers の値)"
  2. Changed17 schema fields changedv0.4.0
    • removedInput schema / properties / name / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / name / default
      Removed value: -null
    • removedInput schema / properties / name / title
      Removed value: -"Name"
    • addedInput schema / properties / name / type
      Added value: +"string"
    • removedInput schema / properties / phonemizer / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / phonemizer / default
      Removed value: -null
    • removedInput schema / properties / phonemizer / title
      Removed value: -"Phonemizer"
    • addedInput schema / properties / phonemizer / type
      Added value: +"string"
    • removedInput schema / properties / renderer / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / renderer / default
      Removed value: -null
    • removedInput schema / properties / renderer / title
      Removed value: -"Renderer"
    • addedInput schema / properties / renderer / type
      Added value: +"string"
    • removedInput schema / properties / singer / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / singer / default
      Removed value: -null
    • removedInput schema / properties / singer / title
      Removed value: -"Singer"
    • addedInput schema / properties / singer / type
      Added value: +"string"
    • removedInput schema / title
      Removed value: -"add_trackArguments"
  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?

Beyond the annotations, the description discloses useful side effects: setting a singer also applies its default phonemizer and, in live mode, an appropriate renderer unless overridden. It also explains the return value and distinguishes live vs. non-live behavior at a high level.

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?

The description is compact and front-loads the core action. The bilingual repetition adds length, but it is structured and does not obscure the primary English guidance.

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?

With five optional parameters and no output schema, the definition provides enough context for correct invocation: creation behavior, default side effects, return value, and follow-up tools. Minor details such as failure modes or bridge requirements are left to the schema.

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 coverage is 100%, so the schema already documents all five parameters. The description adds relational meaning by explaining how singer, phonemizer, and renderer defaults interact, which is not captured by the individual parameter descriptions alone.

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 gives a specific verb and resource: "Add a track at the end." It also distinguishes the tool from siblings by saying to use add_part for parts and update_track for later changes.

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 clearly positions the tool as the creation step and points to add_part and update_track for related follow-up work. It does not explicitly state when not to use it, but the role is clear from the description.

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