Skip to main content
Glama

undo_last_action

Undo the last change in Taskwarrior's undo log. Supports dry_run to preview before applying; the reversion is permanent and cannot be recovered.

Instructions

Undo the most recent Taskwarrior operation.

Reverts the last change in Taskwarrior's undo log. Only one level of undo is available — cannot be chained, and there is no redo.

Supports dry_run=true to preview what would be undone without applying it. Destructive: the reverted change cannot be recovered. May require a confirm_token depending on server configuration.

Caution: after batch operations, undo reverts only the last single operation, not the whole batch. Requires MANAGER role.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNo
confirm_tokenNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

No annotations are provided, so the description carries full burden. It fully discloses destructive nature, single undo capability, dry_run support, confirm_token requirement, and batch operation caveat.

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?

The description is well-structured with clear paragraphs and each sentence adds value. Slightly verbose but appropriate for the level of detail needed.

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?

Given the tool's simplicity and presence of an output schema, the description covers all necessary behavioral aspects, parameter semantics, and usage conditions comprehensively.

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

Parameters5/5

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

Despite 0% schema description coverage, the description explains dry_run for preview and confirm_token for server-configurable confirmation, adding significant meaning beyond the schema.

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?

The description clearly states 'Undo the most recent Taskwarrior operation,' using a specific verb and resource. It distinguishes itself from sibling tools, as no other tool has undo functionality.

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

Usage Guidelines5/5

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

The description explicitly explains when to use the tool (revert last change), includes important limitations (only one level, no redo, not for batch operations), and lists prerequisites (requires MANAGER role).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GabiUp2/TaskChampion_MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server