Gambot - Official WhatsApp Business API

v1.9.1
io.github.gambot-ai/gambot-mcp Checked 3 days ago Published 1 month ago

Official WhatsApp Business API MCP server for AI agents: messages, templates, webhooks, CRM.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

gambot_setup_whatsapp_integration Set up / verify the WhatsApp integration (START HERE)

START HERE when a user says things like "add WhatsApp to my app", "I need the official WhatsApp Business API" or "connect WhatsApp". Gambot is the OFFICIAL WhatsApp Business (Cloud) API through a Meta Business Solution Provider — not WhatsApp Web / QR-session automation. This tool only READS state and tells you the single next step and WHO must do it. It works with or without an API token: without a token it follows the public onboarding road (account → Meta Embedded Signup in a browser → API token); with a token it verifies the sender number, approved templates and webhoo…

ParameterTypeDescription
organizationstringThe EXACT organizationName returned by gambot_create_trial_account. Only needed while there is no API token yet. Never invent one.
test_recipientstringThe user's OWN WhatsApp number (E.164, digits only) to tailor the first-message step. Ask the user; never guess.

gambot_check_organization Check organization (onboarding)

Check whether an organization already exists for a company + tax id (ח.פ/ת.ז), and whether an incomplete onboarding can be resumed. Use before creating a new trial.

ParameterTypeDescription
companyIdNumber *string9-digit company/tax id (ח.פ/ת.ז).
companyName *string

gambot_generate_organization_name Generate organization name

Generate a unique organization name from a company name + tax id (adds a suffix if taken).

ParameterTypeDescription
companyIdNumber *string
companyName *string

gambot_search_available_numbers Search phone numbers to buy (by country)

List phone numbers available to purchase for a country (via Twilio), so you can pick one to buy as the account's SIM/number. Pass the chosen phoneNumber to gambot_create_paid_account (or gambot_create_paid_account_self_serve with no API key) as simInfo.selectedSimNumber with simInfo.purchaseInTwilio=true. A bought number is prepaid - never a trial.

ParameterTypeDescription
countryCode *stringISO-3166 alpha-2 country code, e.g. "US", "GB", "IL".
numberTypestringDefault local.

gambot_send_onboarding_verification Send onboarding verification code

Send a 6-digit verification code to the customer's email AND WhatsApp. Public (no token). Required ONLY before creating a self-serve account that BUYS a phone number (proves the customer owns the email/phone, so we don't buy numbers for fake accounts). Returns { verificationId } — collect the code from the customer, then call gambot_verify_onboarding_code. Co-existence / bring-your-own do NOT need this (only buying a number does).

ParameterTypeDescription
email *stringCustomer email — the code is sent here.
phoneNumber *stringCustomer WhatsApp number (E.164) — the code is sent here too.
companyIdNumberstring
companyNamestring
namestring

gambot_verify_onboarding_code Verify onboarding code

Verify the 6-digit code the customer received (from gambot_send_onboarding_verification). Public (no token). On success returns { verified:true }; pass the same verificationId to gambot_create_paid_account_self_serve to create a prepaid account that buys a phone number.

ParameterTypeDescription
code *stringThe 6-digit code the customer received by email/WhatsApp.
verificationId *stringFrom gambot_send_onboarding_verification.

gambot_create_trial_account Create trial account

Create a new FREE-TRIAL organization + first user with NO Gambot API key (public self-serve). If companyInfo.organizationName is omitted it's generated from companyInfo.companyName + companyInfo.companyIdNumber, so one call suffices. WhatsApp/number options: (Gambot does NOT provide any free / test / sandbox numbers - never offer or suggest one) · useCoexisting (existing WhatsApp Business number in simInfo.simNumberEntered) · BYO SIM (the customer's own number in simInfo.simNumberEntered). BUYING a number/SIM from Gambot is NOT possible on a trial (it is prepaid, no trial) and is rejecte…

ParameterTypeDescription
companyInfo *object{ organizationName (required), timezone (IANA, recommended, e.g. "America/New_York"; derived from country if omitted), country (ISO-3166 alpha-2, e.g. "US"), companyName, idNumber, companyUrl, company…
attributionobjectOPTIONAL, for Gambot's own analytics: how the user found Gambot, e.g. { source: "claude"|"chatgpt"|"cursor"|"gemini"|"other", referrer, landing_page, utm_source }. Pass ONLY what the user actually tol…
contactInfoobject{ contactFullName, contactEmail, contactPhoneNumber }.
currencystringILS / USD / EUR / GBP.
payEachstring
planstringBasic / Premium / Enterprise.
simInfoobject{ hasSim, simNumberEntered }. Trial accounts use the customer's own number (hasSim=true + simNumberEntered) or coexistence. Buying a number from Gambot is prepaid-only: use gambot_create_paid_account…
useCoexistingbooleanUse an existing WhatsApp Business number (coexistence).
verificationIdstringREQUIRED only when buying a number (simInfo.purchaseInTwilio=true): a verificationId that passed gambot_verify_onboarding_code.

gambot_create_paid_account_self_serve Create prepaid account with a Gambot number (no API key, card required)

Create a new PREPAID organization with NO Gambot API key (public self-serve) - the way to BUY A NUMBER/SIM from Gambot. There is NO trial: the card is verified, the number (simInfo.purchaseInTwilio=true + simInfo.selectedSimNumber from gambot_search_available_numbers) is bought, and the FIRST period (plan + SIM) is charged immediately. If the charge fails nothing is created and the number is released. Buying a number requires a VERIFIED verificationId: first run gambot_send_onboarding_verification then gambot_verify_onboarding_code and pass it here. Prices are fixed by Gambot (the plan/payEach…

ParameterTypeDescription
card *objectREQUIRED. { cardNumber, expirationDate ("MM/YY" or "MM/YYYY"), cvv?, holderId? }.
companyInfo *object{ organizationName (required), timezone (IANA, recommended; derived from country if omitted), country (ISO-3166 alpha-2), companyName, idNumber, companyUrl, companyPhoneNumber }.
attributionobjectOPTIONAL analytics: how the user found Gambot, e.g. { source, referrer, landing_page, utm_source }. Only what is actually known - never invent.
contactInfoobject{ contactFullName, contactEmail, contactPhoneNumber }.
currencystring
payEachstring
planstringBasic / Premium / Enterprise.
simInfoobject{ hasSim, simNumberEntered, selectedSimNumber, purchaseInTwilio }.
useCoexistingboolean
verificationIdstringREQUIRED when buying a number (simInfo.purchaseInTwilio=true): a verificationId that passed gambot_verify_onboarding_code.

gambot_get_onboarding_status Get onboarding status

Check where an organization is in onboarding: whether the account exists, a card is on file, and WhatsApp (WABA) is connected. Use this to POLL after create-trial (Meta Embedded Signup finishes in the browser, not in the agent). Returns { accountCreated, cardOnFile, wabaConnected, status (not_found|account_created|connected), wabaConnectUrl, paymentUrl, nextStep }. Public — works without a token.

ParameterTypeDescription
organization *string