Skip to main content
Glama

Unread WhatsApp Messages

whatsapp_unread
Read-onlyIdempotent

Retrieve unread incoming WhatsApp messages from chats and groups, newest first, with pagination and JSON or markdown output. Use it to check for new messages while excluding Channels and Status.

Instructions

Unread incoming WhatsApp messages across chats and groups, newest first. Channels and Status are excluded. Read-only. Use when: checking for new WhatsApp messages

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_unread"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax messages to return
offsetNoNumber of results to skip for pagination
response_formatNoOutput format: 'json' for structured data, 'markdown' for human-readable textjson

Output Schema

NameRequiredDescriptionDefault
countYes
itemsYes
totalYes
offsetYes
has_moreYes
next_offsetNo
history_current_toYesTime of the newest message stored on this Mac. If old, WhatsApp is not running or not signed in here
truncation_messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed world, so the 'Read-only' sentence adds nothing new. What does add value is the disclosed ordering ('newest first') and the result-set boundary (Channels and Status excluded) — information the agent cannot get from the annotations or schema.

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?

Three compact clauses with the core result description front-loaded and a labeled 'Use when:' cue. It is efficient, though 'Read-only' duplicates the annotations and the final clause is a truncated fragment rather than a sentence.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-required-parameter, read-only list tool with an output schema and full schema coverage, the description supplies everything needed to call it correctly: what counts as unread, what is excluded, and the sort order. Return shape is covered by the output schema, so no gap remains.

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% with limit, offset and response_format all documented inline, so the schema carries parameter meaning completely. The description adds nothing about pagination limits or format trade-offs; baseline 3 applies.

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 resource and verb-equivalent action: unread *incoming* WhatsApp messages, scoped to chats and groups, returned newest first. The explicit exclusion of Channels and Status makes the result set precise. It does not explicitly distinguish itself from the sibling 'messages_unread', relying on the name/title to do that work, which keeps it just 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 Guidelines3/5

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

"Use when: checking for new WhatsApp messages" gives a positive trigger, and the Channels/Status exclusion implicitly defines when-not. However, no alternative tool is named (e.g., for searching history or a specific chat), so the agent must infer routing from sibling names alone.

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