Skip to main content
Glama

wa_group_participants

Add, remove, promote, or demote WhatsApp group participants; requires an admin-connected number and returns per-participant status codes.

Instructions

Add, remove, promote or demote group participants. The connected number must be a group admin. Returns the per-participant status codes from 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": {
      "group_jid": "<group_jid>",
      "action": "<action>",
      "participants": "<participants>"
    },
    "name": "wa_group_participants"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
group_jidYes
participantsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations, so the description carries the full burden; it does disclose the admin prerequisite and that the response contains per-participant status codes, hinting at partial-success semantics. It does not say what individual status codes mean, whether operations are atomic, or what happens when a participant is invalid or already in the requested state.

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?

Two short sentences, front-loaded with the operation set and followed by the decisive precondition and return-value note; nothing is padded or repeated.

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 mutation tool with no annotations and no output schema, the description supplies the key operational facts (admin requirement, return shape) but leaves failure modes and JID/participant formats unexplained, which matters for a call that can partially fail across up to 100 participants.

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 0% for 3 parameters; the description's four verbs effectively explain the action enum, but it never describes the group_jid format (JID string) or the participants array entries and their 100-item cap, which the schema states only structurally.

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 specific verbs (add, remove, promote, demote) against a specific resource (group participants), which maps cleanly onto the action enum and separates it from siblings like wa_group_metadata or wa_group_requests.

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 concrete precondition — the connected number must be a group admin — which tells the agent when the call will succeed. It stops short of naming alternatives such as wa_group_requests for pending joins or wa_group_join for joining, so routing between participant-related tools is left to inference.

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