Skip to main content
Glama
Upload-Post

Upload-Post

Official

Manage the WhatsApp Business profile and chat links

manage_whatsapp_business
Destructive

Get and update a WhatsApp Business profile's about, contact, and category details, and create, list, or delete QR codes and short links that open pre-filled chats.

Instructions

The public side of the profile's WhatsApp Business number. get_profile: about, address, description, email, websites, vertical, profile_picture_url, plus phone_number and verified_name. update_profile (only what you send changes): about (max 139 characters), address (256), description (512), email (128), websites (up to 2 http(s) URLs), vertical (UNDEFINED, OTHER, AUTO, BEAUTY, APPAREL, EDU, ENTERTAIN, EVENT_PLAN, FINANCE, GROCERY, GOVT, HOTEL, HEALTH, NONPROFIT, PROF_SERVICES, RETAIL, TRAVEL, RESTAURANT, NOT_A_BIZ); everyone who opens the chat sees it. The profile photo is changed in the dashboard or the SDKs (file upload). list_qr_codes: the QR codes / short links that open a chat with the number and a prefilled message (code, prefilled_message, deep_link_url, qr_image_url). create_qr_code (prefilled_message, max 140 characters; pass code to change an existing one's message). delete_qr_code (code; the link and QR stop working). WhatsApp is available to every account: the profile needs its WhatsApp Business number connected (get_connect_link with platforms ['whatsapp']), otherwise the API answers 400 with how to connect it; 401 whatsapp_reauth_required means reconnect it. Needs the user's approval: call it first without confirmed to get a preview (nothing is sent), show the user exactly what will go out, and repeat the call with confirmed: true only after they approve.

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": {
      "action": "<action>",
      "user": "<user>"
    },
    "name": "manage_whatsapp_business"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNocreate_qr_code: an existing code to edit. delete_qr_code: the code to delete.
userYesUpload-Post profile name with WhatsApp connected.
aboutNoupdate_profile: the short 'About' text.
emailNoupdate_profile.
actionYes
paramsNoOther API fields for this action, with the REST API's own names (snake_case) and shapes. Any other field of these endpoints. Leave out what you do not want to change.
addressNoupdate_profile.
verticalNoupdate_profile: the business category (see the description for the values).
websitesNoupdate_profile: up to 2 http(s) URLs.
confirmedNoSet to true only after the user has seen the preview this tool returns without it and approved it. Without it nothing is sent.
descriptionNoupdate_profile.
prefilled_messageNocreate_qr_code: text the person's message box starts with.

Output Schema

NameRequiredDescriptionDefault
resultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.27.0

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the supplied annotations (readOnlyHint=false, destructiveHint=true, openWorldHint=true) by disclosing partial-update semantics ("only what you send changes"), the public visibility of edits ("everyone who opens the chat sees it"), that delete_qr_code makes the link and QR stop working, and the failure modes 400 (number not connected) and 401 whatsapp_reauth_required with reconnect guidance. That is exactly the write-safety context the annotations only flag but do not explain.

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?

Front-loaded with the action list and each sentence carries operational content; no filler. Minor cost: the opening suspectless fragment ("The public side of the profile's WhatsApp Business number") and the long parenthetical vertical list add density, and lengths that already exist in the schema are restated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Complete for a five-action dispatcher: prerequisites, error handling, destructive consequences, update semantics, and the two-step confirmation gate are all covered, and the existence of an output schema means return shapes need not be restated. Nothing an agent needs to invoke this safely is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 92%, so the baseline is 3; the description earns one step more by supplying the full `vertical` enum vocabulary that the schema itself defers to the description ("see the description for the values"), and by clarifying that `code` means an existing code to edit under create_qr_code but the target under delete_qr_code. It adds little on top of the schema for about/address/email/websites, which already carry max lengths.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens by framing scope (the public-facing WhatsApp Business number) then names each of the five actions with a specific verb+resource: get_profile, update_profile, list_qr_codes, create_qr_code, delete_qr_code. An agent can tell which sub-action maps to which intent without opening the schema, and the field lists make each action's surface concrete.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly tells the agent what cannot be done here ("The profile photo is changed in the dashboard or the SDKs (file upload)"), a genuine exclusion rather than silence. It also names the prerequisite path (get_connect_link with platforms ['whatsapp']) and states the confirmation protocol precisely: call first without `confirmed` for a preview that sends nothing, show the user, then repeat with `confirmed: true` only after approval.

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

Deploy Server

Other Tools