Skip to main content
Glama

wa_cancel_scheduled

Cancel a queued WhatsApp message by its ID before delivery, using the ID returned when it was scheduled or listed. Removes an unwanted scheduled send.

Instructions

Cancel a scheduled message by its id (from wa_schedule_send / wa_list_scheduled).

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

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden for a mutating operation. It does not say whether cancellation is reversible, whether it fails on an already-sent or nonexistent id, or what a successful cancel returns — all critical for an agent preparing to destroy a scheduled action.

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?

A single short sentence with the action and key parameter front-loaded, plus a parenthetical source hint. Nothing is wasted and nothing essential is buried.

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

Completeness3/5

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

For a simple one-parameter mutation it covers the essentials of what it does and where the id comes from, but with no annotations and no output schema the description should also address irreversibility and error cases. Adequate at minimum-viable level, not complete.

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?

Schema coverage is 0% for the single `id` parameter, but the description compensates by explaining that the id is a scheduled-message id obtained from wa_schedule_send or wa_list_scheduled. That is genuinely useful provenance, though it still doesn't describe the id's format or validation.

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 states a specific verb and resource: 'Cancel a scheduled message by its id.' That is unambiguous and clearly distinct from wa_schedule_send or wa_list_scheduled, which are named as the id's source rather than as alternatives for the same action.

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?

Naming wa_schedule_send / wa_list_scheduled as the origin of the id implies the workflow context for using this tool, but there is no explicit 'use this when...' statement and no mention of what to do instead if the message already sent or the id is unknown.

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