Skip to main content
Glama

leave_group

Removes your account from a WhatsApp group using its chat ID or phone number. Requires confirm:true to execute the leave action.

Instructions

Leave a group (your account is removed from it). Requires confirm:true.

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

Input Schema

NameRequiredDescriptionDefault
chatYesChat: phone number like +911234567890, or a JID (…@s.whatsapp.net, …@g.us).
confirmNoMust be true to actually leave.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations at all, the description carries the entire burden of behavioral disclosure for a destructive membership mutation. It does disclose the core effect (account removal) and the confirm safety gate, but says nothing about required permissions, whether the user can rejoin, what happens if the caller isn't a member, or failure modes.

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?

Two short sentences with zero filler, and the effect and safety requirement are both front-loaded. The parenthetical clarification is slightly redundant with the verb but earns its place by spelling out the consequence.

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

Completeness3/5

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

For a two-parameter tool with a fully documented schema and no output schema, the description covers the essential action and its confirm gate, which is enough to call it correctly. It falls short of complete for a destructive tool with no annotations, since permissions, rejoin-ability, and error conditions are all 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 description coverage is 100%, so both the chat identifier format and the confirm boolean are already fully documented in the schema. The description restates the confirm requirement but adds no format or edge-case meaning beyond that, which is the expected baseline when the schema does the heavy lifting.

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 names a specific verb and resource ('Leave a group') and clarifies the effect in parentheses ('your account is removed from it'), leaving no ambiguity about what the call does. It does not contrast itself with siblings such as update_group or delete_group, but the verb is distinct enough that an agent won't confuse it with a settings mutation.

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?

The 'Requires confirm:true' clause signals that this is a deliberate, gated action rather than a casual call, which is useful usage guidance. However, it never states when to prefer this over other group tools or what preconditions (membership, admin role) must hold before calling it.

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