Skip to main content
Glama

Cancel Todo

cancel_todo

Marks a to-do as cancelled so it will not be done, setting its completed timestamp without requiring a reason.

Instructions

Mark a to-do cancelled: it will not be done. Sets completed_at; takes no reason.

If the work was finished, use complete_todo instead; to hide a to-do without changing its status, archive_todo. reopen_todo undoes it.

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": {
      "todo_id": "<todo_id>"
    },
    "name": "cancel_todo"
  }
}

Input Schema

NameRequiredDescriptionDefault
todo_idYesThe to-do to cancel (required, in-scope): its id or its key (e.g. MAG-3).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare a non-destructive, non-idempotent, non-read-only mutation, and the description adds useful specifics beyond that: it sets completed_at, records no reason, and is reversible via reopen_todo. It doesn't say whether cancelling an already-cancelled to-do errors or what the response contains, but the output schema likely covers the latter.

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?

Front-loaded with the primary effect, then sibling routing in a compact second sentence. The final sentence is a fragment ('reopen_todo undoes it') but it earns its place by disclosing reversibility; nothing is padded.

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?

A single required parameter, full schema coverage, annotations, and an output schema mean little else is needed. The description covers effect, side effect (completed_at), absence of a reason, sibling alternatives, and undo — complete for this tool's complexity.

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 coverage is 100% and the parameter already documents id-or-key forms like MAG-3, so the description doesn't need to compensate. The one added detail is the absence of a reason field, which is minor. Baseline 3 is appropriate.

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 (mark cancelled) and resource (to-do) plus the concrete effect ('will not be done') and what it sets (completed_at). It explicitly separates itself from complete_todo, archive_todo, and reopen_todo, so an agent can pick the right sibling without opening schemas.

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?

Gives an explicit when-not and the alternative to use instead: 'If the work was finished, use complete_todo instead; to hide a to-do without changing its status, archive_todo.' It also names the undo path (reopen_todo), which is exactly the routing information an agent needs.

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