Skip to main content
Glama

delete_task

Destructive

Permanently deletes a Google Task after explicit confirmation, using the exact task title, task ID, and task list ID to prevent accidental removal.

Instructions

Permanently delete a task after user confirmation. Requires its exact current title and confirm=true.

Recurrence metadata is not exposed by Google. Do not promise that this deletes only one instance of a repeating task; prefer completion when appropriate.

Input Schema

NameRequiredDescriptionDefault
confirmNo
task_idYesExact Google ID from a previous tool result; names are not IDs.
task_list_idYesExact Google ID from a previous tool result; names are not IDs.
expected_titleYes

Output Schema

NameRequiredDescriptionDefault
deletedYes
task_idNo
task_list_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description adds real value on top: the confirmation requirement, the expected-title guard against acting on a stale ID, and the disclosure that Google does not expose recurrence metadata so the tool cannot be scoped to a single instance. That recurrence limitation is exactly the kind of caveat an agent cannot infer from structured fields.

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?

Two tight paragraphs with the destructive action and its preconditions front-loaded. The recurrence paragraph is longer than strictly necessary and its 'do not promise that...' phrasing is agent-directed rather than tool-directed, but the information is not wasted.

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, open-world mutation with an output schema present, the description covers the safety prerequisites and a Google-side limitation. What remains unstated is the failure mode when expected_title does not match the stored title, and the pointer to get_task for retrieving the exact title.

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

Parameters4/5

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

Schema coverage is only 50%, and the description compensates by documenting the two undescribed parameters: expected_title ('its exact current title') and confirm ('confirm=true'). It does not explain why the title must match (staleness protection) or how the caller should obtain the current title, so it falls just short of full compensation.

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 with a scope qualifier: 'Permanently delete a task'. The 'permanently' and 'after user confirmation' framing immediately separates it from reversible siblings such as complete_task or update_task.

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?

Explicitly names the alternative path — 'prefer completion when appropriate' — and states the precondition of obtaining user confirmation plus the exact current title. The qualifier 'when appropriate' is left slightly vague rather than spelling out the condition, which keeps it short of a 5.

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