Skip to main content
Glama

Cronjob löschen

delete_cronjob
Destructive

Löscht EINE geplante Aufgabe (Cronjob) einer Domain — der Weg zurück zu create_cronjob, etwa für eine falsch angelegte Aufgabe. Ändern kann dieses Werkzeug nichts: Dafür die alte Aufgabe löschen und mit create_cronjob eine neue anlegen. Die Kennung (cronjob_id) muss aus get_cronjobs stammen und wird serverseitig gegen die Aufgabenliste genau dieser Domain geprüft; eine geratene oder aus einer älteren Antwort übernommene Kennung wird abgewiesen, bevor irgendetwas gelöscht wird. Die Kennungen sind nicht stabil — vor dem Löschen get_cronjobs frisch abrufen und dem Kunden Befehl, Zeitplan und Beschreibung der Aufgabe nennen, die er löschen will, nicht nur die Zahl. Eine gelöschte Aufgabe lässt sich über dieses Werkzeug nicht wiederherstellen, nur neu anlegen; läuft an ihr etwas Wichtiges (wp-cron hält bei WordPress geplante Beiträge, Backups und Newsletter am Laufen), hört das sofort auf. Die Antwort sagt ausdrücklich, ob die Aufgabe nach dem Löschen wirklich aus der Liste verschwunden ist; ist die Liste danach nicht abrufbar, meldet sie das als ungeprüft statt als Erfolg.

Input Schema

NameRequiredDescriptionDefault
domainYesDie Domain, z. B. example.de
cronjob_idYesKennung der geplanten Aufgabe, genau wie von get_cronjobs geliefert — keine geratene Zahl, und keine aus einer früheren Antwort

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the safety profile is known. The description nonetheless adds substantive context: server-side validation of the ID against that domain's list before anything is deleted, IDs are not stable, running tasks (wp-cron posts/backups/newsletters) stop immediately, and the response explicitly reports whether the task actually disappeared or is unverified. That is genuine value beyond the annotations.

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?

Front-loaded action statement followed by prerequisites, irreversibility and response semantics; each sentence carries information. It is somewhat long and repeats the delete-then-create advice, and the aside about telling the customer the command/schedule/description is UX guidance rather than tool-selection content.

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?

For a destructive two-parameter tool with no output schema, the description covers prerequisites (fresh ID from get_cronjobs), domain-scoped validation, irreversibility, side effects on running jobs, and how the response distinguishes verified deletion from unverified state. Nothing essential to correct invocation is missing.

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 the baseline is 3, and the schema already warns against guessed or stale cronjob_ids. The description still adds meaning the schema lacks: the ID is validated server-side against the task list of this specific domain, and identifiers are not stable so a fresh fetch is required before deletion.

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 with scope: 'Löscht EINE geplante Aufgabe (Cronjob) einer Domain'. It explicitly contrasts itself with the sibling create_cronjob (re-creation path) and rules out in-place modification, so an agent can distinguish it from its siblings without opening any 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?

Explicit when-to-use ('der Weg zurück zu create_cronjob, etwa für eine falsch angelegte Aufgabe') and when-not ('Ändern kann dieses Werkzeug nichts: dafür löschen und neu anlegen'). It also states the prerequisite that cronjob_id must originate from a fresh get_cronjobs call, naming the exact alternative 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