Skip to main content
Glama

Simple House Planner

Undo change

undo_change

Use this when the person asks to undo or take back your last change. Takes back your own last change to a plan. The person's own edits stay as they are.

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": {
      "project_id": "<project_id>"
    },
    "name": "undo_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesThe project's ID from list_projects or create_project. It is an internal key: people know their plans by title.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"The project's ID from list_projects or create_project. Never show it to the person."New value: +"The project's ID from list_projects or create_project. It is an internal key: people know their plans by title."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false but destructiveHint=false, and the description adds the crucial behavioral boundary the annotations cannot express: only the agent's own last change is reverted, while the person's edits remain untouched. That is real added value for a mutation tool. It omits failure behavior (nothing to undo) and whether the undo itself can be reversed.

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?

Three short sentences, with the usage trigger front-loaded and the scope caveat last. No filler or restatement of the title.

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?

For a one-parameter tool with full schema coverage, annotations covering the safety profile, and no output schema, the description supplies the trigger, the scope limit, and the affected-domain boundary. Nothing an agent needs in order to call it correctly is missing.

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 description coverage is 100% and the single project_id parameter is already well documented as an internal key obtained from list_projects or create_project. The description adds no further parameter meaning, which is appropriate at this coverage level.

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?

"Takes back your own last change to a plan" gives a specific verb (take back) and a bounded resource (the agent's last change to a plan), which is far more precise than the bare name 'undo_change'. It stops short of naming redo_change, so the distinction from the inverse operation is only implied by context.

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?

"Use this when the person asks to undo or take back your last change" supplies an explicit trigger condition tied to user intent, and the final sentence delimits scope by excluding the person's own edits. It does not state what to do when there is no prior change or point to redo_change for the reverse direction.

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