Skip to main content
Glama

Delete Group

wa_delete_group
Destructive

Delete a WhatsApp group: remove every other member and then leave. The account must be a group admin. WhatsApp has no true group-delete, so this empties the group and exits it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
group_jidYesthe group (…@g.us) JID to delete, as returned by wa_list_groups
account_idYesthe account, as returned by wa_list_accounts

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsNothe rows of a list operation
statusYesok (the operation succeeded) or refused (nothing was done)
refusalNopresent only when status is refused
summaryNoa human-readable result
group_jidNothe new group's JID (wa_create_group only) — use it as wa_send_message's 'to'
invite_linkNothe group's invite link (wa_create_group or wa_get_group_invite_link)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=false), the description discloses important behavioral details: it removes every other member, leaves the group, requires admin privileges, and explains the platform limitation behind this approach. This is exactly the kind of context an agent needs to anticipate side effects.

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 tight sentences with the action front-loaded, followed by the operational mechanics and a necessary caveat. Every sentence contributes information; there is no padding.

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 destructive and idempotency annotations plus an output schema already provided, the description covers the non-obvious aspects: admin requirement, member removal, and the leave step. It could additionally note irreversibility or member notifications, but these are minor given the existing annotations and output schema.

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 the schema already provides provenance hints ('as returned by wa_list_groups', 'as returned by wa_list_accounts'). The tool description adds no parameter-level meaning, so the baseline of 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 opens with a specific verb and resource ('Delete a WhatsApp group') and precisely defines what that means in WhatsApp terms: remove every other member and leave. This distinguishes it clearly from sibling tools like wa_delete_message and wa_delete_webhook, which operate on different resources.

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?

The description clearly communicates the context for use: the account must be a group admin, and because WhatsApp has no true group-delete, this tool's approach is to empty and exit. It does not explicitly contrast with alternatives like wa_remove_participants or wa_leave_chat, but the intended use is unmistakable.

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