Skip to main content
Glama
EvandroSchechtel

WhatsApp Business MCP Server

get_phone_numbers

Retrieve all registered phone numbers for a WhatsApp Business Account, including quality ratings and messaging limits, to manage communication capabilities.

Instructions

List all phone numbers registered on this WhatsApp Business Account, including quality rating and messaging limits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The actual implementation of the getPhoneNumbers logic which makes a request to the WhatsApp API.
    async getPhoneNumbers() {
      return this.request(`/${this.config.businessAccountId}/phone_numbers`);
    }
  • src/index.ts:333-339 (registration)
    The registration of the 'get_phone_numbers' MCP tool.
    server.tool(
      "get_phone_numbers",
      "List all phone numbers registered on this WhatsApp Business Account, including quality rating and messaging limits.",
      {},
      async () =>
        executeWithHooks("get_phone_numbers", {}, config, () => wa.getPhoneNumbers())
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/EvandroSchechtel/mcp-whatsapp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server