Skip to main content
Glama

get_history_version

Read-only

Retrieve a specific page history version by history ID to inspect prior Docmost wiki content, using offset and max_chars to control returned text.

Instructions

Get a specific page history version by history ID.

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": {
      "history_id": "<history_id>"
    },
    "name": "get_history_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
offsetNoStart position
max_charsNoMax characters to return
history_idYesHistory version UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.2.1
    • addedInput schema / properties / history_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
    • addedInput schema / properties / max_chars / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / offset / maximum
      Added value: +9007199254740991
  2. Changed2 schema fields changedv1.1.0
    • addedInput schema / properties / max_chars
      Added value: +{
      +  "description": "Max characters to return",
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Start position",
      +  "minimum": 0,
      +  "type": "integer"
      +}
  3. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes this is a safe read, so the description's burden is lighter. It adds only that the result is one specific version, and it does not disclose that offset/max_chars imply chunked or truncated content, nor what happens when max_chars cuts a version short. Minimum viable given annotation coverage, but thin.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity is part of why the usage and return-value gaps exist.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple and its annotations plus full schema coverage cover most needs. However, with no output schema, the description never indicates what a version contains (page body text vs. metadata), which matters for a history-retrieval call.

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%, so history_id, offset, and max_chars are already documented in the schema, making 3 the baseline. The description only restates the history_id role and says nothing about how offset and max_chars interact (e.g., sequential reads to page through a long version).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Get a specific page history version') plus the lookup key ('by history ID'), which implicitly contrasts with the sibling get_page_history that likely enumerates versions. It never names that sibling, so the differentiation is inferred rather than stated.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no statement of where a history_id comes from (presumably get_page_history), and no note on when to prefer get_page or get_page_history instead. The only cue is the phrase 'by history ID', which an agent must interpret as a prerequisite on its own.

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