Skip to main content
Glama

whatsapp_templates

Read-onlyIdempotent

List the message templates of this WhatsApp Business account (official Meta API connection only): name, language, status (APPROVED / PENDING / REJECTED…), category and components with their {{variables}}. Only APPROVED templates can be sent with whatsapp_send_template. Paginate with after = next_cursor.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "whatsapp_templates"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
afterNo
limitNo
statusNo
accountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description still adds real context: it is scoped to official Meta API connections and it discloses the status values and pagination cursor behavior. It does not discuss result ordering, defaults, or error behavior for non-Meta connections.

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?

Three compact sentences with the purpose front-loaded, followed by the send restriction and the pagination hint. The parenthetical about the Meta API connection is slightly awkwardly placed, but nothing is wasted.

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?

With no output schema, the description usefully lists the returned template facets, and it covers the critical downstream constraint about APPROVED-only sending. The main gap is the account parameter, given the existence of whatsapp_list_accounts and multi-account contexts, which is left unexplained.

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 0% across 5 parameters, so the description must do the work. It explains the after cursor and enumerates status values, but name, limit and account are never mentioned as filters – the named fields read as return values rather than request parameters, which may confuse. Partial compensation only.

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?

States a specific verb and resource plus the exact fields returned: name, language, status, category and components with their {{variables}}. It also references the sibling whatsapp_send_template as the consumer of these templates, so the agent can place it in the workflow without opening another schema.

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?

Gives a clear usage rule: only APPROVED templates can be sent with whatsapp_send_template, which tells the agent why it would list and filter by status. It also states the pagination mechanic (after = next_cursor). It does not say when NOT to call it or how it relates to non-Meta-API accounts beyond the parenthetical restriction.

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.