Skip to main content
Glama

Social media studio

Create WhatsApp Template

create_whatsapp_template

Create (submit for Meta approval) a WhatsApp message template

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

Input Schema

NameRequiredDescriptionDefault
nameYesTemplate name (lowercase, alphanumeric + underscores)
categoryYes
languageYesLanguage code (e.g. en_US)
accountIdYesWhatsApp social account UUID (or WABA provider ID)
componentsYesTemplate components (HEADER/BODY/FOOTER/BUTTONS)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive write. The description adds the important behavioral fact that creation is a submission for Meta review, so the template is not immediately usable. It does not cover what happens on rejection, whether pending templates count against limits, or that approved templates generally cannot be edited (delete and recreate instead).

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?

One front-loaded sentence with no filler and the approval caveat placed immediately after the verb. It is efficient, but for a five-required-parameter mutation it is arguably thinner than the complexity warrants.

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

Completeness3/5

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

The key behavioral nuance (Meta approval gate) is present, and annotations plus a well-described schema carry the rest. However, with no output schema, the description never says what comes back (template ID, pending status) or what to do next, which is a real gap for a create-and-submit tool.

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

Parameters3/5

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

Schema description coverage is 80%, so the schema already explains name format, language code, accountId, and components. The description adds no meaning beyond that, which is acceptable at this coverage level but leaves the enum-constrained category undocumented anywhere in prose.

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 (create) and resource (WhatsApp message template), and the parenthetical adds that creation means submitting for Meta approval rather than instant activation. The name and description together separate it cleanly from get/list/delete/send siblings, though the text itself does not name any alternative.

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?

There is no explicit when-to-use guidance, no prerequisites (e.g. WABA must exist, account must be verified), and no pointer to alternatives such as send_whatsapp_template for actually sending or list_whatsapp_templates for checking approval status. Usage is only implied by the verb.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources