Skip to main content
Glama
wsapi-chat

WSAPI WhatsApp MCP Server

whatsapp_reset_community_invite_link

DestructiveIdempotent

Revoke a community invite link and generate a replacement, causing the old link to stop working immediately. Requires admin rights and returns the new link.

Instructions

Revoke a community's invite link and create a new one. The old link stops working immediately. Requires admin rights. Returns the new link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesCommunity JID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A3.7/5.0
Behavior1/5

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

The description implies non-idempotent behavior: each call creates a new link and returns it, so repeated calls produce different results. This directly contradicts the annotation idempotentHint=true. Although it adds useful context (old link stops working immediately, admin required, returns new link), the contradiction forces a 1 per the rules.

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, each front-loaded with essential information: action, immediate consequence, prerequisite, and return value. No waste.

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?

Given the low complexity (one parameter, no output schema) and existing annotations, the description covers the key points an agent needs: purpose, destructive effect, auth requirement, and return value.

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 single parameter (id) is already documented as 'Community JID'. The description does not add any further parameter-level meaning, making the baseline of 3 appropriate.

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?

Specifies the exact verb (revoke) and resource (community's invite link) and the resulting action (create a new one). It clearly distinguishes from sibling tools like whatsapp_get_community_invite_link (retrieval) and whatsapp_reset_group_invite_link (group scope).

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?

States the core operation and prerequisite (requires admin rights), giving clear context for when to use it. However, it does not explicitly name alternatives such as retrieving the link without resetting or contrast with the group-level sibling.

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