Skip to main content
Glama

rollback_design_version

Destructive

Restore a design to a previous version by creating a new version from that earlier source, preserving full history and noting the rollback origin.

Instructions

Rollback a design to a previous version.

        Creates a *new* version whose source matches the target version,
        preserving full history.  The new version's notes record the
        rollback origin.

        Args:
            design_id: The design to rollback.
            to_version_id: The version number (integer) or
                ``design_id:N`` ref to restore.

        Returns:
            The newly created rollback version record.  A target version
            whose model is kept on the computer it was made on (it came
            from the person's Kiln account without it), with no source
            here to make it from, is refused with
            ``MODEL_KEPT_ELSEWHERE`` and nothing changes; one with its
            source is restored, and ``model_kept_elsewhere`` says where
            its model is.

INLINE 3D STAGE: on success this tool opens Kiln's interactive 3D stage — an inline viewer panel the user can orbit, zoom, and turn over — in hosts that render MCP Apps panels (Kiln's hosted connection attaches a browser stage link for hosts that don't). Oversized meshes are decimated automatically for the stage; the PNG preview is the floor, not the whole experience.

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": {
      "design_id": "<design_id>",
      "to_version_id": "<to_version_id>"
    },
    "name": "rollback_design_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
design_idYesThe design to rollback.
to_version_idYesThe version number (integer) or ``design_id:N`` ref to restore.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.5.1
    • addedInput schema / properties / design_id / description
      Added value: +"The design to rollback."
    • addedInput schema / properties / to_version_id / description
      Added value: +"The version number (integer) or ``design_id:N`` ref to restore."
  2. First observedv0.1.0

TDQS

A4/5.0
Behavior5/5

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

Despite annotations already declaring destructiveHint=true and readOnlyHint=false, the description adds substantial context the annotations cannot carry: history is preserved, the rollback origin is recorded in the new version's notes, and the MODEL_KEPT_ELSEWHERE refusal leaves state unchanged. It also discloses a side effect the agent would otherwise be surprised by — opening an interactive 3D stage, with automatic mesh decimation and a PNG fallback for hosts without MCP Apps panels.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence and the history-preservation note are well front-loaded, but the docstring-style Args/Returns scaffolding repeats schema content and the failure-case sentence ('A target version whose model is kept on the computer it was made on...') is convoluted enough to require re-reading. The 3D stage paragraph is long but earns most of its length through non-obvious behavior.

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 no output schema, the description does the right work: it explains the returned record, the model_kept_elsewhere field, and the error code for a refused target. The failure path is worded confusingly enough that an agent could miss which condition triggers MODEL_KEPT_ELSEWHERE, keeping this just short of complete.

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 description coverage is 100%, and the 'Args' block restates both parameters almost verbatim from the schema, so no meaning is added. The mention that to_version_id accepts a ``design_id:N`` ref is already in the schema, making the section largely redundant rather than additive.

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 ('Rollback a design to a previous version') and immediately resolves the most likely misreading by explaining it creates a *new* version rather than overwriting history. The agent knows exactly what state results from a call, which distinguishes it from a plain restore/overwrite operation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the semantics rather than stated: an agent can infer this is the tool for restoring a prior version's source. It never names the situation that would select a sibling (e.g. rollback_decoration or a fork-style alternative) and gives no when-not guidance beyond the refusal case.

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

Deploy Server

Other Tools