Skip to main content
Glama
razvangirgiz

wazap-mcp

by razvangirgiz

Find who is waiting on the user

get_unanswered
Read-onlyIdempotent

Find WhatsApp chats where someone is still waiting for your reply, including questions, requests, or unheard voice notes, sorted oldest wait first.

Instructions

Chats where the last word is theirs and it asks for something: a question, a request ("poți", "te rog", "can you", "when"…), or a voice note nobody has heard yet. A conversation that ended in "ok, thanks" is not listed, and neither is an ask older than max_age_hours (two weeks by default): that one was abandoned, not left waiting. Groups count only when the user was @-mentioned or replied to after their own last message. A [business] account's ask is often an automatic reply; weigh it accordingly.

People come first, then the oldest wait. Each entry quotes the ask, says how many of their messages arrived since the user's last one, and how long they have been waiting. This is the follow-up half of an inbox triage; use get_recent_messages for what happened, and this for who is still waiting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of chats (1-50)
account_idNoRegistry account id (default, work, …). Omit to resolve from chat_id or message_id, or the default account.
max_age_hoursNoIgnore asks older than this; an ask left for two weeks (the default) is abandoned, not waiting
min_age_hoursNoOnly asks at least this old, e.g. 48 for people the user forgot for two days

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover safety (read-only, idempotent, non-destructive), and the description goes well beyond them: abandonment semantics for max_age_hours, group-chat inclusion logic, business-account auto-reply weighting, and output ordering. This is rich behavioral context an agent cannot infer from the structured fields.

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?

Front-loads the core definition, then layers exclusions, group logic, output shape, and routing. It is dense but a few parenthetical example tokens and the caveat sentences make it longer than strictly necessary; still, nearly every sentence carries selection-relevant information.

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?

No output schema exists, and the description still tells the agent what each entry contains (the quoted ask, count of messages since the user's last reply, waiting duration) plus ordering (people first, then oldest wait). Nothing material for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all four parameters. The description still adds interpretive value: max_age_hours is framed as 'abandoned, not waiting,' and min_age_hours is illustrated with 48 hours for forgotten asks, giving an agent a reason to choose thresholds rather than just valid ranges.

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 resource ('chats where the last word is theirs and it asks for something') with the exact inclusion heuristic, and explicitly distinguishes itself from the sibling get_recent_messages. An agent can tell what this returns and why it exists without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicit routing: 'use get_recent_messages for what happened, and this for who is still waiting.' It also gives exclusion conditions (ended in 'ok, thanks', older than max_age_hours, group chats without @-mention or reply) and caveats for business accounts, so the agent knows when not to expect a row.

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