Skip to main content
Glama

Reject an incoming call

whatsapp_reject_call

Reject a ringing WhatsApp call by its call ID; use IDs from recent calls and act only while the call remains in offer or ringing state.

Instructions

Reject an incoming WhatsApp call by its id (see whatsapp_recent_calls). Only works for calls still in offer/ringing state.

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>"
    },
    "name": "whatsapp_reject_call"
  }
}

Input Schema

NameRequiredDescriptionDefault
call_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the whole burden. It does disclose the key behavioral constraint (state-gated operation) and implies a mutation, but says nothing about what happens if the call is no longer ringing, whether rejection is reversible, or what the response contains.

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?

Two short sentences with the operation stated first and the constraint second; no filler, nothing that could be trimmed without losing information.

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 mutation with no annotations and no output schema, the description covers purpose, id provenance, and the precondition that governs success. Only the failure/return behavior is left unstated, which is a minor gap at this complexity.

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 0% and the single parameter is documented only as a bare string, so the description is the sole source of meaning. It adds the important detail that call_id is an identifier obtainable from whatsapp_recent_calls, though it gives no format or example.

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?

States a specific verb and resource ('Reject an incoming WhatsApp call') plus the identifying key ('by its id'), which cleanly separates it from siblings like whatsapp_call and whatsapp_recent_calls. An agent can tell what this does without opening the schema.

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 an explicit precondition ('Only works for calls still in offer/ringing state') and routes the agent to whatsapp_recent_calls for obtaining the call id. It stops short of saying what to do for a call in any other state, so it falls just short of full when/when-not coverage.

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