Skip to main content
Glama

Set tempo, time signature, key

update_project
DestructiveIdempotent

Change song-wide tempo, time signature, and key in an OpenUtau project, editing only the values you specify. Works on the live project or a .ustx file.

Instructions

Change song-wide settings: tempo (or a tempo change at a tick, or remove one), time signature (at a bar), key. Give only what changes. Live, each setting is its own undo step. Returns the project summary like get_project. Use update_track / update_part for tracks and parts. / 曲全体の設定を変えます:テンポ(途中のテンポ変更の追加・削除)、拍子(小節指定)、キー。変える項目だけ指定。 ライブでは項目ごとに1回の取り消し単位。概要を返します。

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": "update_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
bpmNoTempo in BPM, 10..1000, set at tempo_tick. / テンポ
keyNoKey: 0 = C ... 11 = B, or a name like "F#", "Bb". / キー
pathNoA .ustx file to edit directly (OpenUtau may be closed). Omit to use the project open in OpenUtau (needs the bridge). / 直接編集する .ustx ファイル(OpenUtau は閉じていて可)。省略で OpenUtau のプロジェクト
tempo_tickNoTick of the tempo change (0 = song start). / テンポ変更の位置(ティック、0 = 先頭)
remove_tempoNotrue removes the tempo change at tempo_tick (not tick 0). / true で tempo_tick のテンポ変更を削除
time_signatureNoTime signature such as "4/4", "3/4", "6/8". / 拍子
time_signature_barNoBar where it starts (0 = first bar). / 拍子変更の小節

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true, readOnlyHint=false), the description adds two facts the annotations cannot convey: each setting is its own undo step in a live session, and the call returns the project summary like get_project (important since no output schema exists). It does not discuss whether edits require a save or what happens on invalid combinations, which keeps it from a 5.

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 action and the settings, followed by the partial-update rule, then behavior and sibling routing — a sensible ordering with no filler. It loses a point because every sentence is duplicated in Japanese, which doubles length without adding information for an agent.

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?

Covers what a destructive, 7-optional-parameter mutation needs: what can change, that only changed fields are sent, undo granularity, return value, and where to go for other scopes. Missing only peripheral details such as save/persistence expectations or the requirement that the bridge is running when path is omitted (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 baseline is 3; the description still adds meaning by clarifying the partial-update contract and by grouping bpm/tempo_tick/remove_tempo as one concept (a tempo change at a position, or its removal). It explains the interactions between parameters rather than just restating them.

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 ('Change song-wide settings') and enumerates the exact settings: tempo (including mid-song change at a tick and removal), time signature at a bar, and key. It explicitly distinguishes itself from update_track / update_part, so an agent can separate song-wide edits from track/part edits without opening either schema.

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?

'Give only what changes' tells the agent this is a partial-update tool, and 'Use update_track / update_part for tracks and parts' names the correct alternatives. There is no explicit exclusion list (e.g., what to call for vocal/expression changes), but the routing guidance is concrete and correct.

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