Skip to main content
Glama

List templates

flow_list_templates
Read-only

Message templates of a channel with their status, sender and variables. Only LIVE templates can be sent. A WhatsApp template's variables name each value a send fills in (source contact, fallback, or send for an authentication code); a carousel is listed with its card count, flow_get_template shows the cards.

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": {
      "channel": "<channel>"
    },
    "name": "flow_list_templates"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page number
statusNo
channelYes
archivedNoArchived templates instead of current ones; an archived template is never sent
pageSizeNoRows per page, 1 to 50
senderIdNoOnly templates of this sender (ids from flow_list_senders)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With readOnlyHint/openWorldHint already declaring the safety profile, the description adds substantive domain behavior: only LIVE templates are sendable, and archived templates are never sent. It also explains the semantics of template variables (source contact, fallback, or send for an authentication code) and how carousels are represented, which the annotations do not cover. Pagination and result-size behavior are left to the schema defaults.

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 dense sentences with no filler; the resource and its returned fields are front-loaded, followed by behavior and then the sibling routing hint. The middle sentence on variable semantics is long but each clause carries distinct information.

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?

There is no output schema, so the description's enumeration of returned fields (status, sender, variables, card count) carries real weight and covers most of what an agent needs. Missing pieces are minor: how paging behaves in practice and whether the status filter accepts multiple values, both partly inferable from the schema.

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 67%, leaving channel and status enums undescribed in the schema; the description compensates by explaining that LIVE is the sendable status and that listing is per-channel. It reinforces senderId's link to flow_list_senders indirectly and clarifies what 'variables' in results represent. The page/pageSize and archived semantics are largely already in the schema, so credit here is partial.

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 resource and its scope ('Message templates of a channel') and enumerates what comes back (status, sender, variables), which separates it from generic listers. It also points to flow_get_template for carousel card detail, so the agent can distinguish the two without opening a schema. It stops short of a clean verb-first statement of intent, relying on the noun phrase plus surrounding sentences.

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 real selection context: 'Only LIVE templates can be sent' tells the agent why to filter on status, and the closing clause routes card-level inspection to flow_get_template. There is no explicit when-not guidance (e.g., versus flow_list_senders for sender discovery) and no mention of paging through large result sets.

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