Skip to main content
Glama

Restore a follow-up backup

restore_sequence
Destructive

Use this when the owner wants to undo a change to the follow-ups after a website form and go back to an earlier version. Roll a sequence back to a snapshot from list_sequence_backups. Backs up the current steps first, so a restore is itself undoable.

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": {
      "backup_id": "<backup_id>"
    },
    "name": "restore_sequence"
  }
}

Input Schema

NameRequiredDescriptionDefault
clientNoClient website slug (or id). Required for platform-scoped keys.
backup_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and openWorldHint=true, so the key risk is known. The description adds genuinely new behavior: the current steps are backed up first, making the restore itself undoable — context that meaningfully qualifies the destructive flag. It does not describe required permissions or what the response contains, which keeps it below a 5.

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?

Three short sentences: when to use it, what it does, and the safety property. Nothing is repeated from the name or title and the trigger condition is front-loaded.

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 two-parameter mutation with no output schema, the definition covers purpose, prerequisite source of the backup_id, and the undo-safety property. It leaves out the return value and the client-scoping requirement, which an agent would still have to infer.

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 50%: the client parameter is documented in the schema but backup_id has no description there. The description compensates partially by saying the backup_id is a snapshot from list_sequence_backups, but it says nothing about the client parameter or its platform-scoped key requirement, so half the parameters remain unexplained 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 names a specific verb (roll back / restore) and resource (a follow-up sequence after a website form), and states the source of the target state: a snapshot from list_sequence_backups. That is enough for an agent to distinguish it from apply_sequence_change or plan_sequence_change without reading any schema.

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?

"Use this when the owner wants to undo a change ... and go back to an earlier version" gives a clear triggering condition, and the second sentence routes the agent to list_sequence_backups to obtain the backup_id. It does not state when NOT to use it (for example, that new edits should go through apply_sequence_change), so a small gap remains.

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.

Resources