Skip to main content
Glama
@omnidim-ai/mcp-server

@omnidim-ai/mcp-server

by Omnidim

listWhatsappMessages

Read-only

Retrieve messages from a WhatsApp conversation, newest first. Use after to poll for new messages or cursor to page through history.

Instructions

List one conversation's messages, newest first.

Poll forward with after, the id of the newest message you have, to get only new ones. Page back through history with cursor. Do not pass both.

(Tags: WhatsApp)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "conversation_id": "<conversation_id>"
    },
    "name": "listWhatsappMessages"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNoReturn messages newer than this message id. `next_cursor` is null in this mode.
limitNoRows per page.
cursorNoThe `next_cursor` from the previous page. Do not combine it with `after`.
conversation_idYesThe conversation to read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered structurally; the description adds real value by disclosing result ordering and the two pagination behaviors. It doesn't describe rate limits or response shape, which keeps it short of a 5 for a list endpoint.

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?

Front-loaded purpose sentence followed by two short mode statements; every sentence carries new information and nothing is repeated padding.

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 read-only paginated list tool with a fully described schema and no output schema, the description covers ordering and both pagination paths. Only return-content details (message fields) are absent, which is a small gap given no output schema exists.

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%, so all four parameters are already documented, including the mutual exclusivity of `cursor` and `after` and the null `next_cursor` in `after` mode. The description restates that rule rather than adding syntax or format detail beyond the schema, which matches the baseline 3.

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 ('List one conversation's messages') plus an explicit ordering ('newest first'), which distinguishes it from listWhatsappConversations and the other WhatsApp list siblings.

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?

Gives concrete when-to-use guidance for each mode: poll forward with `after` using the newest known id, page back through history with `cursor`, and explicitly says not to pass both. That is a clear, actionable usage rule rather than a vague hint.

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