Skip to main content
Glama

delete_task

Archive a task by ID while retaining its fields, optionally set an Archive status, and return the complete record.

Instructions

Archive a task with its ID and fields retained; optionally select an Archive status. Returns the complete record.

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
idYes
storeNoDestination store, when ambiguous.
configNoProgram configuration path for slow_query_ms; otherwise OUTASK_CONFIG or the Outask default config.
statusNo
schema_pathNoProject-relative task schema; overrides selection of tasks/task-schema.json.
project_pathNoProject directory; defaults to server working directory.
if_updated_atNoExact last-read updated_at; rejects stale writes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the whole burden and does meaningful work: it discloses that the operation is archival rather than destructive (fields are retained) and that the complete record is returned. Gaps remain around whether archived tasks can be restored, permission requirements, and visibility of archived tasks in list/search results.

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?

A single compact sentence with the key semantic (archive, not delete) front-loaded, plus the return-value note. It is efficient, though 'with its ID and fields retained' is slightly awkward phrasing.

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 mutation tool with seven parameters and no output schema, the description covers the essential semantics: it is a soft delete, the record is retained, and the full record is returned. Restore path and auth requirements are the notable omissions, but the core call decision is well supported.

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 71%, so the schema documents most parameters. The description only reconfirms 'ID' and adds that status selects an 'Archive' status, adding little beyond the structured fields; the concurrency guard (if_updated_at) and store/config resolution are left entirely to the schema.

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?

The description states a specific verb and resource — archiving a task identified by ID — and the 'Archive ... fields retained' phrasing clarifies the soft-delete semantics that the name 'delete_task' alone would obscure. It does not explicitly differentiate itself from transition_task or update_task, but the archival framing is distinctive enough to be actionable.

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?

Usage is implied: archive a task by its ID, optionally setting an Archive status. There is no explicit guidance on when to choose this over transition_task or update_task, and no stated prerequisites or exclusions, leaving the agent to infer the choice from the sibling names.

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