Skip to main content
Glama
hermoso-ai

Hermoso

Official

Delete a WhatsApp message template

delete_whatsapp_template
Destructive

Permanently delete a WhatsApp message template by first previewing what would be removed, then confirming with the exact template name to erase all language versions.

Instructions

PERMANENTLY delete a WhatsApp message template. META DELETES EVERY LANGUAGE OF A NAME AT ONCE, which is a wider blast radius than most callers picture, so call it WITHOUT confirm first: nothing is deleted and it reports exactly how many templates and which languages would go. Then show the user that, get an unambiguous yes, and call again with confirm:true AND confirmName set to the template’s exact name — confirming that you meant to delete SOMETHING does not prove you aimed at the right template. Any message sent against a deleted template afterwards is refused. The answer is a RE-READ from Meta, never the 200: if the template still comes back it is reported as not deleted. 0 credits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesthe template name (Meta matches it exactly)
wabaIdNothe WhatsApp Business Account id. Optional when exactly one is shared with this brand; an account that is not shared is refused by name
confirmNoREQUIRED true to actually delete — deletion is permanent and covers every language
confirmNameNothe template’s exact name, echoed back — required alongside confirm
Behavior5/5

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

Annotations already mark this as destructive, but the description adds critical specifics: deletion is permanent, covers every language, causes refusal of subsequent sends, and the response must be a re-read from Meta rather than the 200. It also notes the credit cost, all valuable beyond the raw flags.

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?

Every sentence carries essential information. The most critical warning (permanence and blast radius) is front-loaded, and the confirmation flow is described in a logical order without repetition. It is dense but efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive operation, it covers all necessary context: the permanent deletion, the multi-language scope, the required confirmation flow, the post-deletion behavior, and the verification method. No output schema exists, but the description explains what to expect. Nothing an agent needs to safely call this tool is missing.

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?

The schema already describes all four parameters with 100% coverage. The description adds the rationale for confirmName (proving you aimed at the right template) and the distinction between confirming action vs. confirming target, which is not in the schema. This adds meaningful context, though the schema already covers the basics.

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 the exact verb 'delete' and resource 'WhatsApp message template', and the permanent nature is immediately clear. It distinguishes from other delete tools by the specific resource and the confirmation flow.

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?

It provides explicit step-by-step guidance: call without confirm first to preview, get user approval, then call with confirm true and confirmName. It also warns about the multi-language blast radius and how to handle the response, leaving no ambiguity about when and how to use the tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hermoso-ai/hermoso'

If you have feedback or need assistance with the MCP directory API, please join our Discord server