Skip to main content
Glama

Get a WhatsApp template

get_whatsapp_template
Read-onlyIdempotent

Get a WhatsApp template

One language version of a template, as listWhatsAppTemplates shows it, read live from Meta: how a new or edited template's review is followed (status, rejected_reason). It finds templates among the first 100 the list reads. It shares the templates' budget of 10 requests a minute per key, so check a review every few minutes, not every second.

Input Schema

NameRequiredDescriptionDefault
agent_idYesThe agent the resource belongs to. Another company's agent, or the nil UUID, is `404 agent_not_found`; an agent outside the key's agent list is `403 agent_not_authorized`.
template_idYesA template's `id` from `listWhatsAppTemplates`: one language version. One that isn't among the number's templates is `404 not_found`.
connection_idYesA connection of the agent. Another agent's connection is `404 not_found`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (readOnly/idempotent/non-destructive), it discloses three concrete traits: data is read live from Meta, it is limited to templates among the 'first 100 the list reads,' and it shares a budget of 10 requests/minute per key. These constraints materially affect how an agent should call it.

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?

Purpose and scope are front-loaded, and the sentences carry useful density without padding. Slightly information-dense in the second sentence, but nothing is wasted.

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?

With annotations covering the safety profile, full schema coverage, and no output schema, the description supplies the remaining behavioral gaps (freshness, cap, rate limit). It is essentially complete for an agent to invoke correctly.

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 description coverage is 100%, and each parameter already documents its format and failure modes (404/403 errors). The description adds no parameter-level semantics beyond what the schema provides, so the baseline of 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 (Get) and resource (a WhatsApp template), and immediately scopes it as 'One language version of a template, as listWhatsAppTemplates shows it,' which distinguishes it from the list sibling without opening either schema.

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 clear use case ('how a new or edited template's review is followed') and references the list tool as the source of the ID, plus practical cadence advice ('check a review every few minutes, not every second'). It stops short of an explicit when-not-to-use statement but the context is unambiguous.

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