Skip to main content
Glama
BlZvi
by BlZvi

Delete Task

asana_delete_task
DestructiveIdempotent

Permanently delete a task and all its subtasks. This action cannot be undone, so use it only when you want to remove a task entirely. For completing tasks without deletion, use the update function.

Instructions

Permanently delete a task including all its subtasks. This cannot be undone. Use asana_update_task with completed: true instead if you just want to mark it done.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYesThe GID of the task to delete (numeric string, e.g. `'19234567890123'`).
Behavior4/5

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

Annotations already indicate destructiveHint and readOnlyHint, but the description adds valuable context: the deletion cascades to subtasks and is irreversible. This goes beyond the structured metadata, though it could mention permission requirements.

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?

Two sentences, front-loaded with the primary action and scope, followed by the alternative. No wasted words, every sentence earns its place.

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 simple delete tool with one fully-documented parameter and annotations covering safety, the description provides complete context: purpose, effect (subtasks, irreversibility), and alternative. No output schema is needed for a delete operation.

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 schema already fully covers the only parameter `task_id` with a clear description and example. The tool description adds no new param detail, so baseline 3 is appropriate given high schema coverage.

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 clearly states the verb 'delete' and the resource 'task', and adds scope ('including all its subtasks') and consequence ('cannot be undone'). It distinguishes the tool from asana_update_task, making the purpose 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 provides an alternative usage: 'Use asana_update_task with `completed: true` instead if you just want to mark it done.' This tells the agent when not to use the tool and directs to the correct sibling.

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/BlZvi/asana-mcp-server'

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