Skip to main content
Glama

mq_history

View delivered message history for AI agents communicating across sessions and machines, enabling task coordination and work delegation.

Instructions

View delivered message history

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo

Implementation Reference

  • The mq_history tool is defined and implemented directly in mcp/src/index.ts. It takes an optional limit parameter and calls client.history() to retrieve the message history.
    server.tool("mq_history", "View delivered message history", {
      limit: z.number().default(20),
    }, async ({ limit }) => {
      const msgs = await client.history(limit) as unknown[];
      return { content: msgs.map(m => ({ type: "text" as const, text: JSON.stringify(m) })) };
    });

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/bababoi-bibilabu/agent-mq'

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