Skip to main content
Glama
Meta Business Messaging

Meta Business Messaging

whatsapp_delete_template

Delete a WhatsApp message template by name from a specified WhatsApp Business Account, removing outdated templates so messaging workflows stay accurate.

Instructions

Delete a message template by name.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
waba_idNoWhatsApp Business Account ID (falls back to WHATSAPP_BUSINESS_ACCOUNT_ID env)
access_tokenNoOptional override for the access token (falls back to WHATSAPP_ACCESS_TOKEN env)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a destructive mutation but does not disclose irreversibility, required permissions, side effects on templates already in use, or error behavior.

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 definition is a single front-loaded sentence with no wasted wording. It states the action and resource immediately.

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

Completeness2/5

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

For a destructive mutation tool with no annotations and no output schema, the description is too thin. It omits permission requirements, irreversibility, and expected effects, leaving important invocation context unstated.

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 coverage is 67%, with waba_id and access_token documented in the schema but name lacking a description. The phrase 'by name' clarifies that the required name parameter identifies the template, but it does not explain format, uniqueness, or lookup behavior.

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 gives a specific verb and resource: delete a message template. It also says the template is identified by name. It is clear enough to distinguish from sibling create/send/list operations, though it does not explicitly name or differentiate alternatives.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives, prerequisites, or when deletion should not be performed. The only contextual cue is that deletion is by template name.

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