Skip to main content
Glama

wa_group_ephemeral

Configure disappearing messages for a WhatsApp group by setting expiration_seconds; use 0 to disable, 86400 for 24 hours, 604800 for 7 days, or 7776000 for 90 days.

Instructions

Set disappearing messages for a group: expiration_seconds 0 = off, 86400 = 24 hours, 604800 = 7 days, 7776000 = 90 days.

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": {
      "group_jid": "<group_jid>",
      "expiration_seconds": "<expiration_seconds>"
    },
    "name": "wa_group_ephemeral"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_jidYes
expiration_secondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description bears the full disclosure burden. It usefully discloses the value semantics of expiration_seconds, including that 0 disables the feature and the specific second values map to 24h/7d/90d, but it omits whether admin permission is required, whether existing messages are affected, and what happens on invalid values.

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?

A single sentence that front-loads the action and then delivers the value mapping with zero filler. Every clause earns its place.

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 two-parameter mutation tool with no annotations and no output schema, the description covers the tricky parameter well but leaves out permission requirements and the result of the operation. It is adequate but has clear gaps for a state-changing call.

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 0%, so the description must compensate; it does so thoroughly for expiration_seconds by enumerating the accepted values and their meaning. group_jid receives no explanation beyond its name, which is the only remaining 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 opens with a specific verb and resource ("Set disappearing messages for a group"), which is unambiguous. It does not explicitly differentiate itself from nearby siblings such as wa_group_settings or wa_chat_modify, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of prerequisites such as admin rights in the group, and no reference to any alternative tool for related group settings. The sentence only implies that the tool applies to groups.

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