Skip to main content
Glama

delete_task

Delete a ClickUp task by ID. Raises a 404 error if the task does not exist instead of falsely confirming deletion.

Instructions

Delete a task by ID.

If the task does not exist, a ClickUpError (404) is raised rather than pretending the deletion succeeded.

Args: task_id: The task ID to delete.

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
task_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It usefully states that a missing task raises ClickUpError (404) instead of silently succeeding, but says nothing about permanence, whether subtasks/comments/time entries are also removed, or what permissions are required — critical gaps for a destructive operation.

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?

The purpose is front-loaded in one sentence, followed by a genuinely useful error-behavior note. The Args docstring block merely repeats the schema and could be dropped, but the overall text is short and well ordered.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter tool with no output schema and no annotations, the description covers purpose and the not-found failure mode adequately. However, the absence of any statement about irreversibility or cascade effects leaves a destructive tool under-described relative to its risk.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the single task_id parameter is undocumented in structured fields, and the description only restates the name ("The task ID to delete") without adding format, source, or validation details. No meaning is added beyond the schema title.

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?

"Delete a task by ID" states a specific verb and resource with the keying parameter named, which is unambiguous against siblings like delete_checklist or update_task. It stops short of any explicit sibling differentiation, but none of the listed siblings overlaps in function.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus alternatives such as update_task_status or archival workflows, and no stated preconditions (permissions, whether the task must be closed first). The only contextual note concerns the 404 case, which is an outcome, not a usage rule.

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