Skip to main content
Glama
esaio

esa MCP Server

Official
by esaio

Roll back a post to a previous revision

esa_rollback_post_revision
Destructive

Roll back an esa.io post to a specified revision, saving the restored content as a new revision.

Instructions

Rolls back a post to the specified revision, saving the restored content as a new revision.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wipNoWIP state after rollback. Defaults to the target revision's WIP state
messageNoChange message for the rollback
teamNameNoTeam name (required). Use esa_get_teams first to see available teams.
postNumberYesThe post number to roll back
revisionNumberYesThe revision number to roll back to, e.g. the revision_number from esa_get_post before your edits

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: the rollback preserves history by saving the restored content as a new revision. It omits permission/team requirements and reversibility of the new revision, so it is good but not complete.

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?

A single tight sentence that front-loads the action and appends the one non-obvious behavior (new revision). No filler or redundancy.

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?

For a mutation tool with annotations covering the destructive flag and a fully documented 5-parameter schema, the description is nearly sufficient. It would be complete with a note on required team context and how the resulting revision is identified, but nothing essential 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 description coverage is 100%, so every parameter (including postNumber, revisionNumber, wip, message, teamName) is already documented in the schema. The description adds no syntax, format, or defaulting detail beyond that, so the baseline of 3 applies.

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 ('rolls back') and resource ('a post') with the target ('the specified revision'), and adds the key side effect of creating a new revision. It is clearly distinguishable from siblings like esa_update_post or esa_archive_post, though it never names those alternatives.

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

Usage Guidelines3/5

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

The description implies a restore/history use case but gives no explicit when-to-use guidance, no contrast with esa_update_post (the obvious alternative for editing), and no prerequisites such as needing a revision number obtained earlier.

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