Skip to main content
Glama
EvandroSchechtel

WhatsApp Business MCP Server

update_business_profile

Modify WhatsApp Business profile details including description, address, email, and website URLs to maintain accurate business information.

Instructions

Update the WhatsApp Business profile information.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aboutNoShort description (max 139 chars)
descriptionNoBusiness description (max 512 chars)
addressNoBusiness address
emailNoBusiness email
websitesNoBusiness website URLs (max 2)

Implementation Reference

  • The actual implementation of the WhatsApp Business profile update API call using the WhatsAppClient class.
    async updateBusinessProfile(profile: Record<string, unknown>) {
      return this.request(
        `/${this.config.phoneNumberId}/whatsapp_business_profile`,
        "POST",
        { messaging_product: "whatsapp", ...profile }
      );
    }
  • src/index.ts:351-365 (registration)
    MCP tool registration for "update_business_profile", defining the input schema using zod and linking to the WhatsAppClient implementation.
    server.tool(
      "update_business_profile",
      "Update the WhatsApp Business profile information.",
      {
        about: z.string().optional().describe("Short description (max 139 chars)"),
        description: z.string().optional().describe("Business description (max 512 chars)"),
        address: z.string().optional().describe("Business address"),
        email: z.string().optional().describe("Business email"),
        websites: z.array(z.string()).optional().describe("Business website URLs (max 2)"),
      },
      async (params) =>
        executeWithHooks("update_business_profile", params, config, () =>
          wa.updateBusinessProfile(params)
        )
    );

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