Skip to main content
Glama

wa_chat_modify

Change a chat's state on the connected WhatsApp account: archive or unarchive, pin or unpin, mute for a set number of hours or unmute, and mark as read or unread by chat JID.

Instructions

Modify a chat from the connected account: archive/unarchive, pin/unpin the CHAT (chat list), mute (mute_hours, default 8) / unmute, mark read/unread..

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "jid": "<jid>",
      "action": "<action>"
    },
    "name": "wa_chat_modify"
  }
}

Input Schema

NameRequiredDescriptionDefault
jidYesChat/group JID
actionYes
mute_hoursNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses that operations apply to 'the connected account' and that mute defaults to 8 hours, but says nothing about reversibility, whether archive/mute affect notifications versus visibility, permission requirements, or confirmation behavior — significant gaps for a multi-action mutation tool.

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?

One front-loaded sentence with the verb and resource first, followed by a compact action enumeration — no wasted preamble. The trailing double period and slightly run-on enumeration list keep it from being maximally crisp.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter mutation tool with no annotations and no output schema, the definition covers what each action does but not what is returned, how failures surface (e.g., invalid JID), or whether operations are idempotent. It is adequate to select and invoke the tool but leaves meaningful behavioral questions open.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33%, yet the description compensates meaningfully: it ties 'mute_hours' specifically to the mute action and gives a default of 8 that the schema does not encode, and it clarifies that 'jid' is a chat or group. It does not state the unit/range of mute_hours or what happens if it is supplied with a non-mute action, leaving a small gap.

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 gives a specific verb ('Modify') and resource ('a chat from the connected account') and then enumerates every supported action, so an agent knows exactly what state changes the tool performs. The parenthetical '(chat list)' on pin/unpin usefully separates it from message-level pinning such as wa_pin_message, though no sibling is named explicitly.

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?

Usage is only implied through the action list: an agent can infer this is the tool for chat-level state changes, and the '(chat list)' note hints at the message-pin alternative. There is no explicit when-to-use/when-not guidance, no prerequisites, and no named alternatives.

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