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

@omnidim-ai/mcp-server

by Omnidim

retryBulkCall

Destructive

Re-queue contacts that did not connect from a completed bulk call campaign, keeping original variables and avoiding a new campaign. Retry all failed contacts or pick statuses like no-answer or busy.

Instructions

Re-queue contacts that did not connect, without a new campaign.

Use it after a campaign finishes with more no-answers than expected, or when the cause was on your side. Retried contacts keep their original variables.

The retry is refused in these cases:

  • The status is not completed. The error is Cannot retry calls. Current status: <status>.

  • Auto retry is on and some contacts are still Pending or In Progress. The error is Cannot retry while calls are still in progress and auto retry is enabled.

  • A value in failure_reasons is not an allowed status. The error is Invalid failure reason(s) and lists the allowed values.

  • No contact matches. The error is No failed calls found to retry matching criteria.

Each contact is retried from its latest call only. With skip_known_invalid_numbers on, contacts whose last call ended with the carrier saying the number does not exist are skipped. Connected calls with no conversation are not retried.

(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": "retryBulkCall"
  }
}

Input Schema

NameRequiredDescriptionDefault
bulk_call_idYesId of the bulk call campaign.
retry_strategyNoWhich contacts to re-queue. `all` takes everything that did not connect. `specific` re-queues only the statuses listed in `failure_reasons`. all
failure_reasonsNoStatuses to re-queue. Read only when `retry_strategy` is `specific`; for example `no-answer` and `busy`. Ignored when `retry_strategy` is `all`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.22.0
    • addedInput schema / properties / failure_reasons
      Added value: +{
      +  "description": "Statuses to re-queue. Read only when `retry_strategy` is\n`specific`; for example `no-answer` and `busy`. Ignored when\n`retry_strategy` is `all`.\n",
      +  "items": {
      +    "enum": [
      +      "failed",
      +      "Failed",
      +      "no-answer",
      +      "No Answer",
      +      "busy",
      +      "Busy",
      +      "cancelled",
      +      "canceled",
      +      "voicemail_detected"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / requestBody
      Removed value: -{
      -  "description": "The JSON request body.",
      -  "properties": {
      -    "failure_reasons": {
      -      "description": "Statuses to re-queue. Read only when `retry_strategy` is\n`specific`; for example `no-answer` and `busy`. Ignored when\n`retry_strategy` is `all`.\n",
      -      "items": {
      -        "enum": [
      -          "failed",
      -          "Failed",
      -          "no-answer",
      -          "No Answer",
      -          "busy",
      -          "Busy",
      -          "cancelled",
      -          "canceled",
      -          "voicemail_detected"
      -        ],
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "retry_strategy": {
      -      "default": "all",
      -      "description": "Which contacts to re-queue. `all` takes everything that did\nnot connect. `specific` re-queues only the statuses listed\nin `failure_reasons`.\n",
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • addedInput schema / properties / retry_strategy
      Added value: +{
      +  "default": "all",
      +  "description": "Which contacts to re-queue. `all` takes everything that did\nnot connect. `specific` re-queues only the statuses listed\nin `failure_reasons`.\n",
      +  "type": "string"
      +}
  2. Changed1 schema field changedv0.19.0
    • addedInput schema / properties / requestBody / properties / failure_reasons / items / enum
      Added value: +[
      +  "failed",
      +  "Failed",
      +  "no-answer",
      +  "No Answer",
      +  "busy",
      +  "Busy",
      +  "cancelled",
      +  "canceled",
      +  "voicemail_detected"
      +]
  3. Changed3 schema fields changedv0.14.0
    • changedInput schema / properties / requestBody / properties / failure_reasons / description
      Previous value: -"Re-queue only contacts that failed for these reasons, for\nexample `no-answer` and `busy`.\n"New value: +"Statuses to re-queue. Read only when `retry_strategy` is\n`specific`; for example `no-answer` and `busy`. Ignored when\n`retry_strategy` is `all`.\n"
    • removedInput schema / properties / requestBody / properties / max_retries
      Removed value: -{
      -  "description": "Skip contacts already retried this many times.",
      -  "type": "number"
      -}
    • changedInput schema / properties / requestBody / properties / retry_strategy / description
      Previous value: -"Which contacts to re-queue. `all` takes everything that did\nnot connect.\n"New value: +"Which contacts to re-queue. `all` takes everything that did\nnot connect. `specific` re-queues only the statuses listed\nin `failure_reasons`.\n"
  4. Addedv0.11.1

TDQS

A4.4/5.0
Behavior5/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 substantial context beyond that: exact error strings for each refusal case, the requirement that status be `completed`, the interaction with auto-retry on Pending/In Progress contacts, retry-from-latest-call semantics, and the `skip_known_invalid_numbers` skip rule. This is exactly the extra behavioral detail annotations cannot express.

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 core action is front-loaded in one sentence, then prerequisites and a bulleted refusal list follow in a logical order. The verbatim error strings are useful for recovery, though the block is slightly long and a couple of clauses (e.g. connected calls with no conversation) could be tightened.

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 destructive mutation on a bulk campaign with no output schema, the description covers preconditions, failure modes with actionable error text, variable preservation, and edge-case skipping behavior. Little an agent needs to invoke it safely is missing, aside from the unexplained skip_known_invalid_numbers flag.

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% and both retry_strategy and failure_reasons are already documented in-schema, so the baseline is 3. The description adds limited parameter meaning beyond noting that invalid failure_reasons values are rejected and referencing skip_known_invalid_numbers (which does not appear in the input schema), but it does not explain retry_strategy selection beyond what the schema says.

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 first sentence states a specific verb and resource ('Re-queue contacts') plus the key scope qualifier ('without a new campaign'), which immediately separates it from createBulkCall/startBulkCall. An agent knows exactly what this does 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?

The description gives a clear trigger condition ('after a campaign finishes with more no-answers than expected, or when the cause was on your side') and enumerates the four refusal conditions, which effectively defines when not to use it. It stops short of naming a sibling to use instead, so it is strong but not a full routing statement.

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