Skip to main content
Glama

List revisions

get_revisions
Read-only

List saved revisions for a post or page, newest first, displaying date, author, title, length and content preview; use the revision ID to inspect or restore a specific version.

Instructions

List the revisions (saved earlier versions) of a post or page, newest first: revision ID, date, author, title, length and the start of the content. Needs credentials with edit permission on the post. Use get_revision to read one in full, and restore_revision to go back to it.

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": {
      "post_id": "<post_id>"
    },
    "name": "get_revisions"
  }
}

Input Schema

NameRequiredDescriptionDefault
post_idYesPost or page ID
post_typeNoPost type of post_id: 'post' (the default), 'page', or an allowed custom post type.post

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.30.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds real context beyond that: the auth requirement (edit permission), the newest-first sort order, and an enumeration of returned fields including a content preview rather than full content. It stops short of discussing pagination or limits on revision count, which keeps it from a 5.

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?

Two sentences, front-loaded with the action and ordering, then the auth prerequisite, then the routing alternatives. No redundant restatement of the title or name.

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 simple two-parameter read tool with no output schema, the description covers what is returned, in what order, the permission needed, and which sibling to use for full reads or restores. Nothing essential to correct invocation is missing.

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%, so both post_id and post_type are already documented with an enum and default. The description adds nothing about post_type semantics (e.g. custom post types are accepted by the schema), so the 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 and resource ('List the revisions') and immediately glosses the concept as 'saved earlier versions', plus declares ordering ('newest first') and the returned fields. An agent can distinguish this from get_revision and restore_revision without opening a schema.

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 routes the agent: use get_revision to read one in full, restore_revision to roll back. It also states the precondition ('Needs credentials with edit permission on the post'), so both when-to-use and when-not-to-use are covered.

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