Skip to main content
Glama

Delete a scheduled run

schedule_delete
DestructiveIdempotent

Deletes a scheduled run by its sch_ ID using the same API key, stopping future execution; completed runs remain billed and the deletion is free.

Instructions

Stop and delete one of your API key's scheduled runs, by the id from schedule_create or schedule_list (sch_ and 16 hex characters), sent with the same API key. It does not run or bill again; runs already made stay billed. Free.

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": "schedule_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
api_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare this as destructive, non-read-only, and idempotent. The description adds useful behavioral context beyond annotations by clarifying that the scheduled run will not run or bill again, existing billed runs remain billed, and the operation is free.

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?

The description is compact and front-loaded, with no wasted wording. Billing implications and id provenance are packed into one efficient sentence.

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 simple two-parameter destructive tool with no output schema, the description covers the essential semantics: id source, format, authentication context, billing effect, and cost. A minor gap is that it does not describe the immediate return or confirmation behavior after deletion.

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 description coverage is 0%, so the description needs to carry parameter meaning. It explains that id comes from schedule_create or schedule_list, gives the sch_ plus 16 hex character format, and indicates the API key must match the key used to create the schedule.

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?

The description states a specific verb and resource: stop and delete a scheduled run. It also scopes the operation to the API key's own scheduled runs and identifies the id source, making it clearly distinct from schedule_create and schedule_list.

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?

The description tells the agent exactly where the id comes from, namely schedule_create or schedule_list, and that the same API key must be used. It gives clear use context but does not explicitly state when not to use this tool or name an alternative deletion path.

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