Skip to main content
Glama

get_whatsapp_unread_chats

Retrieve WhatsApp chats with unread messages. Essential for managing pending conversations and customer support.

Same as get_whatsapp_chats with action "unread".

Input Schema

NameRequiredDescriptionDefault
pageNoResults page, starting at 0
sortNoResult order. Defaults to the API order (most recent activity first)
limitNoNumber of WhatsApp chats per call (max 100)
deviceYesWhatsApp device ID connected to Wassenger (24 character hexadecimal string)
labelsNoOnly chats carrying at least one of these labels. Use ["*"] for any label. Cannot be combined with labelsExclude

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description bears the full burden. Beyond implying a read operation, it says nothing about what 'unread' means precisely, whether results are paginated by default, what fields a returned chat contains, or any auth/device requirements, all of which matter for a 5-parameter listing tool.

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?

Purpose is front-loaded in the first sentence and the sibling equivalence note is a compact second line. The middle sentence ('Essential for managing pending conversations and customer support') is promotional and does not add operational value, a minor bit of waste.

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

Completeness3/5

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

For a 5-parameter filtered-list tool with no annotations and no output schema, the description establishes what is fetched but not what comes back (chat shape, unread counts) or any behavioral constraints. The rich schema covers inputs well, but the return-side gap keeps this at minimum viable.

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 page, limit, sort, device, and labels all documented including enum values and the labels/'*' semantics, so the schema does the heavy lifting. The description adds no parameter-level meaning beyond what the schema already states, which is the baseline expectation.

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 with a clear filter scope ('Retrieve WhatsApp chats with unread messages') and explicitly maps itself to get_whatsapp_chats with action 'unread', so an agent can distinguish it from the general list tool. It does not, however, differentiate itself from the many other filtered siblings such as get_whatsapp_archived_chats, get_whatsapp_assigned_chats, or get_whatsapp_chats_by_status.

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?

The phrase 'Essential for managing pending conversations and customer support' implies a use case, and the equivalence note points at get_whatsapp_chats as the broader alternative. But there is no explicit statement of when to prefer this over the archived/assigned/status variants or any prerequisites, leaving selection mostly to inference.

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.

Resources