Skip to main content
Glama

swebsy_undo

Revert your own last editing tool calls in the current session, newest first. Refuses to undo when a page, CSS, or settings changed since, so hand edits are never overwritten.

Instructions

Revert your own last editing tool call(s) this session (add/edit/delete/move/duplicate_section, insert_block, update_settings, page tools…), newest first. Does NOT undo symbol or asset tools. Refuses (returns blocked) when a page, CSS or settings it would restore has been edited since, so hand edits are never overwritten. Paths may shift — call read_page afterwards.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stepsNoHow many tool calls to revert. Default 1.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.10.0

TDQS

A4.4/5.0
Behavior5/5

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

No annotations are present, so the description carries the full behavioral burden and does so well: it discloses the refusal mechanism ('blocked') and its condition, the newest-first ordering, and the follow-up requirement (read_page) because paths may shift. This is exactly the extra context an agent needs beyond the schema.

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 dense sentences, each earning its place: scope, exclusions, refusal semantics, and the follow-up tip. Front-loaded with the action and its scope before the caveats.

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?

Complete for a single-param revert tool with no output schema; it covers scope, exclusions, failure mode, and post-call advice. The only minor gap is no mention of the maximum of 20 steps, but that is in the schema.

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 description coverage is 100% (the steps param is fully documented with default and range), so baseline 3 applies. The description implies multi-step revert via 'call(s) … newest first' but adds no format or semantic detail 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?

States a precise verb (revert) and scope (own last editing tool calls this session), and enumerates which tools are covered. The explicit exclusion of symbol/asset tools distinguishes it from siblings like delete_symbol and upload_asset.

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?

Clearly says when it applies (your own edits this session) and when it does not (symbol or asset tools), and names the sibling that handles the follow-up (read_page). It lacks explicit guidance on when to prefer this over sibling swebsy_redo.

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