Skip to main content
Glama

rollback_apply

Reverse a previous action by specifying its index in the action_log. Requires explicit confirmation to prevent accidental execution.

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.
Behavior5/5

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

No annotations present, but description thoroughly explains re-dispatch through MCP handler, re-entry of auth/rate-limit/validation, and appending rollback entry on success. Full transparency for a destructive action.

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?

Four concise sentences, each adding new information. No redundancy. Front-loaded with the core action.

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 no output schema or annotations, the description covers behavior comprehensively. Lacks error handling details but otherwise sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, baseline 3. The description adds value by explaining the purpose of confirm parameter as a second-factor safeguard, beyond schema definition.

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 specifically states it executes the rollback plan for a given action_log index, clearly identifying the resource and action. This distinguishes it from siblings like rollback_plan_get.

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?

Implicitly suggests use after obtaining a rollback plan. Explicitly requires confirm=true to prevent accidental execution. Could be more explicit about prerequisites but adequate.

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