Skip to main content
Glama

WhatsApp Agent: WhatsApp Team Inbox & CRM

Open a chat

whatsapp-open-chat
Read-only

One chat in full: its card, the last three messages (agent marks anything Calypso sent by itself, a reply or an out-of-hours message), its open follow-ups, and WhatsApp's 24-hour reply window (reply_window: whether it applies to this chat's line, whether it is still open, and when it closes). Use it for questions about a single customer, and to say whether the team can still reply freely.

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": {
      "chat": "<chat>"
    },
    "name": "whatsapp-open-chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatYesThe chat's id: the `chat` value of a card from whatsapp-list-chats or whatsapp-find-chat. Never a name or a guess.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already declare a safe read (readOnlyHint=true, destructiveHint=false, openWorldHint=false), and the description adds genuine value on top by disclosing what the payload contains and how to read it: the `agent` marker semantics and the `reply_window` subfields (applies, still open, closing time). It doesn't mention error behavior for an invalid id or confirm that older history is unavailable beyond the three messages, which keeps it below 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.

Conciseness4/5

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

Two sentences, front-loaded with the returned content and followed by the usage condition; every clause carries information. The nested parentheticals around `agent` and `reply_window` make it dense but not wasteful.

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?

With no output schema, the description carries the burden of explaining return values and does so in detail, including field-level semantics. For a one-parameter read tool it is nearly complete, missing only notes on error handling and whether the three-message limit is fixed.

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% and the schema itself already explains that `chat` is the id from a card and 'never a name or a guess.' The description adds no additional meaning about the parameter, so the baseline 3 applies.

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?

The description states a specific resource ('One chat in full') and enumerates exactly what is returned: the card, the last three messages, open follow-ups, and the reply window. It also disambiguates the ambiguous 'open' in the name/title by making clear this is a read that gathers one chat's detail, not a state-changing action.

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?

It gives an explicit use case ('questions about a single customer' and 'say whether the team can still reply freely'), which is clear guidance. It does not explicitly name an alternative or exclusion (e.g., 'use whatsapp-find-chat instead when you only need the id'), so it stops short of full when/when-not routing.

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.