Skip to main content
Glama

List memories around an id (chronological)

memory_timeline
Read-onlyIdempotent

Retrieve chronological neighbours of a memory anchor to recover work-session context. Cheaper than fetching neighbours individually. Use after memory_search.

Instructions

Return the chronological neighbourhood of memories around an anchor id (~200 tok/neighbour). Read-only. Use after memory_search(detail="index") to recover work-session context for one hit. Cheaper than calling memory_get on each neighbour individually.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe anchor memory id to centre the window on. Get this from `memory_search` or `memory_store`.
windowNoNumber of neighbours to return on each side (1-10). Default 3 → up to 6 neighbours total.
detailNoDisclosure level — `index` (titles only) or `summary` (titles + short preview, default). `full` is intentionally not offered here; use `memory_get` for that.summary
same_session_onlyNoIf true (default), only include neighbours captured in the same session as the anchor. Set false to span sessions.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesMarkdown list of neighbour memories (anchor + window on each side) at the requested `detail` level. Returns `Memory <id> not found.` when the anchor is missing.
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint, idempotentHint. Description adds useful context about cost efficiency and token size (~200 tok/neighbour), which exceeds annotation info.

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 sentences, front-loaded with main purpose. Each sentence adds value: what it does, when to use, why it's better. No wasted words.

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?

Given the tool's complexity (anchor, window, detail, session filters), the description covers usage context, token cost, and comparison to alternatives. Output schema exists, so return values are covered.

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 coverage is 100% with detailed descriptions for each parameter. The description does not add extra meaning beyond schema, but the schema is comprehensive. Baseline 3 is appropriate.

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?

Clearly states it returns the chronological neighbourhood around an anchor id. The verb 'return' and resource are specific. Distinguishes from siblings like memory_search and memory_get by focusing on neighbourhood and read-only nature.

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 says to use after memory_search(detail="index") to recover work-session context. Also notes it's cheaper than calling memory_get on each neighbour, guiding when not to use the alternative.

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

Install Server

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/lfrmonteiro99/memento-mcp'

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