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

@omnidim-ai/mcp-server

by Omnidim

deleteWhatsappTemplate

Destructive

Deletes one language version of a WhatsApp template from your workspace so post-call actions stop sending it; delete any campaign using it first, and note this cannot be undone.

Instructions

Delete one template from WhatsApp and from your list.

It deletes only that language of the template. A post-call action that uses it stops sending it. A template that a campaign uses is not deleted: delete the campaign first. This cannot be undone, so confirm with the user 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>",
      "template_id": "<template_id>"
    },
    "name": "deleteWhatsappTemplate"
  }
}

Input Schema

NameRequiredDescriptionDefault
number_idYesId of a WhatsApp number in your workspace, from [listWhatsappNumbers](/docs/api-reference/whatsapp/listWhatsappNumbers). A number in another workspace answers `404`.
template_idYesThe template's `id` from `listWhatsappTemplates`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.26.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, and the description adds real value on top: irreversibility, the required user confirmation, the cascade effect on post-call actions, and the campaign-usage guard. These are exactly the behavioral traits an agent needs before firing a destructive call.

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?

Front-loaded and ordered sensibly: action, scope, side effects, blocking condition, risk, confirmation. Minor clutter from the trailing "(Tags: WhatsApp)" and hard line wraps, but no sentence is wasted.

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 two-required-parameter destructive tool with no output schema, everything needed is present: cascade effects, blocking prerequisites, irreversibility, and human confirmation. Annotations carry the safety flags and the schema carries parameter details, so the description has no remaining gap.

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 coverage is 100%, so baseline is 3; the description adds a meaningful semantic point the schema does not make explicit — that template_id identifies one language variant, so only that language is removed. It adds no extra detail on number_id, which the schema already explains 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?

Specific verb + resource ("Delete one template from WhatsApp and from your list") and it immediately narrows scope with "It deletes only that language of the template," which distinguishes it from any bulk/sync-style sibling. An agent can tell exactly what object is removed without opening the 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 an explicit blocking condition (a template used by a campaign is not deleted — delete the campaign first) and a downstream consequence (post-call actions stop sending it), plus a confirmation requirement. It stops short of naming a specific alternative tool to use in the blocked case, so routing is implied rather than stated.

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