Skip to main content
Glama

whatsapp_template_create

Submit a new WhatsApp message template to Meta for review. Either pass components (custom template: HEADER / BODY / FOOTER / BUTTONS in Meta's shape, with example values for any {{n}} placeholders) or library_template_name to instantiate one of Meta's pre-approved library templates (approved instantly). name must be lowercase letters, digits and underscores; category is UTILITY, MARKETING or AUTHENTICATION. Custom templates come back PENDING — watch the message_template.status_updated webhook or re-list with refresh.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesTemplate name: lowercase letters, digits and underscores, starting with a letter
categoryYes
languageYesLanguage code, e.g. en_US
componentsNoMeta template components. Required for a custom template.
profile_idYesProfile hashid of a whatsapp profile (the WhatsApp Business Account)
parameter_formatNoPlaceholder style: {{1}} (default) or {{name}}
library_template_nameNoName of a Meta template-library entry to instantiate (see whatsapp_template_library_get)
message_send_ttl_secondsNoTime-to-live for sends of this template. AUTHENTICATION 30-900, UTILITY 30-43200, MARKETING 43200-2592000, or -1 to keep Meta's default
library_template_body_inputsNoBody inputs the library template asks for
library_template_button_inputsNoButton inputs the library template asks for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With annotations covering the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true), the description still adds meaningful behavior: custom templates return PENDING, library templates are approved instantly, and a named webhook (message_template.status_updated) plus a re-list-with-refresh path are offered for tracking. It stops short of noting auth/permission requirements or rate limits.

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?

Roughly four dense sentences, front-loaded with the core action before the two-branch detail and the async outcome. No filler, though the middle sentence packs several constraints (name charset, category enum) that the schema already encodes and could be trimmed.

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

Completeness4/5

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

For a 10-parameter mutation tool with no output schema, the description covers both invocation branches and what happens after submission (PENDING vs instant approval, webhook vs refresh). It does not state what the response object contains (e.g., template id), but the state-change information an agent needs to proceed is present.

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 90% so the baseline is 3, but the description adds real semantics: it maps 'components' to Meta's HEADER/BODY/FOOTER/BUTTONS shape and stresses that example values are required for any {{n}} placeholders, and it explains that library_template_name/body/button inputs are the alternative path. It does not restate the TTL or parameter_format details, which the schema already covers.

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?

The description opens with a specific verb and resource: 'Submit a new WhatsApp message template to Meta for review.' It clearly separates this tool from siblings like whatsapp_template_update (modify), whatsapp_template_delete, and whatsapp_template_library_get (browse), so an agent can pick the right one without opening schemas.

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

Usage Guidelines4/5

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

It gives explicit routing between the two creation modes: pass 'components' for a custom template or 'library_template_name' to instantiate a pre-approved one, and points to whatsapp_template_library_get for the library entry name. It does not explicitly say what to do for modifying an existing template (use whatsapp_template_update instead), which is the main remaining gap.

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.