Skip to main content
Glama

List WhatsApp templates

list_whatsapp_templates
Read-onlyIdempotent

Lists WhatsApp templates for a number this account owns, plus open drafts. Each template includes Approved, Pending, or Rejected and the reason when it was rejected.

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": {
      "did_id": "<did_id>"
    },
    "name": "list_whatsapp_templates"
  }
}

Input Schema

NameRequiredDescriptionDefault
did_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral detail: results include Approved/Pending/Rejected status and the rejection reason, and open drafts are included alongside submitted templates. Minor gap is that pagination and ordering are unstated.

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?

Two sentences, no filler, with the scope constraint and the returned fields front-loaded. Every clause carries information an agent needs before calling.

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 single-parameter read-only listing tool with no output schema, the description covers what is returned (templates, statuses, rejection reason, open drafts) sufficiently. The remaining gap is the format and origin of did_id, which neither the schema nor the description resolves.

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?

The single parameter did_id has 0% schema description coverage, so the description must carry the semantics. It only implies that the value identifies 'a number this account owns'; it never says whether this is an internal DID id or a phone number, nor where to obtain it (e.g., list_did_numbers).

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?

The description names a specific verb and resource ('Lists WhatsApp templates'), states the scope ('for a number this account owns') and an extra inclusion ('plus open drafts'). It stops short of naming the sibling tools it complements, such as get_whatsapp_template_status, draft_whatsapp_template, and submit_whatsapp_template, so an agent must infer the boundary from names alone.

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

Usage Guidelines3/5

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

Usage is implied by 'lists ... plus open drafts' – an agent can infer this is a discovery step before revise_whatsapp_template or submit_whatsapp_template. However, there is no explicit when-to-use statement and no routing away from the closely related get_whatsapp_template_status, which also returns template state.

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.