Skip to main content
Glama

Undo the last change

undo_last_change
Destructive

Put back the last change you made through this connection (in the last 24 hours). Anything the person has changed since in Yoodoo is left as they made it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "undo_last_change"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is known. The description adds real value beyond them: the 24-hour window, the fact that only this connection's changes are reverted, and that subsequent user modifications survive. It does not say whether the undo is itself reversible or how failure is signalled.

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?

Two short sentences, no redundancy, and the operative scope constraint is front-loaded in the first sentence with the important non-effect (user edits preserved) immediately after.

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 zero-parameter mutation whose annotations carry the destructive profile, the description covers scope, actor, and blast radius well. It could be complete with one more clause on behavior when no eligible change exists, since there is no output schema to explain the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. The parenthetical time window effectively acts as an implicit scope argument that the schema cannot express.

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?

The description names a specific action (put back the last change) and constrains it to changes made 'through this connection' within 24 hours, which implicitly separates it from the sibling task-mutation tools. It stops short of explicitly contrasting itself with any named alternative, so it lands just under a 5.

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 last change you made through this connection (in the last 24 hours)' gives a clear applicability window and actor scope, and the follow-up sentence clarifies that the user's later edits are not touched. There is no explicit when-not guidance (e.g., what happens if no eligible change exists), but the context is strong enough for correct invocation.

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