Skip to main content
Glama

Grafizum Command Center

Deleting tasks

delete_tasks
Destructive

Delete tasks from the board — gone, not hidden: the task, its sources and its calendar days are removed, and the activity log keeps one line saying what was deleted. There is no cancelled status; dropping work IS deleting it. One task_id is a single delete and lands directly; task_ids or all_in_project remove several at once and need the owner's approval first. Example: {"idempotency_key":"a1b2c3d4-delete-task","task_id":"task_acme_fix"}

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": {
      "idempotency_key": "<idempotency_key>"
    },
    "name": "delete_tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoWhy the work is going; recorded on each task.
commitsNoThe commits this call produced, for the receipt panel only. At most ten.
task_idNoThe one task to remove from the queue.
task_idsNoSeveral tasks in one call; the owner approves it first.
project_idNoWith all_in_project, which project's tasks to clear.
all_in_projectNoClear every open task in project_id; asks the owner first.
confirmation_idNo
idempotency_keyYes
confirmation_viaNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / commits
      Added value: +{
      +  "description": "The commits this call produced, for the receipt panel only. At most ten.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "branch": {
      +        "description": "The branch it landed on.",
      +        "maxLength": 120,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "hash": {
      +        "description": "The short commit hash, as git prints it.",
      +        "maxLength": 40,
      +        "minLength": 4,
      +        "type": "string"
      +      },
      +      "message": {
      +        "description": "The commit subject, in plain words.",
      +        "maxLength": 200,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "pr": {
      +        "anyOf": [
      +          {
      +            "type": [
      +              "number",
      +              "string"
      +            ]
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The pull request the work landed under, when there is one."
      +      }
      +    },
      +    "required": [
      +      "hash",
      +      "message",
      +      "branch"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 10,
      +  "type": "array"
      +}
  2. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the bar is lower, yet the description still adds real behavior: sources and calendar days are also destroyed, the activity log retains exactly one line, and bulk modes require owner approval before executing. The single-vs-bulk immediacy distinction is exactly the kind of operational detail annotations cannot carry.

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?

The destructive and non-recoverable nature is front-loaded in the first clause, then mode routing, then a concrete example. Dense and purposeful, though the em-dash chains and the trailing example add length that could be trimmed slightly.

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?

For a 9-parameter destructive tool with no output schema, the description covers consequences and approval gating well. However, it never explains how the approval flow actually works in practice -- where a confirmation_id comes from, what confirmation_via: chat implies for the call sequence -- which is critical for an agent attempting a bulk delete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, and the description compensates by explaining the three mutually exclusive targeting modes (task_id, task_ids, all_in_project) and which one triggers approval. The worked example clarifies idempotency_key usage. It leaves reason, commits, confirmation_id, and confirmation_via unexplained beyond their schema text.

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?

"Delete tasks from the board" is a specific verb plus resource, and the following clause sharpens it further ("gone, not hidden: the task, its sources and its calendar days are removed"). It never names a sibling such as delete_project or delete_memory to route against, 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?

It clearly routes between the tool's own modes: a single task_id deletes immediately, while task_ids or all_in_project are bulk paths requiring owner approval. It also rules out a common misreading with "There is no cancelled status; dropping work IS deleting it." It does not say when to prefer an alternative tool over deleting.

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.