Skip to main content
Glama

List message templates

list_templates
Read-only

List the message templates on this number's WhatsApp Business Account with their review status. In coexistence, templates can ONLY be sent via the API — the phone app cannot send them.

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": {
      "connection_id": "<connection_id>"
    },
    "name": "list_templates"
  }
}

Input Schema

NameRequiredDescriptionDefault
connection_idYesFrom list_numbers

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already establish that this is a read-only, non-destructive operation. The description adds useful context that results include review status and that coexistence templates can only be sent via the API, but it does not describe pagination, ordering, authentication requirements, or other listing behavior.

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?

The description is front-loaded and concise, with the core listing purpose in the first sentence. The second sentence about coexistence sending restrictions is relevant context for templates generally but is somewhat tangential to a listing tool.

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?

For a simple read-only list tool with one required parameter and no output schema, the description covers the resource, scope, and review status in results. However, it omits details such as pagination, ordering, and whether archived or all templates are returned, which are useful for a listing operation.

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?

The single parameter is fully documented in the schema as connection_id 'From list_numbers'. The description adds no additional meaning about this parameter, so the baseline of 3 applies when schema coverage is 100%.

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 states a specific verb and resource ('List the message templates') plus a clear scope ('on this number's WhatsApp Business Account') and return content ('with their review status'). This distinguishes it from sibling tools such as create_template without requiring schema inspection.

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 only implied: an agent can infer it should call this to inspect templates and their statuses. The description does not explicitly say when to use this tool versus alternatives like create_template or get/list-related tools, and the coexistence note concerns sending templates rather than listing them.

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