Skip to main content
Glama

restore_version

Restore a past music version by its history id; it takes over immediately without stopping playback and records the restore as a new version.

Instructions

Plays a past version again, by its id from list_history, in one call: it takes over within a fraction of a second without stopping the music, with the same checks as set_code. The restore is added to the history as a new version ("restored from #id"); nothing is rewritten. Returns the code as confirmed by the page. A restore always takes over at once and replaces a change that waits for a bar or phrase line. The old version replaces the music at once; when the user asked for gradual changes this session, bring it in with set_code and a transition instead. Like set_code, it starts Moontide first when it is not started yet, but only for an id that exists in the history.

Input Schema

NameRequiredDescriptionDefault
idYesVersion id from list_history, for example 41 for #41
answeringNoThe id of the page request this change answers, from its request line; the page shows that request as applied only when the change names it here

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: immediate takeover without stopping playback, non-destructive history append ("restored from #id", nothing rewritten), replacement of a pending bar/phrase-line change, Moontide auto-start only for ids that exist, and the return value being the page-confirmed code. These are exactly the mutation semantics an agent cannot infer from 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 key routing rule, and most sentences carry distinct information. There is mild redundancy around immediate takeover ("within a fraction of a second", "always takes over at once", "replaces the music at once") that could be consolidated.

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 mutation tool with no annotations and no output schema, the description covers safety (non-destructive history append), timing (instant takeover), side effects (replaces pending queued changes, may start Moontide), and the return value. Nothing an agent needs in order to call it correctly is missing.

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 both parameters are already documented, including the answering request-line field. The description reinforces the id's origin and adds the constraint that the id must exist in history, but adds little beyond the schema text, so the baseline of 3 applies.

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 — plays a past version again by its id from list_history — and makes the boundary with set_code and list_history explicit. An agent can distinguish this from edit_code, set_code, and favorite_version without opening any 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 an explicit when-not: if the user asked for gradual changes this session, use set_code with a transition instead. It also names list_history as the source of the id and notes the shared checks with set_code, so the routing decision is fully determined.

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