Skip to main content
Glama

List Docmost page history

list_page_history
Read-only

Lists a page's saved revisions newest first with cursor paging, returning IDs and metadata so you can inspect or restore earlier versions.

Instructions

Lists a page's saved revisions, newest first and paged by cursor, with each revision's id, title, author, contributors and time; pass an id to get_page to read that revision or to restore_page to put it back.

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": {
      "pageId": "<pageId>"
    },
    "name": "list_page_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results to return; defaults to 20.
cursorNonextCursor from the previous call, to fetch the next results.
pageIdYesPage id, slug id, or the full page URL copied from the browser.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered; the description adds ordering semantics, cursor-based paging, and the per-revision payload shape — genuinely useful given there is no output schema. It does not mention permissions, retention/version-count limits, or whether the list includes the current version.

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?

One front-loaded sentence with the resource and return shape first, then the next-step routing after a semicolon. Every clause carries information; no filler or restatement of the title.

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 three-parameter read-only list tool with no output schema, the description supplies everything an agent needs: ordering, paging mechanism, returned fields, and where to go next. Annotations plus schema cover the remaining safety and parameter detail.

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% and the schema already documents limit (default 20), cursor (nextCursor from previous call), and pageId (id, slug id, or URL). The description only echoes cursor paging implicitly via 'paged by cursor' and adds no format or edge-case detail beyond the schema. Baseline 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+resource ('Lists a page's saved revisions') and adds scope details — ordering (newest first), pagination model (cursor), and the exact fields returned. An agent can distinguish this from get_page (single revision content), list_pages (page inventory), and restore_page (mutation) 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 Guidelines4/5

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

Gives explicit follow-up routing: pass a returned id to get_page to read that revision, or to restore_page to revert. This makes the tool's place in the workflow clear. It stops short of stating when-not-to-use (e.g., that this should not be used to read current page text), so it is clear context rather than a full decision tree.

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