Skip to main content
Glama
wsapi-chat

WSAPI WhatsApp MCP Server

whatsapp_update_group_participants

DestructiveIdempotent

Add, remove, promote, or demote WhatsApp group participants by user JID. Requires admin rights; verify membership after adds because privacy settings can block them.

Instructions

Add, remove, promote to admin or demote participants of a group, by user JID. Requires admin rights. Removed participants lose access and everyone affected is notified. Some adds can fail silently because of the invitee's privacy settings, so check with whatsapp_get_group_participants. Returns a success confirmation.

Input Schema

NameRequiredDescriptionDefault
idYesGroup JID
actionYesAction to perform
participantsYesParticipant JIDs

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint, idempotentHint and openWorldHint, yet the description adds substantive context: admin rights needed, removed users lose access, affected parties are notified, silent add failures from privacy settings, and a success confirmation return. This goes well beyond the structured hints.

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?

Four tightly packed sentences, front-loaded with the operation and scope, then permissions, side effects, edge cases, and return value. No filler.

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 mutation tool with no output schema, the description covers permissions, side effects on removed members, notification behavior, failure modes, and the return shape. Nothing an agent needs to call it safely is missing.

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 the schema already documents id, action (with enum) and participants. The description only adds 'by user JID' for addressing, which is marginal over the schema. Baseline 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?

States a specific set of verbs (add, remove, promote, demote) on a specific resource (group participants) and identifies the addressing scheme (user JID). This cleanly distinguishes it from siblings like whatsapp_update_community_participants or whatsapp_get_group_participants.

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 a prerequisite (requires admin rights) and an explicit verification workflow — consult whatsapp_get_group_participants because adds may fail silently. It does not name when to avoid this tool or spell out alternatives (e.g. leave_group), but the operational guidance is clear.

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