Skip to main content
Glama

Delete a task

delete_task
Destructive

Permanently remove a task and its subtasks from your Google Tasks list. Use when you need to delete a task for good, not just mark it complete.

Instructions

Deletes a task permanently — this is NOT the same as completing it. To mark work done (reversibly), use complete_task instead. A deleted task disappears from default listings immediately; for a while it remains visible to list_tasks with show_deleted=true (deleted:true) so sync clients can observe the deletion, then it is gone for good. Deleting a parent task also deletes its subtasks. Returns {deleted:true} with the ids echoed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYesThe task id — from list_tasks, get_task or create_task output.
tasklist_idYesThe task list id — from list_tasklists or create_tasklist output. "@default" addresses the user's default list.
Behavior5/5

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

Annotations already signal destructive, but the description adds crucial behavioral detail: permanent deletion, soft-delete visibility window with show_deleted=true, cascading to subtasks, and the response shape. This goes well beyond what the annotations convey.

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?

The description is dense but every sentence adds a distinct fact: permanence, distinction from completion, soft-delete behavior, cascading, and return value. It is front-loaded with the most 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?

Covers the destructive semantics, the alternative tool, the observable side effects, and the return value. With a destructive operation and no output schema, this description gives an agent everything needed 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?

The input schema has 100% description coverage, so both parameters are already self-documenting. The description adds no param-specific meaning, but the schema carries the full burden; baseline 3 is appropriate.

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 the exact operation ('Deletes a task permanently') and immediately distinguishes itself from complete_task, so an agent can tell the two apart. The resource and effect are unambiguous.

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 says when NOT to use it ('this is NOT the same as completing it') and names the correct alternative ('use complete_task instead'). Also discloses cascading deletion of subtasks, giving clear selection guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/A1-x-Tech/mcp-google-tasks'

If you have feedback or need assistance with the MCP directory API, please join our Discord server