Skip to main content
Glama

Restore version

restore_version

PROJECT-SCOPED: this call acts only on the explicit project_id and returns the project identity with its result. Put an earlier version of the film back EXACTLY, every layer as it was, as a new version. Use it when the customer asks to go back, undo, or return to the previous/earlier one: never rebuild a look you think matches. requests_back=1 (default) is the film before their last request; version=N restores vN.

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": {
      "project_id": "<project_id>"
    },
    "name": "restore_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionNo
project_idYesExplicit project identifier for this request. The connection's navigation pointer does not select the target.
requests_backNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false; the description usefully adds that the restore is additive ('as a new version'), so prior versions are not destroyed, and that the project identity comes back with the result. It does not cover what happens if the referenced version no longer exists or if both version and requests_back are supplied.

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

Conciseness5/5

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

Front-loaded with the scoping constraint, then purpose, then the usage trigger, then parameter semantics — every sentence adds information and none repeats the schema or annotations verbatim. Emphasis capitals are used sparingly and for genuinely load-bearing points.

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 three parameters, no output schema and thin annotation coverage elsewhere, the description supplies scope, mutation semantics, and selector defaults, and it states what is returned (project identity). It is only missing conflict/error behavior for the two version selectors, which a caller could realistically hit.

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 only 33%, so the description must compensate, and it does: 'requests_back=1 (default) is the film before their last request; version=N restores vN' gives meaning, default and referencing semantics that the bare integer types lack. project_id's meaning is already carried by the schema note; the only gap is not stating precedence when both selectors are passed.

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?

'Put an earlier version of the film back EXACTLY, every layer as it was, as a new version' states a specific verb (restore) and resource (an earlier film version), and adds the scope ('PROJECT-SCOPED') and the additive nature. An agent knows precisely what the call produces without opening the 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?

Explicit trigger conditions are given: 'when the customer asks to go back, undo, or return to the previous/earlier one', plus a concrete prohibition ('never rebuild a look you think matches'). It stops short of naming an alternative tool (e.g. a range-restore sibling) or stating when this is the wrong choice beyond that one anti-pattern.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.