Skip to main content
Glama

Create a batch calling campaign

create_call_campaign

Create a batch calling campaign

Creates an outbound campaign: a named list of up to 10000 numbers that one voice agent will call. The campaign is created in state draft and nothing is dialled until you submit it, so this call places no calls and incurs no call charges. The agent must belong to you, and so must callerPhoneNumberId if you set one; either being unknown or owned by someone else gives 404. Per-recipient metadata is handed to the agent as conversation context, which is how you personalise each call. This operation is guarded by the write:agents scope rather than a scope of its own.

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": {
      "body": "<body>"
    },
    "name": "create_call_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe campaign name, the identifier of the voice agent that will place the calls (`agent_42`, as returned by GET /agents), and the recipient list. Optionally `scheduledTime`, an ISO 8601 timestamp for when calls should begin, and `callerPhoneNumberId`, the database id of the number to call from; without it the system default number is used.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=false and readOnly=false, but the description adds real value beyond them: draft state, no dialling, no call charges, ownership checks with 404 semantics, and the `write:agents` scope guard. It does not say what the response contains (e.g. an id needed for a later submit), which is the main behavioral gap for a creation tool.

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 content is front-loaded and every sentence carries information: state, side effects, ownership, personalisation, scope. The opening line duplicates the title verbatim, which is minor waste, and the final scope sentence is useful but sits after the more critical constraints.

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 mutation tool with a nested request body, no output schema and full schema descriptions, the description covers side effects, permissions, and error behavior well. The notable omission is the return value or the identifier needed to later submit/start the campaign, which the agent must chain on.

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; the description earns more by explaining that per-recipient `metadata` is delivered to the agent as conversation context and personalises each call, and by attaching ownership/404 semantics to `agentId`. It also restates the optional `scheduledTime` and `callerPhoneNumberId` defaults, though the schema already covers those.

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 states a specific verb and resource ('Creates an outbound campaign: a named list of up to 10000 numbers that one voice agent will call') and pins down the resulting state (`draft`). The line 'nothing is dialled until you submit it' implicitly separates this tool from the start/submit sibling, so an agent can tell the creation step apart from activation without opening a 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?

Clear preconditions are given: the agent must be owned by the caller, as must `callerPhoneNumberId`, with 404 as the failure mode. The draft-state note establishes the creation-vs-submission workflow. No alternative tool is named explicitly, and the description does not discuss limits on number of campaigns or duplicate-name behavior.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.