Skip to main content
Glama
wsapi-chat

WSAPI WhatsApp MCP Server

whatsapp_update_group_requests

Idempotent

Approve or reject pending WhatsApp group join requests by participant JID. Approved users become participants immediately; admin rights required.

Instructions

Approve or reject pending join requests for a group, by user JID. Approved users become participants immediately. Requires admin rights. 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 declare readOnlyHint=false, destructiveHint=false, idempotentHint=true, and openWorldHint=true. The description adds key behavioral context beyond annotations: admin rights requirement, immediate participant effect, and a success confirmation return.

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 short sentences are front-loaded with purpose followed by effect, prerequisite, and return. Each sentence adds value without repetition or 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 the action, effect, permission requirement, and return confirmation. The schema handles parameters and annotations cover safety, so nothing critical 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 parameters id, action, and participants are fully documented in the schema. The description adds 'by user JID' and 'approve or reject' but does not extend parameter meaning beyond the schema.

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 states a specific verb (approve/reject), resource (pending join requests for a group), and scope (by user JID), distinguishing it from read-oriented siblings like whatsapp_get_group_requests and policy-oriented siblings like whatsapp_set_group_join_approval.

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?

It clearly indicates the context (pending join requests) and prerequisite (admin rights), but does not explicitly name alternatives or when not to use this tool, such as directing the agent to list requests first.

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