redo
Redo the last undone edit in the open editor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Redo the last undone edit in the open editor.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full disclosure burden, yet it only says it reverts an undone edit. It omits the key behavioral facts an agent needs: whether it errors or no-ops when there is nothing to redo, whether it mutates editor state irreversibly, and whether it requires an open editor session.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with no filler; the core action and its target come first. Nothing could be removed without losing meaning.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter tool this is nearly sufficient, but with no annotations and no output schema, the description leaves unstated what the call returns and how it behaves on an empty redo stack. It is minimum viable rather than complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters, so there is nothing to document and the baseline of 4 applies. The description correctly implies the action targets the implicit 'open editor' rather than any specified argument.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb ('Redo') and a specific object ('the last undone edit in the open editor'), which is unambiguous. The pairing with the sibling 'undo' is clear by convention, though the description never names it explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied rather than stated: 'the last undone edit' hints that an undone edit must exist, and the undo sibling is a natural alternative. There is no explicit when-to-use / when-not-to-use guidance or statement about what happens when the undo history is empty.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.