Skip to main content
Glama
Meta Business Messaging

Meta Business Messaging

whatsapp_list_phone_numbers

Retrieve phone numbers registered under a WhatsApp Business Account, helping you review available numbers and choose one for messaging tasks.

Instructions

List all phone numbers registered under a WhatsApp Business Account.

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": "whatsapp_list_phone_numbers"
  }
}

Input Schema

NameRequiredDescriptionDefault
waba_idNoWhatsApp Business Account ID (falls back to WHATSAPP_BUSINESS_ACCOUNT_ID env)
access_tokenNoOptional override for the access token (falls back to WHATSAPP_ACCESS_TOKEN env)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and does not meet it. It never states that the operation is read-only, whether results are paginated (relevant since it returns 'all' numbers on a business account), what permissions or token scopes are needed, or what fields come back.

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?

A single front-loaded sentence with zero filler; the resource and scope arrive immediately. It is arguably under-sized for a tool with no annotations and no output schema, but no wording is wasted.

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 (zero required parameters, flat schema), which lowers the bar, and the schema covers both inputs. However, with no annotations and no output schema, an agent still lacks any signal about read-only safety or result size/pagination, leaving the definition only minimally adequate.

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 (waba_id, access_token) already carry descriptions including the env-var fallbacks, so the schema does the heavy lifting. The description only echoes that results are scoped to a WhatsApp Business Account and adds no syntax, format, or override guidance beyond that.

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 ('List') and resource ('phone numbers registered under a WhatsApp Business Account') with clear scope ('all'). An agent can distinguish it from the mutating sibling whatsapp_register_phone_number, though the description never names that 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: 'List all' signals a read-only enumeration with no filtering, which makes the selection fairly self-evident against registration/deletion siblings. There is no explicit when-to-use, when-not-to-use, or named alternative, so guidance remains inferential.

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