Skip to main content
Glama
razvangirgiz

wazap-mcp

by razvangirgiz

Manage a WhatsApp chat

manage_chat
Destructive

Archive, pin, mute, mark read/unread, pin/star messages, clear/delete chats, or block contacts on WhatsApp, with confirmation before applying.

Instructions

Change a chat on WhatsApp at once, with no draft: archive, pin, mute, mark_read or mark_unread; pin_message (for everyone) or star_message on a message_id; clear or delete it for the linked account; block a person. Say what will change and wait for a yes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
chat_idYesChat id, or a phone number
pin_hoursNopin_message: 168 by default
account_idNoAccount id
message_idNopin_message, star_message and their undo; in chat_id
mute_hoursNomute: 8 by default

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv1.0.3
    • changedInput schema / properties / account_id / description
      Previous value: -"Registry account id (default, work, …). Omit to resolve from chat_id or message_id, or the default account."New value: +"Account id"
    • removedInput schema / properties / action / description
      Removed value: -"What to do with the chat"
    • changedInput schema / properties / chat_id / description
      Previous value: -"Chat id as returned by another tool (\"<digits>@s.whatsapp.net\" or \"<id>@g.us\"), or a phone number in international format"New value: +"Chat id, or a phone number"
    • changedInput schema / properties / message_id / description
      Previous value: -"The message for pin_message, unpin_message, star_message and unstar_message; it must be in chat_id"New value: +"pin_message, star_message and their undo; in chat_id"
    • changedInput schema / properties / mute_hours / description
      Previous value: -"Hours to mute, default 8; only used by \"mute\""New value: +"mute: 8 by default"
    • changedInput schema / properties / pin_hours / description
      Previous value: -"How long pin_message keeps the message pinned: 24, 168 (default) or 720 hours"New value: +"pin_message: 168 by default"
  2. Changed3 schema fields changedv0.21.0
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "archive",
      -  "unarchive",
      -  "pin",
      -  "unpin",
      -  "mute",
      -  "unmute",
      -  "mark_read",
      -  "mark_unread"
      -]New value: +[
      +  "archive",
      +  "unarchive",
      +  "pin",
      +  "unpin",
      +  "mute",
      +  "unmute",
      +  "mark_read",
      +  "mark_unread",
      +  "pin_message",
      +  "unpin_message",
      +  "star_message",
      +  "unstar_message",
      +  "clear",
      +  "delete",
      +  "block",
      +  "unblock"
      +]
    • addedInput schema / properties / message_id
      Added value: +{
      +  "description": "The message for pin_message, unpin_message, star_message and unstar_message; it must be in chat_id",
      +  "minLength": 5,
      +  "type": "string"
      +}
    • addedInput schema / properties / pin_hours
      Added value: +{
      +  "description": "How long pin_message keeps the message pinned: 24, 168 (default) or 720 hours",
      +  "enum": [
      +    24,
      +    168,
      +    720
      +  ],
      +  "type": "number"
      +}
  3. Changed1 schema field changedv0.15.0
    • addedInput schema / properties / account_id
      Added value: +{
      +  "description": "Registry account id (default, work, …). Omit to resolve from chat_id or message_id, or the default account.",
      +  "minLength": 1,
      +  "type": "string"
      +}
  4. First observedv0.9.3

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already signal destructive and non-idempotent behavior, so the description's job is to add context. It adds meaningful behavioral detail: actions happen 'at once, with no draft', pin_message affects 'everyone', clear/delete is scoped to 'the linked account', and user confirmation is required before changes. These are useful traits not captured in structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single efficient sentence that front-loads the action list and ends with the critical confirmation instruction. There is no filler, though the phrase 'at once, with no draft' is slightly ambiguous and could have been clearer or omitted.

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?

For a multi-action, destructive tool with six parameters and no output schema, the description covers the key invocation context: what actions are available, the account scope, the need for message_id for certain operations, and the confirmation requirement. It does not describe return values or error behavior, but those are less critical given the schema already covers parameter details.

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 high (83%), so the schema already documents chat_id, account_id, message_id, pin_hours, and mute_hours. The description adds some semantic clarification — pin_message applies 'for everyone', star_message operates on a message_id, and clear/delete applies to the linked account — but does not deeply enrich the parameter understanding beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a specific verb ('Change a chat') and enumerates the concrete actions it performs (archive, pin, mute, mark_read, etc.), which is far more specific than the title alone. It doesn't explicitly contrast itself with sibling tools like send_message or manage_group, but the action list makes the resource and scope 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 gives clear context for when to use the tool: when a chat-level change is needed (archive, pin, mute, read state, message pin/star, clear/delete, block). It also includes an important process instruction — 'Say what will change and wait for a yes' — which tells the agent how to invoke it safely. It does not explicitly state when not to use it or point to alternatives, so it misses the top score.

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