Skip to main content
Glama

get_version

Read-only

Reads ONE version of the history: its counts and the inventory of its blocks, or its complete SchemaData (include:'full'). Precedes restore_version: list_versions returns only a label and two counts, which is not enough to know what you would go back to — and a restore REPLACES the whole schema. READ-ONLY.

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": {
      "version": "<version>"
    },
    "name": "get_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
includeNo'summary' (default): counts and inventory of the blocks (id, name, type). 'full': the complete SchemaData of the snapshot — LARGE, request it only to inspect a precise detail before restoring.
versionYesThe number returned by list_versions.
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."New value: +"UUID of the project THIS call targets (overrides the session project)."
  2. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."New value: +"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."
  3. Changed3 schema fields changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / include / description
      Previous value: -"'summary' (défaut) : décomptes et inventaire des blocs (id, nom, type). 'full' : le SchemaData complet de l'instantané — VOLUMINEUX, ne le demande que pour inspecter un détail précis avant de restaurer."New value: +"'summary' (default): counts and inventory of the blocks (id, name, type). 'full': the complete SchemaData of the snapshot — LARGE, request it only to inspect a precise detail before restoring."
    • changedInput schema / properties / version / description
      Previous value: -"Le numéro rendu par list_versions."New value: +"The number returned by list_versions."
  4. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, but the description adds meaningful risk context: restore REPLACES the whole schema, which motivates inspection beforehand, and repeats READ-ONLY for emphasis. It stops short of describing response size limits or pagination, though the schema's 'LARGE' warning covers the include:'full' cost.

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?

Three compact sentences, front-loaded with the verb and scope, then the alternative-tool rationale, then the safety tag. No filler; each sentence carries a distinct decision-relevant point.

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 still tells the agent what comes back (counts, block inventory id/name/type, or complete SchemaData), which is enough to call it correctly. Minor gap: no mention of size/pagination behavior for the large 'full' payload outside the schema note.

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 parameter documentation is largely handled there. The description still adds practical meaning by tying the include modes to a decision (what you would go back to) rather than a bare format description, though it repeats 'counts and inventory of its blocks' already present in the schema.

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 ('Reads ONE version of the history') and immediately scopes what is returned: counts, block inventory, or full SchemaData via include:'full'. The uppercase 'ONE' distinguishes it from list_versions and the plural listing behavior.

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?

Explicitly frames the tool as a precursor to restore_version and explains why list_versions is insufficient ('only a label and two counts, which is not enough to know what you would go back to'). This is a clear routing rule to the right sibling, not just inferred usage.

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.