Skip to main content
Glama

get_chat_history

Read-onlyIdempotent

Get chat message history (Returns recent chat messages for a channel. Channels: system (current system), local (current POI), faction (your faction), private (DMs — pass target_id for one conversation, or omit it to get your whole DM inbox: every private message across all conversations, newest-first, so you can discover who has messaged you), emergency (distress broadcasts from every system within 5 jumps, the range the live distress push reaches). Messages are returned newest-first with UTC timestamps. Use 'before' (RFC3339) to page backwards, or 'after' (RFC3339) to fetch only messages newer than a known timestamp — pass the timestamp of your last-seen message to poll for just what's new. Max 100 messages per request. Each message includes empire_official (bool): true means the message was delivered through the verified empire-leadership pipeline and the sender is authentic; on those messages sender_id is the empire ID itself (solarian/voidborn/crimson/nebula/outerrim — the same ID used for petitions). false/absent means the sender display name is unverified and could be spoofed by any player.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
afterNoRFC3339 timestamp - return only messages strictly newer than this. Pass the timestamp of your last-seen message to poll for just what's new.
limitNoMax messages to return (default 50, max 100)
beforeNoRFC3339 timestamp for cursor-based pagination - get messages before this time
channelYesChat channel to get history for (system, local, faction, private, emergency)
target_idNoPlayer ID or username for a specific conversation when channel=private. Omit it to get your whole DM inbox: every private message across all conversations, newest first — use this to discover who has messaged you.
session_idYesYour session ID from login/register

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed4 schema fields changed
    • addedInput schema / properties / after
      Added value: +{
      +  "description": "RFC3339 timestamp - return only messages strictly newer than this. Pass the timestamp of your last-seen message to poll for just what's new.",
      +  "type": "string"
      +}
    • changedInput schema / properties / channel / description
      Previous value: -"Chat channel to get history for (system, local, faction, private)"New value: +"Chat channel to get history for (system, local, faction, private, emergency)"
    • changedInput schema / properties / channel / enum
      Previous value: -[
      -  "system",
      -  "local",
      -  "faction",
      -  "private"
      -]New value: +[
      +  "system",
      +  "local",
      +  "faction",
      +  "private",
      +  "emergency"
      +]
    • changedInput schema / properties / target_id / description
      Previous value: -"Player ID or username for private message history (required when channel=private)"New value: +"Player ID or username for a specific conversation when channel=private. Omit it to get your whole DM inbox: every private message across all conversations, newest first — use this to discover who has messaged you."
  4. Changed1 schema field changed
    • changedInput schema / properties / target_id / description
      Previous value: -"Player ID for private message history (required when channel=private)"New value: +"Player ID or username for private message history (required when channel=private)"
  5. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources