Skip to main content
Glama

retry_whatsapp_provisioning

Idempotent

Retry provisioning for a FAILED WhatsApp trunk, reusing the existing binding instead of disconnecting and reconnecting the account. This is the recovery path for Meta error 138015 (WhatsApp Calling not yet available until the WhatsApp account clears Meta's messaging-tier and business-verification gate) — retry once eligible. Rejected with not_retryable unless the trunk is in "failed" 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": {
      "number_id": "<number_id>"
    },
    "name": "retry_whatsapp_provisioning"
  }
}

Input Schema

NameRequiredDescriptionDefault
purposeNoRequired on tools that read data or reports; recommended on every tool. One sentence: what you are doing and why (for example "finding this caller's open ticket to answer them"). Building a report, dashboard, analytics or an export is a SautiDesk Pro feature done by the report tools, not by pulling records.
number_idYestenant number UUID (from list_numbers) — NOT the trunk id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered; the description adds behavior beyond that — the binding is reused rather than torn down, the call fails with not_retryable on a non-failed trunk, and it is gated on Meta's messaging-tier/business-verification requirement. It does not say what the retry returns on success or how long provisioning takes, but the recovery semantics are well disclosed.

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?

The action and the reuse-instead-of-reconnect distinction are front-loaded, and the eligibility/error-code detail follows in a single dense sentence. The em-dash parenthetical explaining error 138015 is long but earns its place by defining eligibility; nothing is truly redundant.

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 two-parameter tool with annotations covering idempotency and safety, the description supplies the missing decision-critical context: precondition state, error code, and rejection behavior. Only the success-side outcome is left implicit, which is acceptable given there is no output schema to explain it.

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 coverage is 100% and both parameters already carry descriptions, including the important 'tenant number UUID (from list_numbers) — NOT the trunk id' disambiguation. The description adds no parameter-level guidance of its own, so the baseline 3 applies.

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?

The description states a specific verb and resource ('Retry provisioning for a FAILED WhatsApp trunk') plus a key mechanism ('reusing the existing binding instead of disconnecting and reconnecting the account'), which distinguishes it from the rotate/reconnect path a sibling would offer. The uppercase FAILED and the identifier number_id context make the target unambiguous.

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?

It gives explicit eligibility conditions: this is the recovery path for Meta error 138015, retry only 'once eligible', and it is rejected with not_retryable unless the trunk is in 'failed' state. What is missing is an explicit named alternative for the other case (e.g. rotate_whatsapp_trunk when the trunk is not failed), so the agent must infer it from the 'instead of disconnecting and reconnecting' clause.

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.

Resources