Skip to main content
Glama

delete_todo

DestructiveIdempotent

Permanently removes a todo or task from the calendar server; use only for explicit deletion requests because the action cannot be undone. Retrieve the todo URL and etag first to avoid conflicts.

Instructions

Permanently delete a todo/task from the calendar. WARNING: This action cannot be undone — the todo is removed from the server immediately. Use only when the user explicitly requests deletion. Obtain the todo URL and etag from list_todos or todo_query first. The etag ensures no conflicting changes occurred since the todo was last retrieved. If the listing shows an etag_note instead of an etag, this todo cannot be deleted with this tool: tell the user what the note says.

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_url": "<todo_url>",
      "todo_etag": "<todo_etag>"
    },
    "name": "delete_todo"
  }
}

Input Schema

NameRequiredDescriptionDefault
todo_urlYesFull URL of the todo to delete. Obtain from list_todos or todo_query response.
todo_etagYesETag of the todo for conflict detection. Obtain from the same response as the todo URL. Ensures no changes were made since retrieval.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds material context: the deletion is immediate and irreversible, the etag guards against conflicting changes since retrieval, and the etag_note case signals a todo the tool cannot delete. That last fallback is behavior an agent could not infer from annotations or schema.

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-loads the destructive warning and keeps every sentence functional. The etag rationale is stated twice (once in prose, once implicitly via the schema), so there is minor redundancy, but nothing is padding.

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 two-parameter destructive tool with no output schema, the description covers the mutation's irreversibility, the sourcing of both required values, and the failure/edge-case branch. An agent has everything needed to call it correctly or decline to call it.

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?

Schema coverage is 100%, so both parameters are already documented and the baseline is 3. The description adds meaning beyond the schema by tying both values to the same listing response and by introducing the etag_note condition that determines whether the call is valid at all.

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 ('Permanently delete a todo/task') plus the scope ('from the calendar'), which cleanly separates it from siblings such as delete_event, delete_contact, and delete_calendar. The word 'permanently' also conveys outcome, not just action.

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-to-use condition ('only when the user explicitly requests deletion'), a prerequisite workflow (fetch the todo URL and etag via list_todos or todo_query first), and a when-not path (if the listing shows etag_note instead of an etag, do not delete and relay the note to the user).

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