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

N3MemoryCore MCP — Lite (Ephemeral)

search_memory

Search stored memories using hybrid vector + BM25 to retrieve relevant past conversation context at the start of each user turn; newest versions appear first and Lite entries expire after 7 days.

Instructions

Hybrid (vector + BM25) search over stored memories. Call this at the start of every user turn. Each hit shows its saved= time; when several versions of the same content appear, the newest is listed first and is the current one. When fewer than min_results (default 3) rows pass the relevance floors, the closest dropped rows are added under 'Possibly related (weak matches — may be unrelated)': they are often unrelated — use one only when it is actually relevant to the question; if it is not, ignore it and do not mention it. NOTE: Lite memories expire 7d after they were saved.

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": {
      "query": "<query>"
    },
    "name": "search_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default: config search_result_limit).
queryYesSearch query (natural language or keywords).
sinceNo§4.3.1 — ISO 8601 date or datetime (e.g. '2026-05-01' or '2026-05-01T09:00:00+09:00'). Only entries saved ON OR AFTER this timestamp are returned. Date-only values and values without an offset are read in the server's local time (the clock of saved=); date-only means 00:00:00. An unreadable value is an error.
untilNo§4.3.1 — ISO 8601 date or datetime. Only entries saved ON OR BEFORE this timestamp are returned. Read like since; date-only means 23:59:59.999999 local time.
session_idNoOptional project/task grouping key. Rows whose stored session_id matches this value are boosted in ranking (b_session_match=1.0); non-matching rows are dampened (b_session_mismatch=0.6). Pass the same session_id used at save time to surface that project's memories above unrelated rows. Leave blank to use the server default (N3MC_SESSION_ID env var, or per-process UUIDv4).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.12.2
    • changedInput schema / properties / since / description
      Previous value: -"§4.3.1 — ISO 8601 date or datetime (e.g. '2026-05-01' or '2026-05-01T09:00:00Z'). Only entries saved ON OR AFTER this timestamp are returned. Date-only values are treated as 00:00:00 UTC."New value: +"§4.3.1 — ISO 8601 date or datetime (e.g. '2026-05-01' or '2026-05-01T09:00:00+09:00'). Only entries saved ON OR AFTER this timestamp are returned. Date-only values and values without an offset are read in the server's local time (the clock of saved=); date-only means 00:00:00. An unreadable value is an error."
    • changedInput schema / properties / until / description
      Previous value: -"§4.3.1 — ISO 8601 date or datetime. Only entries saved ON OR BEFORE this timestamp are returned. Date-only values are treated as 23:59:59 UTC."New value: +"§4.3.1 — ISO 8601 date or datetime. Only entries saved ON OR BEFORE this timestamp are returned. Read like since; date-only means 23:59:59.999999 local time."
  2. First observedv1.9.1

TDQS

A3.9/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 it well: it discloses the hybrid ranking approach, that duplicate versions are ordered newest-first with saved= timestamps, that a 'Possibly related (weak matches)' block is injected below the min_results floor, and that Lite memories expire after 7 days. These are non-obvious behaviors an agent could not get from the schema. It omits pagination/limit behavior and any permission or rate-limit notes.

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?

The purpose is front-loaded in sentence one and the remaining sentences each convey distinct operational facts (turn timing, duplicate ordering, weak-match handling, expiry). It is dense with semicolons and em-dashes but not padded; slight trimming of the weak-match explanation would help.

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 five-parameter read tool with no annotations and no output schema, the description covers return shape (hits with saved= times, a weak-match section) and key temporal semantics. The main gap is that result-set behavior (limit defaults, empty-result behavior) is left entirely to the schema.

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 the baseline is 3; since/until/session_id are all richly documented in the schema and the description adds nothing to them. The description does reference min_results (default 3), which is not an actual parameter in the schema, so its added value is behavioral rather than parameter-level.

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?

The first sentence gives a specific verb and resource ('Hybrid (vector + BM25) search over stored memories') and even names the retrieval method, which distinguishes it from a plain listing tool like list_memories. It stops short of explicitly contrasting itself with siblings such as recall_thread or list_memories, so an 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?

'Call this at the start of every user turn' is an unusually explicit usage directive that removes any ambiguity about timing. It also tells the agent how to treat weak matches (ignore and do not mention unless relevant), which is real guidance. It never states when NOT to call it or names an alternative tool, so it falls short of a 5.

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