Skip to main content
Glama

delete_todo

DestructiveIdempotent

Permanently delete a To-Do item. WARNING: This action cannot be undone. ADMIN ONLY: This tool requires admin privileges. Non-admin users will receive a 403 Forbidden error from the API.

delete_todo

When to use

Permanently delete a To-Do item. WARNING: This action cannot be undone. ADMIN ONLY: This tool requires admin privileges. Non-admin users will receive a 403 Forbidden error from the API.

Parameters to validate before calling

  • todo_token (string, required) — The To-Do token to delete (UUID format).

Notes

  • DESTRUCTIVE — IRREVERSIBLE. Always confirm with the user before calling. Explain what will be lost.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmYesMust be true. Set it ONLY after the user explicitly confirmed THIS deletion in this conversation, having been told what is lost: the to-do item. Never assume, never carry a confirmation over from a previous item, never set it to satisfy the schema.
todo_tokenYesThe To-Do token to delete (UUID format).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "Must be true. Set it ONLY after the user explicitly confirmed THIS deletion in this conversation, having been told what is lost: the to-do item. Never assume, never carry a confirmation over from a previous item, never set it to satisfy the schema.",
      +  "type": "boolean"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "todo_token"
      -]New value: +[
      +  "todo_token",
      +  "confirm"
      +]
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

The description goes beyond the destructiveHint annotation by explicitly warning that the action cannot be undone and is admin-only, including a 403 outcome for non-admins. It does not repeat idempotency behavior, but the key destructive and auth consequences are disclosed.

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

Conciseness2/5

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

The description is redundant: the warning and admin-only text appear in the main description, again under 'When to use,' and again in the 'Notes' section. The core message is front-loaded, but the repetition prevents the text from earning its place.

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?

The description covers the critical operational context: permanent deletion, admin authorization, and the requirement to confirm with the user. With no output schema, the absence of return-value details is acceptable, and the confirm guardrail is addressed in the schema.

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?

The schema already provides complete descriptions for both required parameters, including the detailed confirm flag semantics. The tool description adds no further parameter meaning beyond repeating the todo_token format.

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 opens with 'Permanently delete a To-Do item,' which is a specific verb and resource. It is clearly distinguished from sibling tools like create_todo, update_todo, and fetch_todos by the destructive delete intent.

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

Usage Guidelines3/5

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

The intended use is implied by 'Permanently delete a To-Do item' and the tool name, but there is no explicit statement of when to choose this tool over alternatives or when not to use it. The admin-only and irreversibility warnings provide context but not selection criteria.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources