Skip to main content
Glama

Delete Task

gtasks_delete_task
DestructiveIdempotent

Permanently delete a Google Task and its subtasks after confirming with the user; use the complete action instead if you need to keep a record.

Instructions

Delete a task (and its subtasks). To keep a record, use gtasks_complete_task instead. Confirm with the user first.

Input Schema

NameRequiredDescriptionDefault
list_idNoTask list ID from gtasks_list_task_lists. '@default' is the user's main list ('My Tasks').@default
task_idYesTask ID from gtasks_list_tasks

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds genuinely new behavior: deletion cascades to subtasks and user confirmation is expected before invoking — both 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?

Three short sentences, front-loaded with the action and its cascade effect, followed by the alternative and the confirmation requirement. No wasted wording.

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 destructive two-parameter tool with full schema coverage and rich annotations, the description covers the key risks (subtask cascade, irreversibility implied by the alternative suggestion) and the confirmation step. No output schema exists, but a delete operation's return value is not critical to explain.

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 list_id and task_id documented in the schema including their source tools and the '@default' meaning. The description adds no parameter-level detail, 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') and adds the crucial scope detail that subtasks are deleted too. It is clearly distinguishable from gtasks_complete_task, which it names explicitly.

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

Usage Guidelines4/5

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

Gives an explicit alternative for the 'keep a record' case (gtasks_complete_task) and a prerequisite ('Confirm with the user first'). It does not spell out when deletion is inappropriate beyond that, but the routing guidance is clear.

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