Skip to main content
Glama
@omnidim-ai/mcp-server

@omnidim-ai/mcp-server

by Omnidim

listWhatsappTemplates

Read-only

Retrieve a WhatsApp number's message templates, oldest first, and filter by review status such as approved to see which templates a send accepts. If expected templates are missing, sync them first.

Instructions

List the number's message templates, as last synced, oldest first.

Pass status=approved to see exactly the templates a send accepts. If a template you expect is missing, run syncWhatsappTemplates first.

(Tags: WhatsApp)

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": {
      "number_id": "<number_id>"
    },
    "name": "listWhatsappTemplates"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows per page.
cursorNoThe `next_cursor` from the previous page.
statusNoShow only templates with this review status, such as `approved`, `pending` or `rejected`. Lower-case; omit it for all.
number_idYesId of a WhatsApp number in your workspace, from [listWhatsappNumbers](/docs/api-reference/whatsapp/listWhatsappNumbers). A number in another workspace answers `404`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds genuinely new behavior: results reflect the last sync rather than live upstream state, and rows come back oldest first. It stops short of describing response shape or pagination mechanics, though cursor/limit in the schema imply the pattern.

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, zero filler, with the per-number and staleness qualifiers front-loaded in the opening line and the actionable guidance after. The trailing "(Tags: WhatsApp)" is a low-cost grouping marker rather than prose bloat.

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?

Covers what a caller needs to pick the tool, filter it, and recover from a stale-data surprise. With no output schema, the description would ideally hint at what a template record contains, but the essential call-and-interpret information is present.

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 description coverage is 100%, so the baseline would be 3; the description earns a bump by giving `status` operational meaning beyond the schema's enumeration — that `approved` is precisely the set a send operation accepts. It adds nothing further for `limit`, `cursor`, or `number_id`, which the schema already handles well.

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 the number's message templates") plus scope-defining qualifiers: per-number, "as last synced," and ordering "oldest first." The staleness phrasing also implicitly separates it from the sibling syncWhatsappTemplates, so an agent can tell which one it is looking at.

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

Usage Guidelines5/5

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

Gives an explicit conditional for the most common intent ("Pass `status=approved` to see exactly the templates a send accepts") and a concrete remediation path naming an alternative tool ("If a template you expect is missing, run `syncWhatsappTemplates` first"). Both a when-to-use and a when-to-use-something-else are present.

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

Deploy Server

Other Tools