Skip to main content
Glama

redo

Re-applies battle map edits previously reversed by undo, restoring earlier changes. Call again to continue with the next reverted step when one is skipped or already removed.

Instructions

Re-apply the last edit reversed by undo().

`redone: false` with `skipped` means that step's elements were already
gone: it was dropped, not re-applied. Call redo again for the next one.

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": "redo"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does disclose non-obvious behavior: the return field `redone` can be false, `skipped` signals elements that were already gone, and such a step is dropped rather than re-applied. It adds no information on whether redo mutates state destructively or what happens past the end of the history, which keeps it from a 5.

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?

Two short sentences, front-loaded with the core action, with the edge-case semantics relegated to a second paragraph. No filler, though the line-wrapped phrasing of the return-value clause reads slightly disjointedly.

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 zero-parameter tool with no annotations and no output schema, the description covers the action, the relationship to its counterpart, the iteration pattern, and the surprising return-value semantics. 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.

Parameters4/5

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

The tool takes no parameters, so there is no parameter semantics to explain and the baseline of 4 applies. The description correctly spends its words on return-value behavior instead.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Uses a specific verb ("Re-apply") on a specific target ("the last edit reversed by undo()"), and explicitly anchors itself to the sibling undo() so the pair is unambiguous. An agent can tell it apart from undo without inspecting either schema.

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?

Names the precondition for use (there must be an edit reversed by undo) and gives the iterate-forward instruction ("Call redo again for the next one"). It stops short of saying what to do when the redo stack is empty or what an error/edge case looks like.

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