Skip to main content
Glama

tasks.tasks.delete

Deletes a specified task from a task list; if assigned, removes both the assigned and original task in Docs and Chat Spaces. Use to clear tasks permanently or preview with dry_run.

Instructions

Deletes the specified task from the task list. If the task is assigned, both the assigned task and the original task (in Docs, Chat Spaces) are deleted. To delete the assigned task only, navigate to the assignment surface and unassign the task from there [HTTP DELETE] — removes the resource; irreversible unless the API documents a trash/undo flow; refused under --readonly safety profiles. Returns the post-delete resource state (or empty) as JSON — request bodies are built from the typed parameters (typed flags win over the params map), or read whole from body_file Siblings over the same resource: clear, get, insert, list, move, patch, update.

Input Schema

NameRequiredDescriptionDefault
taskYes[URL path segment] Task identifier.
queryNoExtra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe.
paramsNoParameter map merged into the request; typed parameters win.
dry_runNoReturn the request that would be sent, without sending it.
tasklistYes[URL path segment] Task list identifier.
body_fileNoRead the request body from this file ('-' for stdin) instead of building one from the parameters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / task / description
      Previous value: -"Task identifier."New value: +"[URL path segment] Task identifier."
    • changedInput schema / properties / tasklist / description
      Previous value: -"Task list identifier."New value: +"[URL path segment] Task list identifier."
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it declares the operation irreversible (absent a trash/undo flow), notes it is refused under --readonly safety profiles, states it maps to HTTP DELETE, and describes the post-delete response as JSON.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The destructive behavior and assignment caveat are front-loaded, but the trailing generic template text about request bodies and body_file is irrelevant boilerplate for a bodyless DELETE and dilutes the message.

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 six-parameter destructive tool with no annotations and no output schema, the description supplies the safety profile, irreversibility, HTTP method, and return-value description — everything an agent needs to decide and call correctly.

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 description coverage is 100%, so task, tasklist, query, params, dry_run, and body_file are already documented. The description restates the precedence rule (typed flags win over the params map) and body_file, adding no new parameter meaning, which matches the baseline 3 when the schema does the work.

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?

Opens with a specific verb+resource ("Deletes the specified task from the task list") and adds a genuinely distinguishing nuance: deleting an assigned task also removes the original in Docs/Chat Spaces. It lists sibling tools by name but never contrasts them, so it stops short of full sibling differentiation.

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?

Provides an explicit alternative path with a condition: to delete only the assignment, go to the assignment surface and unassign instead. It gives no guidance, however, on when to use this versus tasks.tasks.clear or tasks.tasks.update.

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