Skip to main content
Glama

group_participants

Add, remove, promote, or demote participants in a WhatsApp group. Require confirmation for removal or role changes to avoid accidental admin actions.

Instructions

Add, remove, promote or demote group participants (admin rights required for most actions).

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>",
      "action": "<action>",
      "phones": "<phones>"
    },
    "name": "group_participants"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatYesChat: phone number like +911234567890, or a JID (…@s.whatsapp.net, …@g.us).
actionYesWhat to do with the listed participants.
phonesYesParticipant phone numbers (or user JIDs).
confirmNoMust be true for remove/promote/demote.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the admin-rights requirement, which goes beyond the schema. It says nothing about irreversibility of remove/demote, rate limits, or what happens if a phone number is not a group member, so the mutation profile is only partially covered.

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?

A single sentence packs the four verbs, the resource, and the key prerequisite in that order, with zero filler. Nothing could be removed without losing information.

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 four-parameter mutation tool with no annotations and no output schema, the description covers the core operation and the permission caveat but omits the confirmation requirement, failure modes for non-members, and any notion of the result. It is adequate but leaves real gaps an agent must fill from the schema alone.

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 description coverage is 100%, so all four parameters are already documented including the confirm flag and chat/JID formats, establishing a baseline of 3. The description adds a small amount by framing which actions are privileged, but it does not explain the mandatory confirm=true coupling for remove/promote/demote that the schema states.

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 resource (group participants) and enumerates the four operations that map one-to-one onto the action enum, so an agent knows exactly what the tool does. It stops short of contrasting itself with siblings like update_group or create_group, which is the only thing keeping it from a 5.

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?

It supplies one concrete precondition — admin rights are required for most actions — which is genuinely useful for deciding whether to attempt the call. However, it gives no guidance on when to prefer this over update_group, nor on what distinguishes 'most actions' from the exception (presumably add), leaving the boundary implicit.

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