Skip to main content
Glama

Redo my last undo

redo_my_edit
Destructive

Redoes your last undone canvas edit on a slate if no newer edit exists, restoring changed parts unless someone else altered them.

Instructions

Make again the canvas edit you last undid on a slate, if you have made no edit there since.

Redo. Makes again the edit this caller last took back with slates.undo, if the caller has saved no edit on this slate since (a new edit clears what can be redone). Each part goes back to how the edit left it, unless someone else changed it since: that part stays as they left it and is listed in left[]. Saved as an edit, and refused for an agent, as slates.undo is. 409 nothing_to_redo when there is nothing of the caller's to redo.

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": {
      "shareId": "<shareId>"
    },
    "name": "redo_my_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoThe confirmation id from a confirmation_required result, once the person agreed.
shareIdYesThe slate ID from its address: /canvas/<shareId>.
idempotencyKeyNoSend with confirm: the idempotencyKey from the confirmation_required result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.2

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that the operation is persisted as an edit, is refused for agents, advances a per-caller redo history, and applies per-part: parts changed by others since are skipped and reported in left[]. It also supplies an auth/permission constraint and a concrete error code, none of which the annotations carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence and the 'Redo.' paragraph restate the same operation twice, and the internal name 'slates.undo' is repeated. The substance is front-loaded and dense, but roughly a third of the text is duplication.

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 destructive mutation with no output schema, the description covers the confirmation path, the no-op error, and partial-application results including the left[] field. It does not describe the shape of the success response, though that is a minor gap for a redo operation.

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%, so shareId, confirm, and idempotencyKey are already fully documented. The description adds no format or usage detail for confirm/idempotencyKey beyond implying a confirmation flow; it is the schema doing the work here.

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?

States a specific verb and resource: re-apply the canvas edit the caller last undid on a given slate. It also names its own inverse operation (slates.undo) and the exact precondition, so an agent can distinguish it from undo_my_edit 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?

Gives an explicit applicability condition: only when no edit has been saved on that slate since the undo, with a new edit clearing the redo stack. It also documents the failure case (409 nothing_to_redo) and the conflict behavior, but does not explicitly route the agent to the sibling it should use instead when the condition fails.

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