Skip to main content
Glama

transaction.undo

Revert the most recently committed change in a Ghidra session to restore the prior state after an unwanted edit.

Instructions

Undo the most recently committed change.

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": {
      "session_id": "<session_id>"
    },
    "name": "transaction.undo"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden and does not meet it. It never says whether the undo is itself reversible (a redo sibling exists, but that link is unstated), what happens when there is no committed change, whether it mutates server state, or whether the session must be active.

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?

A single short sentence, front-loaded with the verb and the scope, with no filler. Brevity is achieved, though partly by omitting required context rather than by efficient phrasing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and an undocumented required parameter, a state-mutating undo tool needs more than one sentence. Nothing is said about the return value, error conditions, or how it relates to the redundant-looking revert/redo siblings.

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

Parameters2/5

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

One required parameter with 0% schema description coverage and the description says nothing about it. It does not explain that session_id scopes the undo to a particular session/transaction, nor what format or source the identifier has, so the agent must infer the parameter's meaning entirely.

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 (undo) and a specific target (the most recently committed change), which is more precise than the name alone. It does not distinguish itself from close siblings such as transaction.revert or transaction.redo, leaving the agent to guess which one actually reverses a commit.

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

Usage Guidelines2/5

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

No guidance on when to pick this over transaction.revert, transaction.redo, or transaction.commit, all of which sound like they touch the same state. The agent is told what the tool does but not the conditions that select it over those siblings.

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