Skip to main content
Glama

Delete Task

delete_task
Destructive

Use this when working with RetailHardHat tasks records in the connected organization. Delete task. Subject to configured MCP approval rules; may cascade to related records. No change occurs until a human approves the exact request in Settings > MCP and execute_approved_action is called. MCP approval requirements are configurable by the organization administrator; business workflow approvals always apply.

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

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description adds substantial value beyond them: it warns that deletion 'may cascade to related records' and details the human-approval gate ('No change occurs until a human approves... execute_approved_action is called'). This is exactly the behavioral context an agent needs before invoking a destructive mutation.

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 scoping phrase is front-loaded and the cascade/approval warnings are useful, but approval requirements are restated three times ('MCP approval rules,' 'MCP approval requirements are configurable,' 'business workflow approvals always apply'), adding redundancy rather than information.

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?

With an output schema present and annotations covering the safety profile, the description need not explain return values. It covers the critical behavioral facts (destructive, cascading, approval-gated). It falls short only in not clarifying the task/project-task distinction or the scope of the cascade.

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?

There is one parameter (id) at 0% schema description coverage; the schema only supplies a uuid format/pattern. The description adds nothing about what the id identifies (task vs project task) or its source. For a trivial single-id param this is a modest gap, but it does not compensate for the coverage shortfall.

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

Purpose3/5

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

The description says 'Delete task' for 'RetailHardHat tasks records,' which conveys a specific verb and resource. However, against a large family of lookalike siblings (delete_project_task, delete_task_comment, delete_task_dependency, delete_task_document, delete_task_template), it makes no attempt to distinguish this tool from them. The core sentence largely restates the name/title.

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?

'Use this when working with RetailHardHat tasks records' gives a general context trigger, but supplies no when-not conditions and no alternatives among the many delete_* siblings. Usage is implied rather than specified, leaving the agent to infer when this is the correct tool.

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