Skip to main content
Glama
@serversareup/mcp-server

@serversareup/mcp-server

rollback_update

DestructiveIdempotent

Restores an update job to its pre-update checkpoint snapshot, recovering the prior system state after failed or unwanted changes.

Instructions

Roll back and recover an update job using its pre-update checkpoint snapshot.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "jobId": "<jobId>"
    },
    "name": "rollback_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYes
reasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds the useful mechanism detail (rollback is driven by a pre-update checkpoint snapshot), but says nothing about what is overwritten, whether rollback can itself be undone, or required permissions.

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 front-loaded sentence with zero filler; the action and mechanism are both stated before any detail.

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?

For a destructive, non-read-only mutation with no output schema and two fully undocumented parameters, the description should say what state results from a successful rollback and what 'reason' is for. Neither is covered, leaving an agent under-informed before an irreversible operation.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning, and it only loosely implies that jobId identifies the job being rolled back. The optional 'reason' parameter is never mentioned and no format or sourcing hints are given for jobId.

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+resource ('Roll back and recover an update job') and names the mechanism ('pre-update checkpoint snapshot'), which separates it from siblings like apply_update. It does not explicitly contrast with apply_update or list_checkpoints, but the action is unambiguous.

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

Usage Guidelines2/5

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

No guidance on when to use this versus apply_update (the inverse operation) or how to obtain a valid jobId/checkpoint. The description implies recovery context but never states prerequisites or exclusions.

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