Skip to main content
Glama

get_events

Recall past conversation events by retrieving the sequential record of messages, tool calls, and results from any session.

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.

Input Schema

TableJSON 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. First observedv0.30.1

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It transparently describes what the tool returns (raw episodic record in sequence order) and the kind of content included. It does not mention side effects, but this is a read-only retrieval operation and the description makes that implicit.

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?

The description is two sentences with no redundant information. The first sentence states purpose and return content; the second provides usage guidance. Every word contributes value.

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

Completeness5/5

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

For a tool with 3 simple parameters and no output schema, the description is complete: it explains what is returned, when to use it, and differentiates from sibling tools. No additional context is needed for an agent to invoke it correctly.

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% and each parameter already has a clear description (limit, session_id, after_sequence). The tool description itself adds no extra parameter semantics beyond the schema, so the baseline of 3 applies.

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

Purpose5/5

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

States a specific verb ('Retrieve events') and resource ('events from the current or a previous session'). Clearly differentiates from sibling tools by describing the raw episodic record (messages, tool calls, tool results, artifacts) rather than context or knowledge.

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

Usage Guidelines5/5

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

Explicitly tells when to use the tool: 'Use this to recall what happened earlier in a conversation (especially after context compaction), or to review a previous session.' This gives clear situational guidance without ambiguity.

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