Skip to main content
Glama

List undo points

wp_undo_list
Read-onlyIdempotent

List the account's own undo points: the snapshots that destructive tools took before they changed something. Returns undo_points, newest first, each with token, tool, kind, summary, items, bytes, created_at, expires_at and reversible (false, with a reason, where this connection may not act on it), plus count and ttl_days. Only the account's own undo points are visible. They expire after the undo window this site sets — 7 days unless an administrator changed it (1 to 30 days); the result reports it as ttl_days — and the store keeps a bounded number and size of points (by default the newest 50 and 100 MB in total), dropping the oldest first. Listing changes nothing: points past these limits are left out of the list and removed the next time a point is recorded. wp_undo restores a point; wp_undo_discard drops one. With undo switched off on the site, the answer says so. Forwarded by AlphaBridge Connect to the one site this connection reaches.

Input Schema

NameRequiredDescriptionDefault
limitNoHow many of the newest undo points to return, 1-50 (clamped; 0 counts as the default); it caps this answer only, not the store. Default 20.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / limit / description
      Previous value: -"How many to return, 1-50. Default 20."New value: +"How many of the newest undo points to return, 1-50 (clamped; 0 counts as the default); it caps this answer only, not the store. Default 20."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already establish readOnly/idempotent/non-destructive, and the description goes well beyond them: expiry window (7 days default, 1-30 configurable, surfaced as ttl_days), the bounded store with default retention of 50 points / 100 MB dropping oldest first, the non-obvious fact that listing does not prune but the next recorded point will, the 'undo disabled on site' branch, and the per-connection reachability caveat via the reversible flag. This is exactly the operational context annotations cannot carry.

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?

Front-loaded with purpose then the return shape, and every later sentence carries a distinct operational fact. It is long, and 'Only the account's own undo points are visible' restates the scope already given in the opening clause — one sentence that doesn't fully earn its place.

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?

With no output schema, the description correctly enumerates the returned fields (token, tool, kind, summary, items, bytes, created_at, expires_at, reversible, count, ttl_days) and explains the one ambiguous field, reversible. Combined with the retention and expiry rules, an agent has everything needed to interpret results without a follow-up call.

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?

The single `limit` parameter is fully documented in the schema (range, clamping, zero-as-default, default 20), so with 100% coverage the schema does the heavy lifting and the description adds nothing about it. Baseline 3 is appropriate; no parameter detail is missing, but none is contributed either.

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?

Specific verb and resource ('List the account's own undo points') immediately glossed as 'the snapshots that destructive tools took before they changed something', which tells an agent exactly what class of object this returns. It is cleanly separable from the write-side siblings wp_undo and wp_undo_discard, which are named later.

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?

The closing routing sentence ('wp_undo restores a point; wp_undo_discard drops one') makes the alternative tools and their roles explicit, and 'Listing changes nothing' clarifies that this is the safe inspection step before restoring. It stops short of an explicit 'do not use this to restore' phrasing, but the intent is unambiguous.

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