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

@omnidim-ai/mcp-server

by Omnidim

addBulkCallContacts

Destructive

Add up to 1000 contacts to a bulk call campaign in one request; rows that fail validation are returned in a rejected list while valid contacts are still queued.

Instructions

Add up to 1000 contacts to a campaign in one request.

This is the batch form of Add contact to dynamic campaign. Prefer it whenever you have more than a handful of contacts.

Repeated numbers are kept, not merged. The same number with different variables is called twice.

Rows that fail validation are reported in rejected, and the rest are still added. A row missing a column that the campaign's call_conditions need is also rejected. The condition values are not evaluated on this route.

(Tags: Bulk calls)

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>",
      "contacts": "<contacts>"
    },
    "name": "addBulkCallContacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
contactsYesEach row needs `to_number`. Note this differs from the `contact_list` on Create bulk call, which uses `phone_number` and takes loose keys: here the variables go in an explicit `custom_variables` object.
campaign_idYesId of the bulk call campaign.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.22.0
    • addedInput schema / properties / contacts
      Added value: +{
      +  "description": "Each row needs `to_number`. Note this differs from the\n`contact_list` on Create bulk call, which uses\n`phone_number` and takes loose keys: here the variables go\nin an explicit `custom_variables` object.\n",
      +  "items": {
      +    "properties": {
      +      "custom_variables": {
      +        "additionalProperties": true,
      +        "description": "Passed to the agent as context for this call, so it\ncan use them in the conversation.\n",
      +        "type": "object"
      +      },
      +      "metadata": {
      +        "additionalProperties": true,
      +        "description": "Stored with the contact and returned on its row in\nBulk call results. Not shown to the agent.\n",
      +        "type": "object"
      +      },
      +      "previous_from_number": {
      +        "description": "The number that called this person last. With\n`call_back_from_different_number` on, the call goes\nout from another number in the pool.\n",
      +        "type": "string"
      +      },
      +      "to_number": {
      +        "description": "Number to call, in international format.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "to_number"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 1000,
      +  "type": "array"
      +}
    • removedInput schema / properties / requestBody
      Removed value: -{
      -  "description": "The JSON request body.",
      -  "properties": {
      -    "contacts": {
      -      "description": "Each row needs `to_number`. Note this differs from the\n`contact_list` on Create bulk call, which uses\n`phone_number` and takes loose keys: here the variables go\nin an explicit `custom_variables` object.\n",
      -      "items": {
      -        "properties": {
      -          "custom_variables": {
      -            "additionalProperties": true,
      -            "description": "Passed to the agent as context for this call, so it\ncan use them in the conversation.\n",
      -            "type": "object"
      -          },
      -          "metadata": {
      -            "additionalProperties": true,
      -            "description": "Stored with the contact and returned on its row in\nBulk call results. Not shown to the agent.\n",
      -            "type": "object"
      -          },
      -          "previous_from_number": {
      -            "description": "The number that called this person last. With\n`call_back_from_different_number` on, the call goes\nout from another number in the pool.\n",
      -            "type": "string"
      -          },
      -          "to_number": {
      -            "description": "Number to call, in international format.",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "to_number"
      -        ],
      -        "type": "object"
      -      },
      -      "maxItems": 1000,
      -      "type": "array"
      -    }
      -  },
      -  "required": [
      -    "contacts"
      -  ],
      -  "type": "object"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "campaign_id",
      -  "requestBody"
      -]New value: +[
      +  "campaign_id",
      +  "contacts"
      +]
  2. Changed1 schema field changedv0.19.0
    • addedInput schema / properties / requestBody / properties / contacts / items / properties / previous_from_number
      Added value: +{
      +  "description": "The number that called this person last. With\n`call_back_from_different_number` on, the call goes\nout from another number in the pool.\n",
      +  "type": "string"
      +}
  3. Addedv0.11.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare that this is a destructive, open-world write; the description goes well beyond that by disclosing partial-failure semantics ('Rows that fail validation are reported in `rejected`, and the rest are still added'), duplicate handling ('Repeated numbers are kept, not merged'), and the validation rule tied to the campaign's `call_conditions`, including that condition values are not evaluated on this route.

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?

Front-loaded with the verb and limit, then the alternative, then the failure behavior — a sensible order with little waste. The trailing '(Tags: Bulk calls)' adds nothing and the line-broken prose costs a little density.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter batch mutation with no output schema, the description covers capacity, sibling choice, duplicate handling, partial success, and the validation dependency on `call_conditions` — everything an agent needs before invoking it correctly.

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 baseline is 3, and the description earns above baseline by explaining the array's runtime semantics: the same number with different variables is called twice, and rows missing a column required by `call_conditions` are rejected before reaching the campaign.

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?

States a specific verb, resource and scale bound ('Add up to 1000 contacts to a campaign in one request') and explicitly positions itself as the batch form of the single-contact variant, so an agent can distinguish it from 'Add contact to dynamic campaign' without opening either 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?

'Prefer it whenever you have more than a handful of contacts' gives an explicit selection rule against the single-contact sibling. It does not address when a different campaign type (e.g. the WhatsApp contact siblings) is the right target, but the routing guidance is clear for the choices it names.

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