Skip to main content
Glama

task_delete

Destructive

Deletes a scheduled task by its ID so you can remove obsolete or unwanted tasks from the scheduler.

Instructions

Delete a scheduled task by ID.

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_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.2

TDQS

C2.7/5.0
Behavior2/5

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

The destructiveHint annotation already tells the agent this is a write operation, so the description carries less burden, but it adds nothing beyond that: it does not say the deletion is irreversible, whether run history or schedule recurrences are removed, or what happens if the ID is unknown. For a destructive tool, that silence is a real gap.

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?

A single short sentence with the action and lookup key front-loaded and no filler. It is efficient, though brevity here borders on under-specification rather than tightness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (one required parameter, no output schema), but it is destructive and the description leaves out irreversibility, source of the ID, and behavior on unknown IDs. Annotations cover only the destructive flag, so more guidance was warranted.

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

Parameters2/5

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

Schema description coverage is 0% (the 'id' property has no description or format), so the description must compensate, and it only restates that the identifier is an ID. It does not say whether the ID is the task ID from task_list/task_save, whether it is a string or integer, or how to obtain a valid one.

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?

The description names a specific verb ('Delete') and resource ('a scheduled task') plus the lookup key ('by ID'), so an agent knows exactly what the tool does. It does not distinguish itself from siblings such as task_save or task_run, but the action is unambiguous on its own.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus alternatives, no precondition that the task must already exist, and no warning about consulting task_list first to obtain a valid ID. The only implied usage is 'have an ID, call this'.

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