Skip to main content
Glama

Delete a task

delete_task
DestructiveIdempotent

Move the task to the recycle bin. It stops firing immediately and can be restored for 30 days with restore_task; after that it is unrecoverable. Credits already spent are not refunded.

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": {
      "id": "<id>"
    },
    "name": "delete_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTask id (UUID), as returned by create_task or list_tasks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, yet the description still adds substantive behavior: it is a soft delete with a 30-day recycle-bin window, firing stops immediately, post-window deletion is permanent, and credit spend is not returned. That is exactly the consequence detail an agent needs before invoking a destructive tool.

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, each earning its place: the action, the reversibility window with the restoring tool, and the irreversibility plus billing consequence. The most decision-relevant fact (it goes to a recycle bin, not gone) is front-loaded.

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 one-parameter destructive mutation with no output schema, it covers consequences and recovery well. Minor omissions remain — no mention of behavior on an already-deleted or nonexistent id, or what the response returns — though idempotentHint covers part of that.

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?

Single parameter with 100% schema description coverage ("Task id (UUID), as returned by create_task or list_tasks"), so the schema already carries the semantics. The description adds nothing about the id, which meets the baseline-3 expectation but no more.

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?

"Move the task to the recycle bin" is a specific verb + resource with precise semantics (soft delete, not a hard delete), which cleanly separates it from the sibling delete_destination. It also names restore_task as the counterpart, so the agent can map the delete/recover pair without opening a schema.

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?

Clearly establishes the context of use plus the recovery path: recoverable for 30 days via restore_task, unrecoverable afterwards, credits not refunded. The notable gap is that it does not route to pause_task, the sibling for "stop firing temporarily" — an agent might delete when pausing is what the user wants.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.