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 a 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
Behavior2/5

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

The annotation indicates destructiveHint: true, so the description must clarify the destructive nature. It says 'saving the restored content as a new revision,' which is ambiguous about whether the current content is overwritten or preserved. The description does not fully disclose that the rollback replaces the current content, potentially losing unrevisioned changes. This is insufficient given the destructive annotation.

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?

The description is a single sentence, concise and front-loaded with the key action and resource. It avoids unnecessary words, but could include more detail without becoming verbose.

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

Completeness2/5

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

Given the complexity of a destructive rollback operation with multiple parameters and no output schema, the description is too minimal. It does not explain the behavior of the current post content, the reversibility of the rollback, or what the tool returns (e.g., the updated post or a success flag). This lacks completeness for an AI agent to use confidently.

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 the descriptions in the input schema are thorough. The tool description adds minimal additional semantic value, such as 'saving... as a new revision,' but mostly restates the schema. Baseline 3 is appropriate.

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?

The description clearly states the action ('rolls back') and the resource ('a post to the specified revision'), and it saves the restored content as a new revision. This distinguishes it from editing or posting actions, but does not explicitly differentiate from sibling tools like esa_update_post.

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 does not explicitly state when to use this tool vs alternatives. However, the parameter 'revisionNumber' hints at getting the revision from esa_get_post before edits, implying the usage context. But no direct guidelines on when to use or when not to use are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/esaio/esa-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server