Skip to main content
Glama

Add Participants

wa_add_participants

Add members to a WhatsApp group by phone number or JID. The account must be a member (and, for private groups, an admin).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
membersYesmembers — phone numbers (E.164) or JIDs, comma- or space-separated
group_jidYesthe group (…@g.us) JID, 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/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, so the agent knows this is a mutating, non-idempotent operation. The description adds the membership/admin prerequisite, which is behavioral context beyond annotations. However, it does not disclose side effects (e.g., notifications to added members), error conditions, or any rate limits. The addition is useful but limited.

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 sentences, front-loaded with the primary action, followed by a key constraint. No fluff or repetition. Every word earns its place.

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?

Given the tool's moderate complexity, complete schema (100% coverage), output schema present, and annotations covering mutation, the description is adequate. It includes the essential prerequisite for successful invocation. It could optionally mention what happens on failure or whether adding members triggers notifications, but those are not critical for a correct call. The description covers the essential information.

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%, with all three parameters already documented (phone numbers/JIDs format, group JID reference, account reference). The description does not add new semantic meaning about parameters beyond what the schema provides. It does clarify the member format ('by phone number or JID') but that is already in the schema description. Baseline 3 applies.

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 clearly states the action: 'Add members to a WhatsApp group by phone number or JID.' This is a specific verb-resource pair that distinguishes it from siblings like wa_remove_participants or wa_promote_participants. The purpose is unambiguous.

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 provides a clear prerequisite: 'The account must be a member (and, for private groups, an admin).' This tells the agent when the tool can be used. However, it does not explicitly name alternatives or say when NOT to use it, though the distinction from removal/promotion is implicit. The prerequisite is valuable but could go further in routing.

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