Skip to main content
Glama
Meta Business Messaging

Meta Business Messaging

whatsapp_register_phone_number

Registers a phone number with WhatsApp Cloud using a 6-digit 2FA PIN so it can send messages.

Instructions

Register a phone number with WhatsApp Cloud (required before sending).

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": {
      "pin": "<pin>"
    },
    "name": "whatsapp_register_phone_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
pinYes6-digit 2FA PIN
access_tokenNoOptional override for the access token (falls back to WHATSAPP_ACCESS_TOKEN env)
phone_number_idNoWhatsApp Business Phone Number ID (falls back to WHATSAPP_PHONE_NUMBER_ID env)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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 burden. It discloses one important behavioral trait — the prerequisite ordering before sending — but says nothing about idempotency on re-registration, whether a verification code is issued or returned, or required permissions. For a mutation tool with zero annotation coverage this is only a partial disclosure.

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?

One sentence, front-loaded with the action and ending with the critical prerequisite in parentheses. No wasted wording.

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?

The tool is simple with three fully documented parameters and no output schema, and the description covers the essential prerequisite. However, it leaves the registration lifecycle (verification step, re-registration behavior, success criteria) unaddressed, which matters for an agent deciding whether the call succeeded or must be followed by another step.

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 description coverage is 100%: pin, access_token override, and phone_number_id fallbacks are all documented in the schema. The description adds no parameter guidance beyond that, so the baseline 3 applies.

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?

States a specific verb+resource ('Register a phone number with WhatsApp Cloud') and adds the essential prerequisite that it must run before sending. It distinguishes itself by function from the surrounding send_* siblings, though it does not name any sibling explicitly.

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?

'required before sending' tells the agent exactly when this tool must be invoked relative to the messaging tools. It gives no when-not guidance (e.g. what to do if the number is already registered) and no alternative routing, so it falls short of a 5.

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