Skip to main content
Glama

connect_whatsapp_inbound

Destructive

Point the tenant's Twilio WhatsApp sender at CallPilotAI's inbound webhook, so customer replies land in the lead timeline. Without it the inbound endpoint exists but stays silent — Twilio does not know where to send. Finds the sender whose number EXACTLY matches the stored WhatsApp sender (never 'the first one'), reads its current webhook, sets it and reads back what Twilio reports. dry_run: true only reads. Needs the Twilio connection with Auth Token and a stored sender (set_whatsapp_provider sender=…). Webhook addresses are returned masked (query values and credentials as ***); the previous one is kept in the vault, so zuruecksetzen: true restores it (with dry_run: true only shows what would be 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": "connect_whatsapp_inbound"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoOnly read the current webhook (or what a restore would set), change nothing.
restore_urlNoWay back with an explicit https address instead of the stored one. Prefer zuruecksetzen: true - a webhook URL often carries another system's key.
zuruecksetzenNoWay back: set the sender's webhook back to the address it had before connect_whatsapp_inbound changed it. That address was stored in the vault at connect time and is never shown (only masked).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Well beyond the annotations: it discloses exact-match sender selection (never 'the first one'), read-back verification, that the previous webhook is vaulted and only shown masked, and how dry_run interacts with both set and restore. It also names the auth prerequisite, which the openWorldHint annotation does not convey.

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?

Dense but front-loaded: purpose, then consequence of omission, then matching/verification behavior, then prerequisites and rollback. Minor waste from repeating the dry_run semantics a second time and from switching to the raw parameter name 'zuruecksetzen' mid-sentence.

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

Completeness5/5

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

For a destructive, non-idempotent, open-world mutation with no output schema, the description covers prerequisites, side effects, verification, masking of returned secrets, and a restore path. An agent has everything needed to call it safely and to explain results.

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%, so the baseline would be 3, but the description adds real meaning: why restore_url is discouraged in favor of the stored address (a URL may carry another system's key) and how dry_run behaves in the restore case versus the set case.

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: point the tenant's Twilio WhatsApp sender at CallPilotAI's inbound webhook, with the outcome (customer replies land in the lead timeline). It is clearly distinguishable from siblings like set_whatsapp_provider, which is named as a prerequisite rather than a substitute.

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 a concrete when-to-use rationale ('Without it the inbound endpoint exists but stays silent — Twilio does not know where to send') plus prerequisites (Twilio connection with Auth Token, a stored sender via set_whatsapp_provider). It also documents the rollback path. Missing only an explicit statement of when not to call it.

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.