Skip to main content
Glama
messaging-mcp

messaging-mcp

List WhatsApp templates

list_whatsapp_templates
Read-onlyIdempotent

List approved WhatsApp Business message templates to message customers outside the 24-hour window; optionally include pending, rejected, or paused templates.

Instructions

List message templates of the WhatsApp Business Account (approved ones by default). Needed to message a customer outside the 24 hour window. Requires WHATSAPP_BUSINESS_ACCOUNT_ID.

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": "list_whatsapp_templates"
  }
}

Input Schema

NameRequiredDescriptionDefault
include_unapprovedNoAlso list pending, rejected and paused templates.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/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, so the safety profile is covered. The description adds two genuinely useful facts beyond them: the default approved-only filtering and the WHATSAPP_BUSINESS_ACCOUNT_ID prerequisite. It says nothing about result volume or return fields, so the added context is real but thin.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with purpose before rationale and prerequisite. No filler or repetition; every sentence contributes a distinct fact.

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 one-parameter, read-only listing tool with no output schema, the description covers purpose, default filtering, prerequisite configuration and the motivating use case. The only minor gap is what a returned template looks like (name, language, status), which would help an agent plan the follow-up send call.

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 coverage is 100% and the single parameter include_unapproved is already explained in the schema as also listing pending, rejected and paused templates. The description's 'approved ones by default' reinforces the default but adds no syntax or format detail beyond the schema, so baseline 3 applies.

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 (list WhatsApp message templates) and adds a scope qualifier (approved ones by default). It is trivially distinguishable from the sibling send_whatsapp_template, so an agent knows this is the read/discovery side of the template workflow.

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 concrete reason to call it: templates are needed to message a customer outside the 24 hour window, which implicitly routes agents away from free-form send_message in that scenario. It stops short of naming alternatives or stating when not to call it, so it falls just short of a 5.

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