Skip to main content
Glama
mcp-google-tasks
by dcode

Delete Task

delete_task
Destructive

Removes a task from a Google Tasks list by task ID. Use it to permanently delete a task when completing it is not the desired action.

Instructions

Delete a task from a Google Task list (tasks.delete).

Confirm with the user before calling. To finish a task instead, use patch_task with status='completed'.

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_idYesTask identifier to delete.
tasklist_idNoTask list ID, or '@default' for the primary list.@default

Output Schema

NameRequiredDescriptionDefault
statusNook
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, but the description adds genuinely useful behavior: a mandatory user confirmation step and the near-miss alternative that avoids an unnecessary delete. What it leaves out is the blast radius of the call, e.g. whether subtasks or completed-task history are also removed, which matters 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.

Conciseness5/5

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

Three short sentences, front-loaded with the action, followed by the safety rule and then the alternative. Nothing is redundant and no wording needs trimming.

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?

The output schema covers return values and the annotations cover the safety profile, so the description only needs to handle the destructive-call protocol and the alternative route, both of which it does. For a two-parameter delete tool this is sufficient to call it correctly.

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%, with both task_id and tasklist_id (including the '@default' semantics) documented in the schema itself. The description adds no parameter-level meaning such as accepted ID formats or what happens when tasklist_id is omitted, so the baseline 3 applies.

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 ('Delete a task from a Google Task list') and even cites the underlying API method, which removes ambiguity. The sibling it is most likely to be confused with (finishing a task via patch_task) is named and contrasted in the same definition.

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?

Gives an explicit alternative and the condition that selects it: 'To finish a task instead, use patch_task with status="completed"'. It also imposes a concrete pre-call protocol ('Confirm with the user before calling'), so an agent knows both the substitution rule and the interaction requirement.

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