Skip to main content
Glama

CallMCP — Phone Call MCP Server

Create Campaign

create_campaign
Destructive

Create an outbound call campaign (cadence + lead batch) and optionally launch it immediately. Launching queues calls for the orchestrator; existing TCPA/consent gating still applies at dial time. Requires admin role on the business.

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>",
      "cadence_config": "<cadence_config>"
    },
    "name": "create_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCampaign name.
launchNoWhen true, launch the campaign immediately after creating it.
scriptNoWhat Kai says on these calls. Write blanks as {{ snake_case }}, e.g. "Hi, is this {{ name }}? You rented {{ last_year_items }} from us last year." A blank needs a value for every customer (lead_variables) or a default: {{ name | default: "there" }}. Launch is refused if any customer is missing a value. The script is added to the agent's saved instructions for these calls only; it does not change the agent.
agent_idNoAgent ID to place the calls. Required when launch is true.
lead_idsNoLead IDs to enroll in the campaign (optional at create time).
business_idNoBusiness ID (required only when the token can access multiple businesses).
descriptionNoOptional campaign description.
cadence_configYesCadence configuration. { template: standard|aggressive|nurture|custom, attempts: number }.
lead_variablesNoEach customer's values for the script's blanks, keyed by lead ID: { "<lead_id>": { "last_year_items": "tables and chairs" } }. "name" is filled from the lead when it has one.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when success is false
queuedNo
successYesWhether the tool completed successfully
campaignNo
launchedNo
sequence_idNo
total_leadsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / lead_variables
      Added value: +{
      +  "additionalProperties": {
      +    "additionalProperties": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  "description": "Each customer's values for the script's blanks, keyed by lead ID: { \"<lead_id>\": { \"last_year_items\": \"tables and chairs\" } }. \"name\" is filled from the lead when it has one.",
      +  "type": "object"
      +}
    • addedInput schema / properties / script
      Added value: +{
      +  "description": "What Kai says on these calls. Write blanks as {{ snake_case }}, e.g. \"Hi, is this {{ name }}? You rented {{ last_year_items }} from us last year.\" A blank needs a value for every customer (lead_variables) or a default: {{ name | default: \"there\" }}. Launch is refused if any customer is missing a value. The script is added to the agent's saved instructions for these calls only; it does not change the agent.",
      +  "properties": {
      +    "instructions": {
      +      "description": "Why Kai is calling and what to do when the customer says yes, wants to think about it, says no, or asks not to be called.",
      +      "type": "string"
      +    },
      +    "opener": {
      +      "description": "The first thing Kai says.",
      +      "type": "string"
      +    },
      +    "rules": {
      +      "description": "Hard rules for these calls, e.g. \"Never quote prices.\"",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "voicemail": {
      +      "description": "What Kai leaves on an answering machine.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Goes beyond the annotations (destructiveHint=true, openWorldHint=true, idempotentHint=false) by disclosing the admin-role requirement and clarifying that launching only queues calls and that TCPA/consent gating is enforced later at dial time. It does not discuss duplicate-creation risk or failure/rollback behavior for a non-idempotent write.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action and followed by the consequence of launch and the permission requirement. Nothing is padded or redundant.

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 9-parameter, nested, mutating tool, the description covers the key operational facts an agent needs: permission requirement, deferred side effects, and compliance gating. With an output schema present, return values need not be explained, leaving only minor gaps like partial-failure behavior.

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 the nested script/lead_variables semantics are fully documented in the schema itself. The description only restates the high-level shape ('cadence + lead batch') and the launch-implies-queueing behavior, adding little parameter-level meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Create an outbound call campaign') and scopes it as 'cadence + lead batch' with an optional immediate launch. It is clearly distinguishable from pure-launch or read tools, though it never names the sibling 'launch_call_campaign' that an agent might confuse it with.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides useful context for the launch flag (it queues calls for the orchestrator, consent gating still applies at dial time) and a precondition (admin role on the business). It gives no explicit when-not guidance or named alternative for launching an already-created campaign, so selection guidance is only implied.

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.