Skip to main content
Glama

wa_webhook

Register or clear an HTTP webhook URL so every incoming WhatsApp message is POSTed there as JSON for building custom bots. Omit the URL to view the current webhook.

Instructions

Register or clear an HTTP webhook URL. Every incoming message is POSTed there as JSON (event, chat, from, text, media_type, id) — build your own bots on top. Requires confirm to set.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "wa_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoThe webhook URL (https recommended). Omit to just view the current one
clearNoRemove the webhook
confirmNoMust be true when setting a URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reasonably well: it discloses the side effect (every incoming message POSTed to the URL), the exact JSON payload keys, and the confirmation requirement for setting. It omits what happens to an existing webhook when a new one is set, and whether clearing is immediately destructive.

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?

Three compact clauses, front-loaded with the action and followed by the payload contract and the safety constraint. No filler sentences and nothing that could be cut without losing information.

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?

There is no output schema and no annotations, so the description must cover behavior on its own; it explains the delivery contract well but leaves the replace-vs-append question and any auth/rate-limit context unstated. For a three-mode configuration tool this is adequate but not complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, yet the description still reinforces the two non-obvious semantics: url omitted means read-only view, and confirm is mandatory for the set path. It adds operational meaning rather than repeating field types.

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 concrete verb pair and resource: "Register or clear an HTTP webhook URL." That is unambiguous and lets an agent tell this apart from chat/message tools in the sibling set, though it never explicitly names an alternative or contrasting tool.

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?

It implies the use case ("build your own bots on top") and encodes the three modes indirectly through the parameter notes (omit url to view, clear to remove, confirm to set). It stops short of saying when to pick this over wa_autoreply or when a webhook is inappropriate, so guidance is implied rather than stated.

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