Skip to main content
Glama

WhatsMCP: MCP for WhatsApp

Start an AI Voice-Agent Call

wa_ai_call_start

Have an AI voice agent call a WhatsApp number from one of your numbers, using a preset from wa_ai_list_presets. Pass per-call context in variables. Returns immediately with a call_ref; the call then rings and runs on its own. Poll wa_ai_call_get about every 30 seconds until status is done, failed, no_answer or busy — then it carries the summary, transcript, collected data and a recording link. One call at a time per number; a number that just finished a call must wait a moment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesthe WhatsApp number to call, international format, e.g. +447700900123
presetYesthe preset name, from wa_ai_list_presets
variablesNoper-call context for the agent: flat string/number/boolean values, merged over the preset's defaults, e.g. {"customer_name":"Ann","order_id":"A-1042"}
first_messageNooverride what the agent says first on this call

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nextNowhat to do next
statusNodialing once accepted
refusalNopresent only when the call was not placed
call_refNopass to wa_ai_call_get to follow the call

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only carry readOnlyHint=false, idempotentHint=false, destructiveHint=false, so the description bears the full burden of behavioral disclosure. It explains the non-idempotent nature ('Returns immediately with a call_ref; the call then rings and runs on its own'), the asynchronous execution model, and the concurrency constraint ('One call at a time per number'). It also clarifies the poll-and-retrieve pattern. This adds meaningful context beyond the annotations, though it doesn't mention auth or rate limits, which are minor for this tool type.

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 description is a single paragraph but is logically ordered: purpose → parameters usage → immediate return → polling guidance → concurrency caveat. It is dense but every sentence contributes to correct invocation. It's slightly long but not padded; the front-loaded purpose and explicit polling instructions earn the length.

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 complex asynchronous tool with an output schema, the description covers the essential lifecycle: immediate call_ref, polling cadence, terminal statuses, and what the polled result contains (summary, transcript, collected data, recording link). It also flags the concurrency limitation. This is complete enough for an agent to invoke and monitor correctly, though it omits explicit error-handling guidance.

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% and the schema already describes each parameter well. The description adds valuable nuance: it clarifies that 'variables' holds per-call context that is merged over preset defaults, and that 'first_message' overrides the agent's opening line. This goes beyond the schema's basic descriptions and gives the agent a clearer mental model of how the parameters interact.

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 opens with a specific verb+resource: 'Have an AI voice agent call a WhatsApp number', and immediately ties it to a preset from a sibling tool (wa_ai_list_presets). It clearly distinguishes this from the many WhatsApp messaging tools by emphasizing the voice-agent call flow and the async behavior with call_ref. An agent can tell exactly what action this performs and how it differs from siblings.

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 explicit operational guidance: it tells the agent to poll wa_ai_call_get every ~30 seconds until terminal statuses, explains that variables are merged over preset defaults, and warns about the one-call-at-a-time concurrency rule. It doesn't explicitly state when NOT to use this tool (e.g., when a simple message suffices), but the context makes the intended usage clear and the polling pattern is well specified.

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.

Resources