Skip to main content
Glama

undo_last_change

Revert the most recent Git mutation in an NWN module to undo object placement, removal, or linking changes.

Instructions

Revert the most recent GIT mutation (object placement, removal, linking, etc.).

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 observedv1.3.1

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses that only the newest mutation is reverted and gives examples of the affected mutation kinds, but it omits what happens when there is nothing to undo, whether the undo is itself undoable, and whether scope is global or per-session/user.

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 front-loaded sentence with the action first and the parenthetical scope immediately after. No filler, no redundancy, and the 'most recent' constraint is not buried.

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, no-output-schema tool this is close to sufficient: the action and its single-step scope are clear. The remaining gap is edge-case behavior (empty history, undo-of-undo, scope of the undo), which matters for a mutation-reversal tool with no annotations to fall back on.

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 no parameter meaning to add; the baseline applies. The description correctly signals that no target or identifier need be supplied, consistent with the empty schema.

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?

States a specific verb and resource: 'Revert the most recent GIT mutation', and parenthetically enumerates the mutation surface (object placement, removal, linking). An agent can tell it performs a single-step undo rather than browsing history, though it never names its closest sibling undo_history explicitly.

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 'most recent' implicitly scopes usage to single-step reversal and hints that deeper history traversal belongs elsewhere, but no alternative tool is named and there is no statement of when not to use it or what preconditions must hold.

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

Deploy Server

Other Tools