Skip to main content
Glama
mattmaas

n8n-admin-mcp

by mattmaas

rollback_workflow

Restore an n8n workflow to a saved baseline snapshot using workflow IDs. Recovers from unwanted changes by reverting to a known-good version.

Instructions

Rolls back a workflow to a baseline workflow snapshot

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNo
workflow_idYes
keep_active_stateNo
baseline_workflow_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It states the rollback target but omits that this is a destructive state-changing operation, whether the current state is discarded or preserved, whether confirmation is required, and whether the rollback is reversible.

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?

A single, front-loaded sentence with no filler or repetition. It is efficient, though the brevity here reflects under-specification rather than disciplined economy.

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?

A state-mutating tool with no annotations, no output schema, and 4 undocumented parameters needs substantially more than one sentence. Critical details about confirmation, state retention, and reversibility are absent.

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% across 4 parameters, so the description must compensate and does not. It implies the baseline concept but never explains confirm, keep_active_state (default true), or the relationship between workflow_id and baseline_workflow_id.

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?

Clear specific verb+resource: rolling back a workflow to a baseline snapshot. An agent can distinguish this from siblings like create_workflow, duplicate_workflow, or update_workflow_json. It does not explicitly name an alternative, 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 when-to-use guidance, no prerequisites, and no mention of alternatives (e.g. list_backups, replay_sample_payload). The agent is told what it does but not when to reach for it or what must hold true beforehand.

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