Skip to main content
Glama

mcp-easy-ai__wp_get_revision

Read-only

Gets a single post revision by ID. Required: post_id (the parent post ID) AND revision_id (the specific revision ID). Returns { id, author (user ID), date, title, content (raw markup), excerpt }. To restore a revision, use wp_restore_revision (preferred) rather than manually copying its title, content, and excerpt into wp_update_post. Use wp_list_revisions to discover revision IDs for a post. This tool is listed as read regardless of the parent post's type, but WordPress requires edit-level access on that specific parent (edit_posts for posts, edit_pages for pages, or a CPT's own capability) — a low-privilege caller may still see a permission error depending on which post_id is targeted. Through Royally: its server marks it read-only, so it runs straight away.

Input Schema

NameRequiredDescriptionDefault
post_idYesThe ID of the parent post.
site_idNoSite to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com)
revision_idYesThe ID of the revision to retrieve.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, but the description goes well beyond them: it discloses the WordPress capability required (edit_posts / edit_pages / CPT-specific) and warns that a low-privilege caller may hit a permission error depending on which post_id is targeted. It also explains the server-level read-only marking, covering auth needs and failure behavior that the annotations cannot express.

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?

Front-loaded with purpose and required params, then routing, then return shape, then permission caveats — a sensible order. It runs long and the closing Royally sentence partially restates readOnlyHint, but each block carries distinct information.

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?

There is no output schema, and the description compensates by enumerating the returned fields (id, author, date, title, content raw markup, excerpt). Combined with permission caveats and sibling routing, an agent has everything needed to call this correctly.

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 both post_id and revision_id are already documented as parent post and revision respectively. The description restates that both are required but adds no format, constraint, or edge-case detail (e.g. whether a revision_id from another post is rejected). Baseline 3 applies when the schema does the heavy lifting.

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 ("Gets a single post revision by ID") and immediately enumerates the return shape. It distinguishes itself from both wp_list_revisions (discovery) and wp_restore_revision (mutation) by name, so an agent can route correctly 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 Guidelines5/5

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

Gives explicit when-to-use routing: use wp_list_revisions to find revision IDs, and use wp_restore_revision rather than manually copying title/content/excerpt into wp_update_post. That is a named alternative plus the condition that selects it, which is the top of the scale.

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.

Resources