Skip to main content
Glama

rollback_apply

Apply a confirmed rollback to reverse a prior action. The operation re-runs through auth, rate-limiting, and validation, then logs the reversal.

Instructions

Execute the rollback plan for action_log[index]. The reversal call is re-dispatched through the same MCP handler used for forward actions, so it re-enters auth, rate-limiting, and input validation. On success, appends a new action_log entry tagged with rollback_of=index. Requires confirm=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
state_fileNoPath to STATE.json.
indexYesIndex into action_log to reverse.
confirmYesMust be true to actually execute the rollback. A second-factor against accidental or injected apply calls.
Behavior4/5

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

It discloses key behaviors: re-entering auth/rate-limiting/validation, and appending a new log entry with 'rollback_of=index'. Given no annotations, this provides solid insight into side effects and security checks.

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?

The description is extremely concise, using three sentences to convey purpose, behavior, and requirement without any unnecessary words.

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 simple 3-parameter tool with no output schema, the description covers the core action, re-dispatch behavior, and the confirm requirement. It lacks return value details but is otherwise complete.

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 parameter descriptions are adequate. The description reinforces the need for 'confirm=true' but adds minimal new detail beyond the schema.

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?

The description clearly states the tool executes the rollback plan for a specific action_log entry, distinguishing it from the related sibling tool 'rollback_plan_get' which retrieves plans without executing.

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?

The description specifies that 'confirm=true' is required for execution and explains the re-dispatch behavior, but does not explicitly mention prerequisites like having a rollback plan or when to prefer this over other tools.

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/logly/mureo'

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