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

@omnidim-ai/mcp-server

by Omnidim

createWhatsappCampaign

Creates a draft WhatsApp campaign from an approved template so you can add contacts and launch it when ready. Nothing sends until launch; scheduling is not supported.

Instructions

Create a draft campaign from an approved template. It sends nothing until you launch it.

Add contacts and launch it with the next calls. Scheduling is not offered.

(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": {
      "name": "<name>",
      "phone_number_id": "<phone_number_id>",
      "template_id": "<template_id>"
    },
    "name": "createWhatsappCampaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
agent_idNoThe agent that answers replies.
is_dynamicNo
data_sourceNocsv
template_idYesAn approved template on that number.
campaign_modeNo`broadcast_reply` lets the agent answer replies. It needs an agent.broadcast
phone_number_idYes
variable_mappingNoTemplate field to contact field or static text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv0.22.0
    • addedInput schema / properties / agent_id
      Added value: +{
      +  "description": "The agent that answers replies.",
      +  "type": "number"
      +}
    • addedInput schema / properties / campaign_mode
      Added value: +{
      +  "default": "broadcast",
      +  "description": "`broadcast_reply` lets the agent answer replies. It needs an agent.",
      +  "enum": [
      +    "broadcast",
      +    "broadcast_reply"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / data_source
      Added value: +{
      +  "default": "csv",
      +  "enum": [
      +    "csv",
      +    "webhook"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / is_dynamic
      Added value: +{
      +  "default": false,
      +  "type": "boolean"
      +}
    • addedInput schema / properties / name
      Added value: +{
      +  "maxLength": 255,
      +  "type": "string"
      +}
    • addedInput schema / properties / phone_number_id
      Added value: +{
      +  "type": "number"
      +}
    • removedInput schema / properties / requestBody
      Removed value: -{
      -  "description": "The JSON request body.",
      -  "properties": {
      -    "agent_id": {
      -      "description": "The agent that answers replies.",
      -      "type": "number"
      -    },
      -    "campaign_mode": {
      -      "default": "broadcast",
      -      "description": "`broadcast_reply` lets the agent answer replies. It needs an agent.",
      -      "enum": [
      -        "broadcast",
      -        "broadcast_reply"
      -      ],
      -      "type": "string"
      -    },
      -    "data_source": {
      -      "default": "csv",
      -      "enum": [
      -        "csv",
      -        "webhook"
      -      ],
      -      "type": "string"
      -    },
      -    "is_dynamic": {
      -      "default": false,
      -      "type": "boolean"
      -    },
      -    "name": {
      -      "maxLength": 255,
      -      "type": "string"
      -    },
      -    "phone_number_id": {
      -      "type": "number"
      -    },
      -    "template_id": {
      -      "description": "An approved template on that number.",
      -      "type": "number"
      -    },
      -    "variable_mapping": {
      -      "additionalProperties": true,
      -      "description": "Template field to contact field or static text.",
      -      "type": "object"
      -    }
      -  },
      -  "required": [
      -    "name",
      -    "phone_number_id",
      -    "template_id"
      -  ],
      -  "type": "object"
      -}
    • addedInput schema / properties / template_id
      Added value: +{
      +  "description": "An approved template on that number.",
      +  "type": "number"
      +}
    • addedInput schema / properties / variable_mapping
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Template field to contact field or static text.",
      +  "type": "object"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "requestBody"
      -]New value: +[
      +  "name",
      +  "phone_number_id",
      +  "template_id"
      +]
  2. Addedv0.19.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare non-destructive, non-open-world, and the description usefully confirms the deferred-effect semantics: a draft is created, nothing is sent, and scheduling is unavailable. It does not cover whether the template must be pre-approved on that number, what happens if a required field is missing, or any rate limits.

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?

Four short sentences, front-loaded with the creation semantics and each sentence carrying distinct information (draft state, next steps, missing scheduling). The trailing "(Tags: WhatsApp)" is redundant with the tool name but harmless.

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 an 8-parameter mutation with no output schema, the lifecycle framing is helpful, but the description never says what the created campaign returns (a campaign id is presumably needed for the add-contacts/launch calls) and leaves half the parameters underexplained. Adequate but with real gaps for a tool this shape.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

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

With 8 parameters and only 50% schema coverage, the description should carry more weight but adds almost nothing parameter-specific. It never mentions name, phone_number_id, is_dynamic, data_source (csv vs webhook), variable_mapping, or campaign_mode; only "from an approved template" loosely gestures at template_id, which the schema already documents.

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 gives a precise verb and object ("Create a draft campaign from an approved template") plus the crucial state qualifier that it is a draft that "sends nothing until you launch it." That cleanly separates it from launchWhatsappCampaign and addWhatsappCampaignContacts without needing to open any 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 states a clear follow-on workflow ("Add contacts and launch it with the next calls") and an explicit exclusion ("Scheduling is not offered"), which prevents an agent from hunting for a scheduling parameter. It stops short of naming the sibling tools explicitly or saying when to reuse an existing campaign instead of creating a new one.

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