Skip to main content
Glama
Sealjay

mcp-whatsapp

request_sync

Backfill WhatsApp chat history by specifying a chat JID and optional starting timestamp. If no timestamp is provided, it starts from the newest cached message.

Instructions

Ask WhatsApp to backfill history for a chat. If from_timestamp is omitted, anchors on the newest cached message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chat_jidNoWhatsApp JID: individual as `<digits>@s.whatsapp.net` or bare phone digits, group as `<digits>-<timestamp>@g.us`
from_timestampNoISO-8601 UTC timestamp
Behavior4/5

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

Annotations indicate a mutation (readOnlyHint=false) and potential side effects (openWorldHint=true). The description adds behavioral context about anchoring behavior when from_timestamp is omitted, which is not covered by annotations.

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?

Two sentences, no wasted words. The purpose is front-loaded and the parameter behavior is explained succinctly.

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 request tool with no output schema, the description adequately covers the action and parameter behavior. However, it lacks mention of return values, error conditions, or prerequisites (e.g., needing the chat to exist in cache).

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?

Input schema has 100% parameter descriptions, and the description adds meaning for from_timestamp by explaining the anchoring behavior. This goes beyond the schema's bare type definition.

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?

Description clearly states the action ('backfill history for a chat') and resource ('chat'), distinguishing it from sibling tools like get_chat or list_messages which are read-only or list operations.

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 description implies usage for backfilling historical messages but does not explicitly specify when to use this tool over alternatives like get_chat or list_messages. The behavior when from_timestamp is omitted is explained, but no guidance on prerequisites or contexts.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Sealjay/mcp-whatsapp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server