Skip to main content
Glama

wa_call_action

Accept, reject, or end a WhatsApp call by call ID or latest; incoming-call handling follows the configured WA_CALL_POLICY.

Instructions

Accept, reject or end a WhatsApp call by id (or "latest"). Incoming-call handling follows WA_CALL_POLICY (reject|ignore|accept).

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": {
      "call_id": "<call_id>",
      "action": "<action>"
    },
    "name": "wa_call_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesWhat to do with the call
call_idYesCall id from wa_calls, or "latest"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses that incoming-call handling follows WA_CALL_POLICY, but that reference is muddled: the policy values (reject|ignore|accept) don't match the action enum (accept|reject|end), and there is no word on permissions, what happens to call state on end, or what the call returns.

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?

Two short sentences with the action set and identifier front-loaded; no wasted wording. The second sentence's policy parenthetical is slightly confusing rather than clarifying, which keeps it from a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a small two-parameter tool with no annotations and no output schema, the description covers the core operation and the policy dependency. It leaves gaps on the outcome of accept/end and how the policy interacts with the action enum, which matters given the absence of annotations.

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%, so the schema already documents both parameters including the "latest" shorthand and the action enum. The description adds no format or behavioral detail beyond that, so the baseline 3 applies.

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 specific verbs (accept, reject, end) and resource (WhatsApp call) with the identifying parameter (id or "latest"). It does not explicitly distinguish itself from the sibling wa_calls (listing) or wa_call_policy, so it falls just short of a 5.

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?

The description implies the tool is for acting on an existing call and points to WA_CALL_POLICY for incoming-call handling, but it never states when to choose accept vs reject vs end, nor when to use this instead of wa_calls or wa_call_policy.

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