Skip to main content
Glama

Start a call

make_call
Destructive

Start an outbound phone call to a Czech or Slovak number, or to the country of the agent's calls and SMS number (capabilities.outboundTo), as to. Pass exactly ONE of three parameters: agentId (the call is handled by your voice agent), from (a plain bridge connecting from and to with no agent), or systemPrompt (a trial call with no number of your own - a single request, no need to buy a number or set up an agent first; the call goes out from a shared volai demo number and speaks according to the instructions you give, is billed normally including the agent surcharge, has a stricter daily and total limit than a real agent, and the feature may be temporarily disabled). Never more than one, never none. An agent that has a calls and SMS number places its calls from that number: only to Czech (+420) numbers (any other number returns destination_not_allowed), plus the number's own country once capabilities.outboundTo of that number lists it, one outbound call at a time per number (a second one returns capacity_busy, retry after a short wait), and from cannot be a calls and SMS number (unsupported_for_number_type). A stopped account or reached monthly spend cap returns insufficient_credit or spend_cap_reached; neither is fixed by retrying. Only with agentId can you also send variables (custom dynamic variables for the agent, at most 20 keys, key up to 64 characters, value up to 512 characters - the keys attempt_id, caller_number, called_number, trial_prompt and trial_first_message are reserved and get silently overwritten; a key starting with system__ or volai_ is rejected, both prefixes are reserved), ringingTimeoutSecs (5 to 60, default 25), and maxDurationSecs (a provider-enforced call duration cap in whole seconds, 30 to 300; check get_agent_call_capabilities first and inspect the returned effective value). A campaign call must pass both campaignBudgetId and a unique campaignCallId obtained/created for this attempt; duplicate ids return the existing call or a pending error and never place a second dial. The immutable budget reserves the maximum current-rate net cost before the provider request, holds uncertain dispatches and settles from actual billing. A campaign scope requires scopedContentDeletion and the matching engine capability. Only with systemPrompt (at most 1200 characters) can you also send an optional firstMessage (at most 300 characters) and ringingTimeoutSecs with a lower ceiling (5 to 30) - the response for this variant also carries trial: true and from. With from (bridge), agent-only parameters are rejected or ignored as described by validation. Use dryRun: true to get the price first and show it to the user before calling. maxChargeHal covers the agent call only, not a transfer to a human. Same data as POST /v1/calls (response schema in /openapi.json).

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": {
      "to": "<to>"
    },
    "name": "make_call"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesDestination phone number in E.164 format, for example +420123456789. Without a country code it is read as a number of the account's country (an agent on a number in another country needs the country code). Do-not-call numbers are rejected.
fromNoNumber you will answer on, in E.164 format with the country code, for example +420777123456 - it rings first and to is dialled once you pick up. Any Czech or Slovak number, it need not belong to your account. Pass exactly one of agentId, from or systemPrompt.
dryRunNoDefault false. With true all checks run but nothing is dialed or charged; returns pricing in hellers. maxChargeHal is set only when maxDurationSecs is passed, otherwise null. Works with agentId or systemPrompt, not with from or campaign fields.
streamNoLive audio of each side over WebSocket (PCM 16-bit mono). With from (a bridge) or agentId (an agent on the voice engine, no campaign fields), not with systemPrompt, only on accounts where volai enabled it. Verify the Bearer JWT with your stream secret (create_stream_secret).
agentIdNoId of the agent that leads the call, from list_agents (ag_9f3a2b7c4d1e). Pass exactly one of agentId, from or systemPrompt.
variablesNoCustom dynamic variables for the agent, name to value: max 20 keys, key up to 64 chars, value up to 512. Used only with agentId. attempt_id/caller_number/called_number/trial_prompt/trial_first_message are overwritten; system__/volai_ prefixes are rejected.
firstMessageNoThe trial agent's opening line, up to 300 characters. Used only together with systemPrompt; ignored with agentId or from.
systemPromptNoInstructions for a one-off trial agent that needs no phone number or agent of your own, up to 1200 characters. The call goes out from a shared volai demo number. Pass exactly one of agentId, from or systemPrompt.
campaignCallIdNoUnique stable id for this call attempt within campaignBudgetId; duplicate ids never dial twice.
maxDurationSecsNoOptional provider-enforced call duration cap in whole seconds, 30 to 300. Engine capability must be confirmed before dialing; inspect the returned effective cap.
campaignBudgetIdNoImmutable campaign budget scope id. Must be paired with campaignCallId; do not omit for a budgeted campaign call.
ringingTimeoutSecsNoHow long the callee's phone rings before the call is given up, in seconds, 5 to 60, or 5 to 30 with systemPrompt. Defaults to 25. Ignored with from.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / stream / description
      Previous value: -"Live audio of each side of the call over WebSocket (PCM 16-bit mono little-endian). Only with from (bridging two numbers) and only on accounts where volai enabled it. Verify the Authorization: Bearer JWT with your stream secret (create_stream_secret)."New value: +"Live audio of each side over WebSocket (PCM 16-bit mono). With from (a bridge) or agentId (an agent on the voice engine, no campaign fields), not with systemPrompt, only on accounts where volai enabled it. Verify the Bearer JWT with your stream secret (create_stream_secret)."
    • changedInput schema / properties / stream / properties / url / description
      Previous value: -"wss:// address of your server. volai connects to it once per call side (side=from and side=to in the query) and sends a JSON start message, then binary PCM frames."New value: +"wss:// address of your server. volai connects to it once per call side (side=from and side=to for a bridge, side=to and side=agent for an agent call, in the query) and sends a JSON start message, then binary PCM frames."
  2. Changed1 schema field changed
    • addedInput schema / properties / stream
      Added value: +{
      +  "description": "Live audio of each side of the call over WebSocket (PCM 16-bit mono little-endian). Only with from (bridging two numbers) and only on accounts where volai enabled it. Verify the Authorization: Bearer JWT with your stream secret (create_stream_secret).",
      +  "properties": {
      +    "frameMs": {
      +      "anyOf": [
      +        {
      +          "const": 20,
      +          "type": "number"
      +        },
      +        {
      +          "const": 40,
      +          "type": "number"
      +        }
      +      ],
      +      "description": "Frame length in milliseconds, 20 or 40, default 20."
      +    },
      +    "sampleRate": {
      +      "anyOf": [
      +        {
      +          "const": 16000,
      +          "type": "number"
      +        },
      +        {
      +          "const": 24000,
      +          "type": "number"
      +        }
      +      ],
      +      "description": "16000 or 24000 Hz, default 24000."
      +    },
      +    "url": {
      +      "description": "wss:// address of your server. volai connects to it once per call side (side=from and side=to in the query) and sends a JSON start message, then binary PCM frames.",
      +      "maxLength": 2048,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "url"
      +  ],
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / dryRun
      Added value: +{
      +  "description": "Default false. With true all checks run but nothing is dialed or charged; returns pricing in hellers. maxChargeHal is set only when maxDurationSecs is passed, otherwise null. Works with agentId or systemPrompt, not with from or campaign fields.",
      +  "type": "boolean"
      +}
  4. First observed

TDQS

A4.4/5.0
Behavior5/5

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

The annotations only say this is a non-read-only, open-world, destructive, non-idempotent call; the description goes far beyond by disclosing concurrency limits (one outbound call per number, capacity_busy), billing behavior (agent surcharge, budget reservation before dispatch, settlement from actual billing), and concrete failure modes with codes (destination_not_allowed, insufficient_credit, spend_cap_reached, unsupported_for_number_type) that are explicitly not retryable. It also explains the campaignCallId dedup guarantee, which refines the meaning of the call without contradicting the non-idempotent annotation.

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

Conciseness3/5

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

The most important constraint is front-loaded, but the body is a single very long paragraph mixing mode selection, geographic limits, error codes, campaign idempotency, budget accounting, and parameter ceilings, with no headings or bullets to help scanning. Several facts are stated twice ('Never more than one, never none', the exactly-one rule repeated per mode) and a few details restate the schema verbatim.

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 12-parameter tool with a nested stream object and no output schema, the description covers what an agent must know before dialing: mode exclusivity, geography, concurrency, billing and budget semantics, dry-run behavior, and the shape differences of the trial response (trial: true and from). It also points to /openapi.json for the response schema, which is the right handoff given no output schema is supplied.

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 earns more by adding conditional applicability the schema cannot express, e.g. variables/ringingTimeoutSecs/maxDurationSecs are only honored with agentId, the ringing ceiling drops to 30 with systemPrompt, and from rejects agent-only parameters. It repeats some schema content (variable key limits, systemPrompt length, default timeout) rather than adding to it, which keeps it from a 5.

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?

The opening sentence gives a precise verb and resource ('Start an outbound phone call') plus the allowed destination scope (Czech/Slovak numbers or the agent number's own country via capabilities.outboundTo). It then splits the tool into three clearly named operating modes (agentId, from, systemPrompt), which lets an agent understand what it is choosing. It stops short of naming a sibling tool such as test_call, so differentiation from the closest alternative is left implicit.

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 states an explicit exclusivity rule with both directions of failure: 'Pass exactly ONE of three parameters... Never more than one, never none,' and describes the semantics of each alternative so the choice is decidable. It also gives sequencing guidance ('Use dryRun: true to get the price first and show it to the user before calling') and names a sibling with a precondition ('check get_agent_call_capabilities first') for maxDurationSecs.

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.