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

@omnidim-ai/mcp-server

by Omnidim

whatsappCampaignActions

Destructive

Launch, pause, resume, or cancel a WhatsApp campaign to control queued and pending sends.

Instructions

Launch, pause, resume or cancel a WhatsApp campaign.

Set action to pick what to do.

launch: Start a draft campaign and queue every pending contact once.

It needs at least one contact, unless data_source is webhook. Launch checks the plan's monthly broadcast allowance and the wallet balance. Idempotency-Key is required, so a retry does not start it twice.

pause: Stop sending until you resume.

Only a running campaign can be paused. A pause you make by hand is never resumed automatically.

resume: Resume a paused campaign.

Pending contacts are sent. A contact already sent is never sent again. Resume checks the wallet and allowance again, so it can answer 402.

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

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

Input Schema

NameRequiredDescriptionDefault
actionYesWhat to do: launch, pause, resume, cancel.
campaign_idYesId of a WhatsApp campaign, from `listWhatsappCampaigns`.
Idempotency-KeyNoOnly for `launch`. A unique string you choose, up to 255 characters. Required on this route. The same key with the same body replays the first answer for 24 hours instead of acting twice. A different body with the same key answers `409`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.26.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, but the description adds real behavior beyond them: launch consumes the monthly broadcast allowance and wallet balance and requires an Idempotency-Key to prevent double-starts, resume re-checks billing and can answer 402, sent contacts are never re-sent, and a manual pause is never auto-resumed. The main omission is what each action returns (no output schema exists), so the agent does not know the response shape of launch versus pause.

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?

Per-action paragraph structure with a one-sentence opener is easy to scan and front-loads the capability. The single line 'Set `action` to pick what to do' is filler given the enum, and the launch paragraph is slightly denser than the others, but nothing major is wasted.

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 three-parameter, mutation-heavy lifecycle tool with no output schema, the description covers preconditions, billing constraints, idempotency, and irreversibility well. It is slightly incomplete on return values and does not say which actions can surface the 402 or other error codes, only that resume can.

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 would be 3, but the description meaningfully expands the `action` enum beyond its one-line labels by describing the effects, side effects, and failure modes of each value. The Idempotency-Key requirement is restated for launch, matching the schema, while campaign_id gains no meaning beyond its schema text.

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 first sentence names a specific control surface (WhatsApp campaign) and the four operations it performs (launch/pause/resume/cancel). Each operation is then given its own paragraph with concrete scope, so an agent can distinguish this lifecycle tool from siblings like createWhatsappCampaign or addWhatsappCampaignContacts without opening their schemas.

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?

Each action's applicability is stated explicitly, including the negative conditions: only a running campaign can be paused, a completed or already-canceled campaign cannot be canceled, and launch needs at least one contact unless data_source is webhook. It also points at listWhatsappCampaigns via the campaign_id schema for discovery, leaving little 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