Skip to main content
Glama

task_list_delete

Destructive

Delete a specific task list, moving any normal or Trash tasks to a destination list when needed. Use it to remove a list without losing its tasks; the final list cannot be deleted.

Instructions

Delete a concrete list. If it contains tasks, destinationListId is required and every normal and Trash task is moved transactionally. The final list cannot be deleted.

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": "task_list_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesNumeric list ID to delete.
destinationListIdNoDestination list ID for every task owned by the deleted list; omit only when the list is empty.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered by structured data. The description adds real value beyond that: tasks are relocated transactionally, both normal and Trash tasks are moved, and deletion of the last list is refused. It does not mention required permissions or what the success response reports.

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, front-loaded with the action, then the dependency, then the guardrail. No filler or redundant restatement of the tool name.

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 destructive two-parameter mutation with no output schema, the definition covers the key risks: data loss destination requirement, transactional movement of tasks, and the last-list restriction. Only the return shape and permission requirements are left unstated.

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 both parameters are already documented in the schema, including the "omit only when the list is empty" phrasing. The description restates the same conditional dependency without adding format or edge-case detail (e.g., whether the destination may itself be a Trash list). Baseline 3 applies.

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: "Delete a concrete list." The resource (list, not task/checklist/comment) is unambiguous and separable from the sibling delete tools. It does not explicitly name an alternative, but the object being acted on is clear.

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?

Gives a concrete conditional rule for the optional parameter ("If it contains tasks, destinationListId is required") and a hard precondition ("The final list cannot be deleted"). It stops short of naming alternatives such as moving tasks out first with task_move_to_list, so the agent must infer recovery paths.

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