Skip to main content
Glama
Meta Business Messaging

Meta Business Messaging

whatsapp_create_template

Create a new WhatsApp message template with specified name, language, category, and components. Submit it for Meta review to enable approved business messaging.

Instructions

Create a new message template (subject to Meta review).

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": {
      "name": "<name>",
      "language": "<language>",
      "category": "<category>",
      "components": "<components>"
    },
    "name": "whatsapp_create_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
waba_idNoWhatsApp Business Account ID (falls back to WHATSAPP_BUSINESS_ACCOUNT_ID env)
categoryYes
languageYese.g. pt_BR, en_US
componentsYes
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

C2.7/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 burden. It does disclose one important trait — Meta review means the template is not immediately usable — but omits approval status, rejection handling, name uniqueness constraints, and auth/token requirements for a mutation of this weight.

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 no wasted words. Its brevity is efficient, though it borders on under-specification for a six-parameter mutation.

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

Completeness2/5

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

For a create tool with a complex components payload, no annotations, and no output schema, one sentence is not enough. An agent has no information about the resulting template status, what a valid components structure looks like, or how to recover from a failed review.

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

Parameters2/5

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

Schema description coverage is 50%, and the description adds no parameter meaning at all. The most opaque input, 'components' (an untyped array of free-form objects defining the template body), is documented neither in the schema nor the description, and the name pattern and category enum intent go unelaborated.

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 and resource ('Create a new message template'), which cleanly separates it from siblings like whatsapp_delete_template and whatsapp_list_templates. The parenthetical adds scope about Meta review, but no sibling is named explicitly to disambiguate from send/create workflows on other channels.

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

Usage Guidelines2/5

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

No guidance on when to use this versus whatsapp_list_templates or the send_* tools, and no prerequisites such as needing an approved WhatsApp Business Account. The agent must infer that this is a pre-send setup step.

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