Skip to main content
Glama

get_recent_context

Retrieve recent message history from QQ chats for context analysis. Access buffered messages including images as URLs to maintain conversation flow.

Instructions

Get recent message context for a monitored group or whitelisted friend.

Returns all buffered messages (backfill + real-time) without compression. Use compress_context to manually compress when needed. Images are returned as URL strings in each message's image_urls field.

Args: target: Group ID or friend QQ ID. target_type: "group" (default) or "private". limit: Number of recent messages to return (default 200).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYes
target_typeNogroup
limitNo

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/JulesLiu390/Amadeus-QQ-MCP'

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