Skip to main content
Glama

delete_task

Delete one task in the connected LoopGantt ACCOUNT (requires signing in to LoopGantt, or an API key) - and every task under it when it is a phase. DESTRUCTIVE: ask the user before calling, and pass confirm: true only after they agreed; without it nothing is deleted. It cannot be undone: the task (and every task under it) disappears from the app and cannot be restored; the deleted rows are purged after 30 days.

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": {
      "taskId": "<taskId>",
      "confirm": "<confirm>"
    },
    "name": "delete_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYesTask id from list_tasks
confirmYesMust be true: the user has confirmed this deletion

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

No annotations exist, and the description carries the full safety burden well: it flags DESTRUCTIVE, warns the action cannot be undone, names the cascade deletion of child tasks, states the data disappears from the app, and adds the 30-day purge window. It also discloses the auth requirement (sign-in or API key) — behavior an agent cannot infer from the schema.

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 sentences, front-loaded with purpose, then the destructive warning, then the irreversibility and retention facts. The "cannot be undone / cannot be restored" parallel reinforces rather than wastes space.

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 two-parameter destructive tool with no annotations and no output schema, the definition covers the critical concerns: auth, confirmation, cascade scope, irreversibility, and data retention. The only gap is what a successful call returns or how to verify the result, which an agent may want after a destructive action.

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 100%, so both parameters are already documented; the description adds real meaning beyond that by explaining the confirm gate's effect ("without it nothing is deleted") and by clarifying that taskId's deletion scope extends to all child tasks of a phase.

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

Purpose5/5

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

States a specific verb and resource ("Delete one task in the connected LoopGantt ACCOUNT") and immediately scopes it: it also removes "every task under it when it is a phase." That cascade detail distinguishes it from complete_task/update_task, which act on a task without removing its subtree.

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 explicit procedural guidance: ask the user before calling and pass confirm: true only after agreement, plus the consequence that "without it nothing is deleted." It does not name an alternative for soft-closing work (e.g., completing instead of deleting), so it stops short of full when/when-not routing.

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.

Resources