Skip to main content
Glama

whatsapp_template_update

Idempotent

Update a WhatsApp template's components and/or message_send_ttl_seconds. Editing components sends the template back through Meta review (status returns to PENDING). At least one of components / message_send_ttl_seconds is required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languageNoTemplate language code, e.g. en_US
componentsNoFull replacement component list in Meta's shape
profile_idYesProfile hashid of a whatsapp profile (the WhatsApp Business Account)
template_idYesTemplate hashid, Meta template id, or template name (pass language when the name exists in several languages)
message_send_ttl_secondsNoNew TTL in seconds within the category range (-1 not allowed on update)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

The description adds crucial behavioral context beyond annotations: editing components sends the template back through Meta review and changes status to PENDING. This is a significant side effect not captured by the annotations (which only declare idempotentHint and destructiveHint=false). The constraint about at least one parameter being required also adds a precondition.

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?

The description is three concise sentences that are front-loaded with the core purpose and constraints. Every sentence adds value: the first defines the action, the second explains a critical consequence, and the third states a requirement.

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?

Given no output schema, the description is mostly complete: it states the action, side effect, and prerequisite. However, it could mention permission requirements or what happens to fields not provided (e.g., if only TTL is updated, components remain unchanged). Still, it covers the essentials for a mutation tool.

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%, so the schema already documents all parameters. The description mentions components and message_send_ttl_seconds but doesn't add detailed semantics like format for components or valid TTL ranges beyond what the schema provides. Baseline 3 is appropriate.

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 clearly states a specific verb (update) and resource (a WhatsApp template's components and/or message_send_ttl_seconds). It distinguishes the two updateable entities and explicitly names the affected fields, allowing an agent to differentiate it from siblings like whatsapp_template_create or whatsapp_template_get.

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?

It provides a constraint (at least one of components / message_send_ttl_seconds is required), which gives some guidance on when the tool is applicable. However, it doesn't explicitly state when to choose this tool over siblings like whatsapp_template_create or what scenarios would alternatively require deletion/recreation.

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.