Skip to main content
Glama

delete_task_schedule

DestructiveIdempotent

Permanently deletes a task schedule so it never fires again; use it when a schedule is no longer needed, and pause instead if you may want it back.

Instructions

Permanently delete a task schedule so it never fires again; use set_task_schedule_active to pause one you may want back. Threads the schedule already created are left alone. list_task_schedules finds schedule ids. Returns {deleted: true}, or a not-found error when the schedule does not exist; you need access to the schedule's channel. Requires workspace:write.

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": {
      "schedule_id": "<schedule_id>"
    },
    "name": "delete_task_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
schedule_idYesUUID of the schedule to delete, from list_task_schedules or create_task_schedule. It must be in your workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv479.0.2
    • addedInput schema / properties / schedule_id / description
      Added value: +"UUID of the schedule to delete, from list_task_schedules or create_task_schedule. It must be in your workspace."
  2. First observedv479.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds real context beyond them: already-created threads are left alone, the return is {deleted: true} or a not-found error, access to the schedule's channel is required, and workspace:write scope is needed. The only omitted detail is whether an already-deleted schedule errors or succeeds given idempotency, but overall this is strong disclosure for 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The most important fact (permanent deletion) is front-loaded, and every clause carries distinct information. It is dense with semicolons but has no filler; readability could improve slightly with sentence breaks between the alternative, the side effects, and the return contract.

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

Completeness5/5

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

There is no output schema, and the description compensates by stating the success payload and the not-found failure mode. Combined with the alternative-routing and permission requirements, an agent has everything needed to call this correctly.

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?

With a single parameter at 100% schema coverage, the schema already explains schedule_id as a UUID from list_task_schedules or create_task_schedule that must be in your workspace. The description's pointer to list_task_schedules for ids duplicates that; the workspace/channel access notes are prerequisites rather than added parameter meaning, so the baseline 3 applies.

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 ('permanently delete a task schedule'), plus the decisive consequence ('so it never fires again') that separates it from pausing. It also names the sibling that covers the non-destructive alternative, so an agent can distinguish this tool without opening the schema.

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

Usage Guidelines5/5

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

Gives an explicit when-not and alternative: use set_task_schedule_active to pause one you may want back. It also routes the agent to list_task_schedules to obtain the required id, covering both selection and prerequisite discovery.

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

Deploy Server

Other Tools