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

@omnidim-ai/mcp-server

by Omnidim

setBulkCallRotation

Destructive

Change how a bulk call campaign rotates through its number pool by updating rotation strategy, per-number call limits, health thresholds, fallback behavior, and dialing options.

Instructions

Change how a campaign uses its number pool.

Send only the fields you want to change. At least one field is required.

It works while the status is draft, scheduled, in_progress, waiting, paused, auto_paused or retry_scheduled. Any other status is refused with Cannot edit rotation for status: <status>. To change which numbers are in the pool, use the numbers endpoints.

(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": {
      "bulk_call_id": "<bulk_call_id>"
    },
    "name": "setBulkCallRotation"
  }
}

Input Schema

NameRequiredDescriptionDefault
fallbackNoWhen every number is unhealthy: `pause` the campaign, or `continue_best` with the healthiest one.
strategyNoWhen to move to the next number: every `calls_per_number` calls, on low health score, both, or never.
bulk_call_idYesId of the bulk call campaign.
calls_per_numberNoCalls before moving on. Used by `fixed_count` and `both`.
health_thresholdNoHealth score below which a number is rotated away from. Used by `cpr_threshold` and `both`.
skip_known_invalid_numbersNoWhen on, a contact is not dialed if the carrier said its number does not exist, in any campaign of your organization in the last 14 days. Must be `true` or `false`.
call_back_from_different_numberNoWhen on, a repeat call to the same person goes out from a different number than the one that called them last. Needs two or more numbers in the pool. Must be `true` or `false`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv0.22.0
    • addedInput schema / properties / call_back_from_different_number
      Added value: +{
      +  "description": "When on, a repeat call to the same person goes out from a\ndifferent number than the one that called them last. Needs\ntwo or more numbers in the pool. Must be `true` or `false`.\n",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / calls_per_number
      Added value: +{
      +  "description": "Calls before moving on. Used by `fixed_count` and `both`.",
      +  "type": "number"
      +}
    • addedInput schema / properties / fallback
      Added value: +{
      +  "description": "When every number is unhealthy: `pause` the campaign, or\n`continue_best` with the healthiest one.\n",
      +  "enum": [
      +    "pause",
      +    "continue_best"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / health_threshold
      Added value: +{
      +  "description": "Health score below which a number is rotated away from.\nUsed by `cpr_threshold` and `both`.\n",
      +  "type": "number"
      +}
    • removedInput schema / properties / requestBody
      Removed value: -{
      -  "description": "The JSON request body.",
      -  "properties": {
      -    "call_back_from_different_number": {
      -      "description": "When on, a repeat call to the same person goes out from a\ndifferent number than the one that called them last. Needs\ntwo or more numbers in the pool. Must be `true` or `false`.\n",
      -      "type": "boolean"
      -    },
      -    "calls_per_number": {
      -      "description": "Calls before moving on. Used by `fixed_count` and `both`.",
      -      "type": "number"
      -    },
      -    "fallback": {
      -      "description": "When every number is unhealthy: `pause` the campaign, or\n`continue_best` with the healthiest one.\n",
      -      "enum": [
      -        "pause",
      -        "continue_best"
      -      ],
      -      "type": "string"
      -    },
      -    "health_threshold": {
      -      "description": "Health score below which a number is rotated away from.\nUsed by `cpr_threshold` and `both`.\n",
      -      "type": "number"
      -    },
      -    "skip_known_invalid_numbers": {
      -      "description": "When on, a contact is not dialed if the carrier said its\nnumber does not exist, in any campaign of your organization\nin the last 14 days. Must be `true` or `false`.\n",
      -      "type": "boolean"
      -    },
      -    "strategy": {
      -      "description": "When to move to the next number: every `calls_per_number`\ncalls, on low health score, both, or never.\n",
      -      "enum": [
      -        "fixed_count",
      -        "cpr_threshold",
      -        "both",
      -        "none"
      -      ],
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • addedInput schema / properties / skip_known_invalid_numbers
      Added value: +{
      +  "description": "When on, a contact is not dialed if the carrier said its\nnumber does not exist, in any campaign of your organization\nin the last 14 days. Must be `true` or `false`.\n",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / strategy
      Added value: +{
      +  "description": "When to move to the next number: every `calls_per_number`\ncalls, on low health score, both, or never.\n",
      +  "enum": [
      +    "fixed_count",
      +    "cpr_threshold",
      +    "both",
      +    "none"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "bulk_call_id",
      -  "requestBody"
      -]New value: +[
      +  "bulk_call_id"
      +]
  2. Addedv0.19.0

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations it discloses two behaviors an agent could not infer: the status gate with its literal error string, and that the call is a partial update ("Send only the fields you want to change"). It does not explain what existing rotation settings are overwritten or what a success response contains, which matters given destructiveHint=true.

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?

Opening line states the action, the second and third sentences cover the mutation contract, and the rest covers preconditions and hand-off. Every sentence is load-bearing, though the trailing "(Tags: Bulk calls)" line and the hard-wrapped formatting add mild noise.

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 7-parameter mutation with no output schema, the definition covers preconditions, partial-update rules and sibling routing, which is most of what an agent needs. It leaves out the result shape on success and any permission requirements, the main remaining gap for a destructive tool.

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 is 3; the description adds genuine meaning by establishing partial-update semantics and the "at least one field besides bulk_call_id" constraint, which is not expressed in the schema's required list. It does not add cross-field rules (e.g. strategy-to-parameter dependencies), which the schema already covers.

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?

"Change how a campaign uses its number pool" names a specific verb and resource, and the closing line explicitly carves out pool membership ("To change which numbers are in the pool, use the numbers endpoints"), separating it from the number-oriented siblings.

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?

It enumerates exactly which campaign states permit the call (draft, scheduled, in_progress, waiting, paused, auto_paused, retry_scheduled), states that any other status is refused, and redirects the adjacent task (pool membership) to the numbers endpoints.

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