Skip to main content
Glama

wa_call_policy

Sets how incoming WhatsApp calls are handled at runtime by rejecting, ignoring, or accepting them. Use it to change call handling on the fly when the calls layer is enabled.

Instructions

Change how incoming WhatsApp calls are handled at runtime: reject (auto-decline), ignore (just log), or accept (answer). Requires the calls layer enabled.

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": {
      "policy": "<policy>"
    },
    "name": "wa_call_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
policyYesNew call policy

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It does disclose the meaningful effects of each mode (auto-decline vs. log-only vs. answer) and that the change applies at runtime, but it omits whether the setting persists across restarts, whether it affects calls already in progress, and whether any permissions or session state are needed.

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?

A single sentence front-loads the action and resource, then immediately enumerates the options and closes with the prerequisite. No redundant restatement of the tool name or schema.

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 one-parameter enum tool with no output schema and no annotations, the description covers the action, the value meanings, and a key prerequisite. It is nearly complete; only persistence semantics and any confirmation/return behavior are left unstated.

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 enum already lists reject/ignore/accept, so the baseline is 3. The description earns an extra point by glossing the ambiguous values — 'ignore (just log)' in particular disambiguates whether the call still rings or is silently dropped.

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 description gives a specific verb and resource ('Change how incoming WhatsApp calls are handled at runtime') and defines the three modes inline, so an agent knows exactly what the tool controls. It falls short of a 5 because it never mentions related siblings (e.g. pairing or acting on a specific call), so differentiation must be inferred.

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 prerequisite 'Requires the calls layer enabled' is a useful condition, and the tool's scope is implied by 'incoming calls'. But there is no explicit statement of when to prefer this over adjacent call tools, nor any exclusions or caveats about applying it.

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