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

@omnidim-ai/mcp-server

by Omnidim

launchWhatsappCampaign

Destructive

Starts a WhatsApp campaign and queues every pending contact once, verifying plan broadcast allowance and wallet balance while enforcing an idempotency key so retries never launch it twice.

Instructions

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.

(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>",
      "Idempotency-Key": "<Idempotency-Key>"
    },
    "name": "launchWhatsappCampaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idYesId of a WhatsApp campaign, from `listWhatsappCampaigns`.
Idempotency-KeyYesA 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.19.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, but the description adds substantive context: the campaign must be in draft, contacts are enqueued exactly once, billing/allowance gates are checked, and an Idempotency-Key prevents double-starts on retry. It does not say whether a launched campaign can be undone, which is the main remaining gap for a destructive operation.

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?

The effect and preconditions are front-loaded in short, purposeful sentences with no filler. The trailing '(Tags: WhatsApp)' is boilerplate that earns no place in the description.

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 destructive, open-world mutation with no output schema, the description covers prerequisites, billing checks, idempotency, and the enqueue behavior. It is only missing a note on what the call returns or whether launch is reversible.

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 description coverage is 100%, so both parameters are already fully documented, including the Idempotency-Key replay/409 semantics, and the description largely restates that. The reference to `data_source` is not present in the input schema, which adds little usable parameter meaning and could confuse an agent.

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 uses a specific verb and resource ('Start a draft campaign') and states the concrete effect ('queue every pending contact once'), which clearly separates it from the pause/resume/cancel siblings. An agent can identify the operation without opening the schema.

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?

It gives a real precondition ('needs at least one contact, unless `data_source` is `webhook`') and warns about allowance and wallet-balance checks, so an agent knows when the call will fail. It stops short of explicitly routing to alternatives such as createWhatsappCampaign or resumeWhatsappCampaign.

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