Skip to main content
Glama
N3MemoryCore MCP — Lite (Ephemeral)

N3MemoryCore MCP — Lite (Ephemeral)

recall_thread

Retrieve surrounding conversation entries before and after a search hit's turn_id in chronological order to restore missing context from the same session.

Instructions

§4.3.1 — Retrieve the memories sharing a turn_id plus N entries before and after in chronological order. Use this when a search_memory hit lacks enough context: pass the hit's turn_id here to surface the surrounding conversation thread. Only entries of the session of that turn are returned. Returns {status:'not_found'} if turn_id is unknown, and {status:'ambiguous', session_ids} if the turn_id is in several sessions: call again with one of them as session_id.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "turn_id": "<turn_id>"
    },
    "name": "recall_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNoNumber of later entries to include (default 2).
beforeNoNumber of earlier entries to include (default 2).
turn_idYesThe turn_id from a search_memory result.
session_idNoOptional. The session of the turn, when the same turn_id is in several sessions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.1.0
    • addedInput schema / properties / session_id
      Added value: +{
      +  "description": "Optional. The session of the turn, when the same turn_id is in several sessions.",
      +  "type": "string"
      +}
  2. First observedv1.9.1

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses the ordering of results, the session scoping rule ('Only entries of the session of that turn are returned'), and two named failure returns with their payloads (not_found, ambiguous plus session_ids). It never explicitly says the operation is read-only / side-effect free, which is the one behavioral trait an agent might still want confirmed.

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

Conciseness4/5

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

Dense and front-loaded: purpose first, then usage, then scoping, then error handling. The leading '§4.3.1 —' reference marker is internal noise that adds nothing for an agent, the only real waste.

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?

No output schema exists, and the description compensates by naming both error return shapes and the ordering of successful results, which is enough to interpret a response. Only the success payload's exact fields are left implicit.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds procedural meaning the schema does not: turn_id originates from a search_memory result, and session_id exists specifically to resolve the ambiguous case returned by a prior call. The before/after window semantics remain purely in the schema.

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 and resource ('Retrieve the memories sharing a turn_id plus N entries before and after in chronological order') and scopes it to a single session, so an agent can distinguish it from search_memory or list_memories without reading any schema.

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?

Gives an explicit trigger ('when a search_memory hit lacks enough context') and the exact handoff ('pass the hit's turn_id here'), plus a recovery path for the ambiguous case: 'call again with one of them as session_id'. Both when-to-use and what-to-do-next are spelled out.

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