Skip to main content
Glama

Tasks Delete Task

tasks_delete_task
DestructiveIdempotent

Delete a task from a Google Tasks list after confirmation, using the default list when no tasklist ID is provided. To mark it done instead, update the task's status to completed.

Instructions

Delete a task from its task list (the default list when tasklist_id is omitted) after the user confirms. To only mark it done use tasks_update_task with status 'completed'. Returns status 'deleted' with task_id and tasklist_id; declining returns status 'cancelled' with nothing deleted.

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": "tasks_delete_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYesTask ID, from tasks_list_tasks, tasks_tasks_digest or tasks_create_task results.
tasklist_idNoTask list ID from tasks_list_tasklists; omit for the account's default list.

Output Schema

NameRequiredDescriptionDefault
statusNoMachine-readable operation status.
task_idNo
tasklist_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

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, idempotentHint=true and readOnlyHint=false, so safety is covered. The description adds genuinely new behavior: the user-confirmation gate and the declining path that returns status 'cancelled' with nothing deleted, which is not derivable from the annotations. An output schema exists, so the description's recap of the 'deleted' return shape is mostly redundant, keeping this just below top marks.

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?

Three short sentences, each carrying distinct information: the operation and its scope, the non-destructive alternative, and the two possible outcomes. The deletion scope is front-loaded and nothing is wasted.

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 full annotations, full schema coverage and an output schema, the description supplies everything an agent needs: confirmation requirement, default-list behavior, alternative action, and outcome states.

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 description coverage is 100%, and the schema already documents both task_id's provenance and that omitting tasklist_id means the default list. The description's parenthetical about the default list restates, rather than extends, the schema, so it earns baseline credit only.

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 a specific verb and resource ("Delete a task from its task list") and scopes it with the default-list fallback. It also distinguishes the operation from the sibling tasks_update_task by naming the 'completed' status path, so an agent can identify it without reading sibling 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?

It explicitly states the alternative when deletion is not intended: "To only mark it done use tasks_update_task with status 'completed'." It also states the prerequisite that the user must confirm, giving both when-to-use and when-not-to-use guidance.

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

Deploy Server

Other Tools