Skip to main content
Glama

Remove Task

remove_task
DestructiveIdempotent

Archive or permanently delete a task. First call returns a conflict asking you to archive, confirm deletion, or cancel, so nothing is removed until you choose.

Instructions

Remove a task by archiving (hides from active views, recoverable) or permanently deleting. On first call, returns a conflict with ARCHIVE / DELETE / CANCEL options. Pass mode after the user decides. Delete removes the task and all its links and notes permanently. Archive sets archived_at and preserves everything.

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": {
      "task_id": "<task_id>"
    },
    "name": "remove_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoDeprecated: use `resolution`. 'archive' / 'delete' / 'cancel'.
task_idYesTask UUID to remove.
resolutionNoResolution after the removal conflict: 'confirm' deletes (recoverable for 30 days), 'archive' hides it (recoverable), 'cancel' aborts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description adds real value beyond them: it discloses the non-obvious first-call conflict response, that archive sets archived_at and preserves everything, and that delete also wipes links and notes. The one weak point is the claim that delete is 'permanently' destructive, which conflicts with the schema note that 'confirm' is recoverable for 30 days.

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?

Four short sentences, front-loaded with the what and the two modes, then the two-step flow, then the per-mode consequences. Little waste, though the recoverability point is stated twice in slightly inconsistent form.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers the key thing an agent needs that structured fields cannot convey — the conflict-then-resolve interaction pattern — and no output schema exists to carry it. But it does not reconcile the deprecated `mode` field versus `resolution`, nor the 'permanently' versus 'recoverable for 30 days' discrepancy, which are exactly the ambiguities that would cause a wrong call.

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 coverage is 100%, so the schema already documents all three parameters and both enums, making 3 the baseline. The description adds the sequencing meaning of the choice (decide after the conflict) but muddies semantics by referring to `mode`/DELETE where the live parameter is `resolution`/confirm.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (remove a task) and immediately names the two removal semantics: archiving versus permanent deletion. It is clear what the tool does, though it never contrasts itself with adjacent siblings such as complete_task or purge_item, which also touch task/removal lifecycles.

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

Usage Guidelines3/5

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

Gives genuinely useful procedural guidance: the first call returns a conflict with options, and the mode is supplied only after the user decides. However, it tells the agent to 'Pass mode' while the schema marks `mode` deprecated in favor of `resolution`, and it labels the options ARCHIVE / DELETE / CANCEL while the `resolution` enum is confirm / archive / cancel — leaving the agent unsure which field and which literal to send.

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

Deploy Server

Other Tools