Skip to main content
Glama

Delete a task

delete_task
Destructive

Permanently delete a task and its calendar event. This permanently deletes data and cannot be undone. Marking it finished (set_task_status) keeps the record instead. Without confirm, nothing is deleted and the result shows what would be removed.

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": {
      "task_id": "<task_id>"
    },
    "name": "delete_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNotrue performs the deletion. Without it nothing is deleted, and the result is a summary of exactly what would be destroyed.
task_idYesThe task id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / confirm / description
      Previous value: -"Must be true to actually perform this. Call once WITHOUT it to receive a summary of exactly what will be destroyed, show that summary to the user, and only then call again with true."New value: +"true performs the deletion. Without it nothing is deleted, and the result is a summary of exactly what would be destroyed."
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds real context beyond them: the deletion is permanent and irreversible, it cascades to the associated calendar event, and omitting confirm yields a preview rather than an action. The only gap is that it says nothing about permissions, side effects on related records beyond the calendar event, or error behavior on a missing id.

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

Conciseness5/5

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

Four tight sentences with zero filler, front-loading the destructive scope before the alternative and the confirm precondition. Every clause carries decision-relevant information.

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 irreversible nature, the cascading delete, the safe default, and the sibling alternative. Nothing an agent needs in order to invoke it safely is missing.

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 confirm parameter's own description already covers the dry-run semantics, so the description's confirm sentence largely restates the schema. It adds no format or constraint detail for task_id. Baseline 3 applies when the schema does the heavy lifting.

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 task') and widens the scope precisely ('and its calendar event'), which is information an agent cannot get from the name alone. It also distinguishes itself from set_task_status in the same breath, so the agent can choose between them 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?

Explicitly names the alternative (set_task_status) and the condition that selects it: marking finished keeps the record instead. It also spells out the confirm precondition, so an agent knows the default call is a no-op dry run rather than a deletion.

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