Skip to main content
Glama

Take back a write

undo
DestructiveIdempotent

Take back one write you made, by its write_id, within 7 days. Exactly what it did comes off and nothing else: a later log stays. Anything changed since the write is left as it is and named.

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": {
      "write_id": "<write_id>"
    },
    "name": "undo"
  }
}

Input Schema

NameRequiredDescriptionDefault
write_idYesThe write_id a write answered with, or one get_overview lists.

Output Schema

NameRequiredDescriptionDefault
dateNo
undoneYes
left_as_isNo

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 and idempotentHint=true, so the safety profile is covered; the description adds genuinely new semantics about partial reversal — only that write's effects are removed, later logs survive, and anything mutated since is left in place and reported back. It adds useful nuance beyond the annotations, though it does not cover failure modes for an expired or already-undone write_id.

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?

The core action and its scope are front-loaded in the first sentence, with the reversal semantics following. Phrasing like "a later log stays" is slightly compressed to the point of ambiguity, but every sentence carries information.

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 one fully documented parameter, rich annotations, and an output schema handling return values, the description covers everything an agent needs: scope, the 7-day limit, and the precise extent of the reversal. Nothing material is missing for correct invocation.

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 100% and the schema already explains that write_id comes from a write's response or from get_overview. The description's "by its write_id" restates that, and "within 7 days" adds a constraint rather than parameter meaning, so this is baseline territory.

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?

"Take back one write you made, by its write_id" gives a specific verb and a precisely scoped resource (a single write, not a range or a batch). It is unmistakable against the log_*/set_*/update_* siblings, but it never names an alternative or explicitly contrasts itself with re-writing a corrected value.

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 description states the governing conditions for use: one write, identified by write_id, within a 7-day window. It does not spell out when an agent should instead re-log a corrected value or accept a change, leaving the do-nothing alternative implicit.

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.