Skip to main content
Glama
@omnidim-ai/mcp-server

@omnidim-ai/mcp-server

by Omnidim

cancelWhatsappCampaign

Destructive

Stops a WhatsApp campaign and prevents any remaining unsent contacts from receiving messages; completed or already canceled campaigns cannot be canceled.

Instructions

Stop a campaign for good. Contacts not yet sent are not sent. A completed or already-canceled campaign cannot be canceled.

(Tags: WhatsApp)

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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "cancelWhatsappCampaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idYesId of a WhatsApp campaign, from `listWhatsappCampaigns`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description reinforces this by stating pending contacts are not sent and the stop is permanent, which is useful consequence detail. It does not say what happens to already-sent messages or whether the campaign record persists, so the added context is meaningful but not rich.

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?

Three short sentences with the action and its permanence front-loaded, then the side effect, then the failure condition. The only wasted element is the trailing "(Tags: WhatsApp)" metadata.

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 single-parameter destructive tool with annotations covering the safety profile and no output schema, the description supplies the irreversibility, the effect on pending sends, and the precondition. 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.

Parameters3/5

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

Schema coverage is 100% and the campaign_id property already documents itself as coming from listWhatsappCampaigns. The description adds no format, range, or sourcing detail beyond the schema, so the baseline 3 applies.

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?

"Stop a campaign for good" gives a specific verb and resource, and the phrase "for good" signals the permanence that separates it from pause/resume siblings without naming them. It is clear but stops short of explicitly contrasting itself with pauseWhatsappCampaign.

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 states a real precondition: a completed or already-canceled campaign cannot be canceled, so the agent knows when the call will fail. It does not explicitly point to pauseWhatsappCampaign as the non-terminal alternative, leaving that routing to inference.

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