Skip to main content
Glama

whatsapp_watch_presence

Watch a contact's presence for seconds (30–300, default 120) so their "typing…/recording…" reaches the realtime inbox. WhatsApp only delivers typing from contacts you subscribed to while you are "available", so this marks the account available while any watch is alive — and an available account stops push notifications on the paired phone. Renew (~every 60 s) only while someone has the conversation open; let it expire otherwise. Sends no message.

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": {
      "to": "<to>"
    },
    "name": "whatsapp_watch_presence"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
accountNo
secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations, which only declare this is a non-read-only, non-destructive, non-idempotent call. The description discloses the real side effect the agent must weigh — the account is marked available for the life of the watch, which suppresses push notifications on the paired phone — and notes that no message is sent. It does not say what happens on timeout or failure, so not a 5.

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 tight sentences, front-loaded with what the tool does and immediately followed by the operational caveat and renewal cadence. Nothing is repeated from the schema and no sentence is filler.

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 stateful side-effecting tool with no output schema and 0% parameter documentation, the description supplies the important missing context — availability side effect, push-notification impact, renewal policy, and no-message guarantee. It is only short of complete on parameter identity (`to`, `account`) and expiry/error behavior.

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 0%, so the description must carry the parameters. It covers `seconds` well (30–300 bounds, default 120, a bound the schema omits), but leaves `to` (JID vs. phone number?) and `account` (multi-account selector?) entirely unexplained.

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?

States a specific verb and resource — 'Watch a contact's presence' — plus the effect ('so their typing…/recording… reaches the realtime inbox') and the subscription window. It is clearly differentiated in behavior from the send-side siblings by the closing 'Sends no message', though no sibling is named outright.

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?

Gives concrete when/when-not guidance: renew roughly every 60 s only while someone has the conversation open, and let the watch expire otherwise. It also names the precondition (contact must have been subscribed while the account was 'available'). No alternative tool is explicitly named as the fallback, which keeps it short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.