Skip to main content
Glama
CallRail MCP

CallRail MCP

by pghdma

create_outbound_call

Place a bridged outbound call by dialing your business line first, then the customer; requires confirm_dialing=True and US/Canada numbers.

Instructions

Place an outbound call. THIS ACTUALLY DIALS REAL PHONES.

CallRail dials business_phone_number FIRST; once that leg is answered it dials customer_phone_number and bridges the two. Both legs cost minutes against your bundle. Misuse can constitute unlawful telemarketing, so verify consent.

US and Canadian numbers only (CallRail does not support outbound to the UK or Australia via this endpoint).

You must pass confirm_dialing=True to actually place the call.

Args: caller_id: The number shown to the recipient. Must be one of your CallRail tracking numbers or a verified Outbound Caller ID. E.164 format. business_phone_number: The FIRST leg CallRail dials (your agent's phone). E.164 format. customer_phone_number: The SECOND leg, bridged in once the business leg answers. E.164 format. confirm_dialing: REQUIRED. Set True to actually dial. Returns an error envelope if False (default). recording_enabled: Record this call. outbound_greeting_text: Text-to-speech greeting played to the customer. outbound_greeting_recording_url: Public URL of an audio greeting, used instead of outbound_greeting_text. agent_id: 'USR...' id of the user to assign to the call. account_id: Auto-resolves if omitted.

Returns: The call object CallRail creates (id, etc.).

NOTE (v1.2.0): earlier versions sent {"from", "to"}, which are not fields CallRail accepts, so every call failed. The parameter names above match the documented request body.

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": {
      "caller_id": "<caller_id>",
      "business_phone_number": "<business_phone_number>",
      "customer_phone_number": "<customer_phone_number>"
    },
    "name": "create_outbound_call"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idNo
caller_idYes
account_idNo
confirm_dialingNo
recording_enabledNo
business_phone_numberYes
customer_phone_numberYes
outbound_greeting_textNo
outbound_greeting_recording_urlNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.3.2
    • addedInput schema / properties / agent_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Agent Id"
      +}
  2. Changed10 schema fields changedv1.2.2
    • addedInput schema / properties / business_phone_number
      Added value: +{
      +  "title": "Business Phone Number",
      +  "type": "string"
      +}
    • addedInput schema / properties / caller_id
      Added value: +{
      +  "title": "Caller Id",
      +  "type": "string"
      +}
    • removedInput schema / properties / company_id
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Company Id"
      -}
    • addedInput schema / properties / customer_phone_number
      Added value: +{
      +  "title": "Customer Phone Number",
      +  "type": "string"
      +}
    • removedInput schema / properties / from_number
      Removed value: -{
      -  "title": "From Number",
      -  "type": "string"
      -}
    • addedInput schema / properties / outbound_greeting_recording_url
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Outbound Greeting Recording Url"
      +}
    • addedInput schema / properties / outbound_greeting_text
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Outbound Greeting Text"
      +}
    • addedInput schema / properties / recording_enabled
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Recording Enabled"
      +}
    • removedInput schema / properties / to_number
      Removed value: -{
      -  "title": "To Number",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "from_number",
      -  "to_number"
      -]New value: +[
      +  "caller_id",
      +  "business_phone_number",
      +  "customer_phone_number"
      +]
  3. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the two-leg dialing sequence, that both legs bill minutes against a bundle, legal telemarketing risk, the silent-failure behavior when confirm_dialing is False (error envelope), and geographies that cannot be dialed. The destructiveHint=false annotation is not contradicted; cost and side effects are surfaced in text.

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 consequence and the mandatory confirm gate before the Args block, which is the right ordering for a dialing tool. Slight redundancy in repeating confirm_dialing both in bold prose and in Args, plus the version-history note, but both earn their place for an agent debugging failed calls.

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 9-parameter, open-world mutation tool this covers everything an agent needs: format requirements, regional limits, the required confirmation flag, billing implications, and legal caution. Return values are covered by the existing output schema, so no further detail is owed there.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden — and it does, documenting all 9 parameters including E.164 format requirements, the caller_id constraint (tracking number or verified Outbound Caller ID), leg ordering for the two phone numbers, the confirm_dialing gate, and the text-vs-recording-url greeting exclusivity. account_id auto-resolution is also stated.

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?

Opens with a specific verb+resource ("Place an outbound call") and immediately disambiguates it from read-only siblings by stating it "ACTUALLY DIALS REAL PHONES." The two-leg dialing order (business first, then customer, bridged) further pins down exactly what the action does.

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?

Gives explicit preconditions and exclusions: US/Canadian numbers only, UK/Australia unsupported, consent must be verified, and confirm_dialing=True is mandatory. It does not point to a sibling such as call_eligibility_check for pre-flight validation, so the alternative-routing guidance is missing.

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