Skip to main content
Glama

Create Group

wa_create_group

Create a WhatsApp group with a name and initial members from one of your accounts. Returns the new group's JID (use it as wa_send_message's 'to') and an invite link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesthe group name (max 25 characters)
membersNoinitial members — phone numbers (E.164) or JIDs, comma- or space-separated; do NOT include your own number
account_idYesthe account to create the group from, 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
Behavior4/5

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

Annotations already declare this a mutation (readOnlyHint=false) that is neither idempotent nor destructive, and the description's 'Create' wording is consistent with them. The description adds value by disclosing the operation's outcome — the new group's JID and an invite link — and, more usefully, plumbing that JID into wa_send_message's 'to' parameter. No contradiction exists between description and annotations.

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 totaling roughly 30 words, with the core purpose front-loaded in sentence one and the return-value usage in sentence two. There is no filler, no restatement of the tool name, and no redundant echo of the schema's parameter details.

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?

The output schema exists, so return semantics do not need to be re-explained; the description's mention of the JID and invite link plus the wa_send_message plumbing is a bonus. Combined with 100% parameter documentation and mutation annotations, an agent has everything needed to invoke it correctly. The only notable absence is explicit sibling routing, which belongs to usage_guidelines rather than completeness.

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 baseline is 3; the schema itself documents max 25 characters for name, E.164/JID formats and the 'do NOT include your own number' caveat for members, and account_id's provenance via wa_list_accounts. The description's 'name and initial members' only echoes the schema and adds no new parameter meaning. No compensation above baseline is needed.

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 opens with the verb 'Create' tied to a precise resource — 'a WhatsApp group with a name and initial members from one of your accounts' — which clearly separates it from siblings like wa_join_group (joining an existing group) and wa_add_participants (modifying an existing group). The 'from one of your accounts' scope removes ambiguity about whose group is being created.

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 purpose sentence conveys clear context: this is for creating a new group with initial members from the agent's own account, and the phrase 'initial members' implies that later membership changes belong to wa_add_participants/wa_remove_participants. However, no alternative tool is ever named, and there is no when-not-to-use guidance despite roughly eight closely related group siblings. The JID follow-up tip ('use it as wa_send_message's to') does provide some downstream usage direction.

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