Skip to main content
Glama

adapt_site_revert

Destructive

Atomically restore everything the last adapt_site_apply wrote (fragments, the menu doc when the op touched it, index, member configs, routes).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteYesSite slug, e.g. acme-studio
contextYesOne sentence: why you are calling this tool and what you are trying to accomplish. Stored on the site's activity log and visible to everyone on the site — never put secrets or personal data here.
guestTokenNoGuest token from start_site. Send it on every call until claim_site. Omit when this chat is already signed in to Dotsy.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds real value beyond that: 'Atomically' discloses all-or-nothing semantics, the parenthetical enumerates the exact scope of mutation, and 'the last' implies only the most recent apply is revertible — a meaningful non-idempotency constraint.

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 sentence, front-loaded with the atomic-restore action and the target, with the scope enumeration in a compact parenthetical. No filler or restated title.

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 destructive mutation with no output schema, the description covers what gets restored and that the operation is atomic, and annotations carry the safety signals. It omits the failure mode when no prior apply exists and whether the revert itself can be undone, which keeps it short of full completeness.

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%, so site, context, and guestToken are all documented in the schema itself. The description adds no parameter-level detail (e.g., which site scope the revert targets), so the baseline 3 applies.

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 specific verb (restore/revert) and precisely scopes the resource: everything the last adapt_site_apply wrote, with an enumeration of the artifacts (fragments, menu doc, index, member configs, routes). This clearly distinguishes it from sibling adapt_site_apply and from the narrower revert_change.

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

Usage Guidelines3/5

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

The phrase 'the last adapt_site_apply' implies the usage context (undo the most recent apply), but the description never explicitly states when to use this versus revert_change, discard_drafts, or what happens if no prior apply exists. Usage is inferable but not spelled out.

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