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

@omnidim-ai/mcp-server

by Omnidim

addWhatsappCampaignContacts

Destructive

Add up to 500 contacts to a WhatsApp campaign using phone numbers and custom variables. Contacts already in the campaign are skipped, so retries are safe.

Instructions

Add one contact, or up to 500 at once, to a campaign.

On a draft they are stored for launch. On a running campaign they are sent now. A contact already in the campaign is skipped, so a retry is safe.

Each contact needs a phone_number. Every other key is kept and can fill a template parameter through variable_mapping.

(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>",
      "requestBody": "<requestBody>"
    },
    "name": "addWhatsappCampaignContacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idYesId of a WhatsApp campaign, from `listWhatsappCampaigns`.
requestBodyYesOne contact object, or an array of 1 to 500.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and openWorldHint=true, so the safety profile is covered; the description adds non-obvious behavior on top: state-dependent effects (draft vs running campaign), a hard ceiling of 500 per call, and idempotency via duplicate skipping. It omits validation/failure behavior for malformed rows and any throttling, so it is strong but not exhaustive.

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?

Four short sentences plus a tag, front-loaded with the verb-resource-scale statement, then state behavior, then idempotency, then the field rule. Nothing is redundant and the WhatsApp tag makes the channel scoping unambiguous.

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 two-parameter, no-output-schema write tool, the definition covers scale, state-dependent effects, duplicate handling, and the required field well enough to call it correctly. Residual gaps are what the call returns and how partially invalid batches are handled, which are secondary but would help with bulk usage.

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%, including the oneOf single-object/array shape, the phone_number requirement, and the variable_mapping note inside requestBody. The description restates that each contact needs phone_number and that extra keys fill template parameters, which largely duplicates the schema rather than adding syntax or format detail beyond it, 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?

"Add one contact, or up to 500 at once, to a campaign" names a specific verb (add), resource (campaign contacts), and scale (1–500), which clearly separates it from listWhatsappCampaignContacts and the opt-out tools. It stops short of explicitly contrasting with sibling adders like addBulkCallContacts or importWhatsappNumbers, so a 4 rather than a 5.

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 real conditional context: on a draft contacts are stored for launch, on a running campaign they are sent immediately, and duplicates are skipped so retries are safe. That tells an agent when the call matters and what state it applies to, but it offers no explicit when-not guidance or named alternative tools for the bulk-import or opt-out paths.

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