Skip to main content
Glama

get_events

Retrieve raw episodic events from the current or a previous session to recall earlier messages, tool calls, results and artifacts, or to review a past conversation after context compaction.

Instructions

Retrieve events from the current or a previous session. Returns the raw episodic record — messages, tool calls, tool results, and artifacts in sequence order. Use this to recall what happened earlier in a conversation (especially after context compaction), or to review a previous session.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum events to return (default 50).
session_idNoSession to query (matches MCP or client session ID). Omit for the current session.
after_sequenceNoOnly return events after this sequence number (for pagination).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.34.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.30.1

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full load and does reasonably well: it discloses that output is the raw episodic record, that ordering follows sequence, and that scope is the current or a prior session. It leaves unstated whether the call is strictly read-only, how truncation behaves when limit is exceeded, and whether cross-session access has permission requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the verb and resource, then the return shape, then the use case. No filler and no repetition of the tool name or title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only retrieval tool with three optional, fully documented parameters and no output schema, the description covers purpose, payload, and motivation adequately. The main residual gap is the absence of any note on result size, truncation, or how the sequence cursor relates to returned ordering.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so limit, session_id, and after_sequence are already fully documented, and the description adds no further semantics for them. The phrase 'current or a previous session' loosely echoes session_id but does not explain pagination or default behavior. Baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Retrieve events') and goes further to enumerate the returned content ('messages, tool calls, tool results, and artifacts in sequence order'), which tells an agent exactly what this yields. It does not explicitly distinguish itself from similarly named siblings like get_context or get_session_context, so the agent must infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete use cases: recalling earlier conversation history, especially after context compaction, and reviewing a previous session. These are clear situational triggers, but there are no exclusions or named alternatives (e.g., when to prefer search_knowledge over this), so the 'when not to' half is missing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.