Skip to main content
Glama
grrek
by grrek

message_context

Retrieve surrounding messages around a specific WhatsApp message ID to provide conversation context. Specify how many messages to show before and after the target message for better understanding of chat flow.

Instructions

Show surrounding messages around a specific message ID for context.

Args:
    message_id: The message ID to center on
    chat: Chat JID where the message is
    before: Number of messages before (default 5)
    after: Number of messages after (default 5)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
message_idYes
chatYes
beforeNo
afterNo

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/grrek/mcp-wacli'

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