Skip to main content
Glama

push_event

Queue game events like NPC actions, combat updates, and world changes for RPG sessions, enabling automated event processing and frontend display.

Instructions

Push an event to the inbox. Used by DM or internal systems to queue events.

NPCs "doing things" on their own, combat updates, world changes - all go here. Frontend polls this to show what happened.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eventTypeYes
payloadYesEvent data (JSON object)
sourceTypeNo
sourceIdNoID of source NPC/entity
priorityNo0=normal, 10=urgent
expiresAtNoISO timestamp when event expires
sessionIdNo

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/Mnehmos/rpg-mcp'

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