Skip to main content
Glama

Restore restore point in place

restore_restore_point_in_place
Destructive

DESTRUCTIVE. Restore a stack's data in place from one of its restore points (the twin of ankra cluster stacks restore-points restore): the stack's CURRENT data is replaced with the restore point's, and what is there now is gone. confirm must be the stack's own name, typed exactly. If the stack's data has changed since the restore point was taken, the call is refused until force=true. A restore point carrying a CloudNativePG or Percona database this platform cannot recreate in place is refused outright - relay that refusal rather than retrying. Requires backups.operate.

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": {
      "stack_name": "<stack_name>",
      "restore_point_id": "<restore_point_id>",
      "confirm": "<confirm>"
    },
    "name": "restore_restore_point_in_place"
  }
}

Input Schema

NameRequiredDescriptionDefault
forceNoProceed although the stack's data has changed since the restore point was taken.
confirmYesThe stack name, typed exactly, confirming that its current data is replaced.
cluster_idNoUUID of the cluster. Alternative to cluster_name.
stack_nameYesThe stack to restore.
cluster_nameNoExact name of the cluster. Optional when a cluster is already selected in the conversation.
restore_point_idYesRestore point id (UUID) from list_restore_points. Only a complete restore point can be restored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description adds the substance an agent needs: the current data is replaced and existing data is gone, the exact confirm/force gating, the two classes of hard refusal, and the required permission (backups.operate). This goes well beyond the annotation and covers the risk profile of an irreversible mutation.

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 leading "DESTRUCTIVE." front-loads the most important signal, and every subsequent sentence contributes a precondition, a refusal case, or a permission requirement. The parenthetical CLI-twin reference is the one piece an agent arguably does not need, keeping this just short of a 5.

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

Completeness5/5

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

For a six-parameter irreversible mutation with no output schema, the description covers consequences, gating, refusals, permission requirements, and where the restore_point_id comes from (list_restore_points). Nothing material is missing for correct invocation.

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%, so the baseline is 3; the description reinforces confirm's typed-stack-name requirement and the force condition (only needed when the stack's data has changed since the restore point), linking them to consequences. Much of that overlaps the schema's own parameter descriptions, so the added meaning is modest rather than substantial.

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 gives a specific verb and resource ("Restore a stack's data in place from one of its restore points") and immediately contrasts it with the non-in-place alternatives implied by the sibling set (delete_restore_point, create_stack_restore_point). The CLI twin reference further pins down exactly which operation this mirrors, so an agent can distinguish it from generic stack mutation tools.

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?

It states the precise preconditions for use (confirm must be the stack's own name typed exactly, force=true required if data changed) and two explicit refusal paths, including the instruction to relay rather than retry a CloudNativePG/Percona refusal. It does not name a sibling alternative to use instead when a stack should be rolled back or redeployed, which is the only remaining gap.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.