Skip to main content
Glama

Read unread chats and messages

whatsapp_read_unread

List WhatsApp chats with unread messages and return recent incoming messages for each, with optional limits on chats and messages per chat.

Instructions

List chats with unread messages (unreadCount from WhatsApp) plus the most recent incoming messages seen for each.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "whatsapp_read_unread"
  }
}

Input Schema

NameRequiredDescriptionDefault
per_chatNoMessages to include per chat (default 5)
max_chatsNoMax chats (default 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does add real context: unreadCount originates from WhatsApp itself, and only incoming messages are returned, not outgoing ones. However, the critical behavioral question for a read tool in this sibling set, whether reading affects read state or read receipts, is never addressed, and there is no note on ordering, pagination, or empty-result behavior.

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 front-loaded sentence with no filler; the scope qualifier ('unread') and the payload description both appear immediately. Every clause contributes information.

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 two-parameter, non-mutating listing tool with no output schema and full schema coverage, the description is nearly sufficient: it says what is listed and what is included per chat. The one meaningful omission is whether this operation is side-effect free with respect to unread state, which matters given the presence of mark_read siblings.

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%, so per_chat and max_chats are already fully documented with defaults and bounds in the schema. The description adds nothing about them, which is acceptable given the schema does the work, but it also doesn't clarify what per_chat counts (incoming only, per the first sentence) in relation to the parameters.

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 states a specific verb and resource ('List chats with unread messages') plus what payload comes back ('most recent incoming messages seen for each'), which clearly separates it from a plain chat listing. It stops short of naming a sibling such as whatsapp_list_chats or whatsapp_read_chat as the alternative, so differentiation is implied rather than explicit.

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: the 'unread' scoping suggests this is the tool to reach for when triaging unread messages. There is no statement of when to prefer whatsapp_read_chat or whatsapp_list_chats instead, and no mention of whether this should be called before or instead of whatsapp_mark_read.

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