Skip to main content
Glama

Delete task

delete_task
DestructiveIdempotent

Permanently remove a task by its ID after explicit user confirmation.

Instructions

Permanently delete a task after explicit user confirmation.

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

Input Schema

NameRequiredDescriptionDefault
idYesTask id

Output Schema

NameRequiredDescriptionDefault
taskYes
deletedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the risk profile is partially covered. The description still earns credit by adding that deletion is permanent (irreversible, unlike a soft close) and that explicit user confirmation is required, which annotations do not convey. Return behavior is covered by the existing output schema.

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?

One short sentence with zero filler, and the most consequential facts (permanence and the confirmation requirement) are front-loaded and impossible to miss.

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?

For a one-parameter delete with full schema coverage, complete annotations, and an output schema, the description covers the essentials: what is destroyed and the confirmation gate. It does not address edge cases such as deleting a nonexistent task or dependent data, which would be useful but are minor for a tool of this simplicity.

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 single parameter is fully described in the schema as a positive integer task id, so coverage is 100% and the baseline applies. The description adds no information about id semantics, such as what happens with a nonexistent id, so it does not exceed what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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") with the key qualifier that the deletion is irreversible, so an agent knows exactly what operation this is. It does not name a sibling such as complete_task to contrast against, so it falls short of full sibling differentiation.

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 phrase "after explicit user confirmation" gives a real precondition for invoking the tool, which is more than most definitions offer. However, there is no guidance on when to prefer this over alternatives like complete_task or on what to do when the task should be closed rather than removed, leaving usage context implied.

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