Skip to main content
Glama
wsapi-chat

WSAPI WhatsApp MCP Server

whatsapp_get_chat

Read-only

Fetch a single WhatsApp chat by JID to view its name, unread status, mute, pin, archive, and disappearing timer settings. Read-only; returns the chat object.

Instructions

Get the details of one chat by its JID: name, unread state, and settings such as mute, pin, archive and disappearing timer. Read-only. Returns the chat object.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatIdYesChat JID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.0
    • changedInput schema / properties / chatId / description
      Previous value: -"Chat ID"New value: +"Chat JID"
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so 'Read-only' is redundant. The description adds that it returns the chat object and enumerates fields like mute, pin, archive, and disappearing timer, which is useful context, but does not cover error behavior, auth needs, or rate limits.

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?

Two tight sentences: the first front-loads purpose and key returned fields, the second adds read-only status and return shape. No wasted words.

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 simple read-only getter with one documented parameter and annotations covering safety, the description gives enough: what it returns and the main fields. It could be slightly more complete by noting error behavior for an invalid JID, but no output schema exists so explaining the return object is helpful.

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 coverage is 100% and the only parameter chatId is documented as 'Chat JID'. The description restates 'by its JID' but adds no syntax or format detail beyond the schema, so the baseline of 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?

States a specific verb and resource: get details of one chat by JID. The phrase 'one chat' distinguishes it from the sibling whatsapp_get_chats, which lists multiple chats, and the field list names what is retrieved.

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?

Implies usage by requiring a single JID and being read-only, but does not explicitly say when to choose this over alternatives such as whatsapp_get_chats or when not to use it. No exclusions or prerequisites are stated.

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

Deploy Server

Other Tools