Overview
View chronological context around a specific observation. Shows what happened before and after a memory entry within the same session, providing temporal context for better understanding.This tool is part of the admin profile and uses deferred loading. It’s most useful after
mem_search to drill into the timeline of events surrounding a search result.Progressive Disclosure Pattern
This tool implements the 3-layer progressive disclosure pattern:Parameters
The observation ID to center the timeline onGet this ID from:
mem_searchresultsmem_contextresults- TUI observation view
42Number of observations to show before the focus observationDefault:
5Returns the N observations that occurred immediately before (chronologically) in the same session.Number of observations to show after the focus observationDefault:
5Returns the N observations that occurred immediately after (chronologically) in the same session.Response
Timeline result with session info, focus observation, and surrounding entries
- Session header — session ID, project, start time, summary (if available)
- Total observations in session
- Before entries — observations that occurred before the focus
- Focus observation — the anchor observation (highlighted)
- After entries — observations that occurred after the focus
Usage Examples
Default Timeline (5 before, 5 after)
Narrow Timeline (2 before, 2 after)
Wide Timeline (10 before, 10 after)
Asymmetric Timeline
When to Use
- After search — drill into the context of a search result
- Debugging — understand the sequence of events that led to a bug
- Session exploration — see what else happened during that session
- Causal analysis — understand what led to a decision or discovery
Timeline Boundaries
Timelines are session-scoped — only observations from the same session appear:- If the focus observation is at the start of a session, there may be fewer “before” entries (or none)
- If the focus observation is at the end of a session, there may be fewer “after” entries (or none)
- Observations from other sessions never appear in the timeline
Session Header
The session header provides context:- Project name —
my-api - Session start time —
2026-03-01T14:00:00Z - Session summary — “Added JWT authentication and refactored user service” (if available)
- Total observations — 12 entries in this session
Chronological Ordering
Observations are ordered bycreated_at timestamp:
- Before entries — oldest to newest (leading up to the focus)
- Focus observation — the anchor
- After entries — oldest to newest (following the focus)
Content Truncation
Timeline entries show truncated content to save tokens:- Before/After entries: Up to 150 characters
- Focus observation: Up to 500 characters
mem_get_observation.
Token Efficiency
Typical timeline token counts:- Default (5 before, 5 after): ~800-1500 tokens
- Narrow (2 before, 2 after): ~400-700 tokens
- Wide (10 before, 10 after): ~1500-3000 tokens
Example Workflow
Error Handling
Observation not found
Observation not found
If the observation ID doesn’t exist:Verify the ID from
mem_search results.Deleted observations
Deleted observations
Soft-deleted observations are excluded from timelines. If you request a timeline for a deleted observation:
First/last observation
First/last observation
If the focus observation is at the session start or end, you’ll see fewer “before” or “after” entries:
Related Tools
mem_search- Search for observations to timelinemem_get_observation- Get full content of an observationmem_context- Get recent chronological context (not session-scoped)