Skip to main content
Glama

List saved memories

rhebok_list_memories
Read-onlyIdempotent

List saved memories newest first with ID, scope, origin, confidence, and full text. Filter by kind or scope to review what is remembered, find an ID to delete, or check before saving.

Instructions

List the memories rhebok has saved for the user (lessons, facts and episodes), newest first, with each one's id, scope, origin, confidence and full text.

Use it when the user asks what you remember about them, to find the id rhebok_delete_memory takes, or to check whether a rule is already saved before rhebok_save_memory. It filters and does not rank: to find the memories about a topic, use rhebok_search_knowledge, which retrieves memories beside notes.

Parameters: combine kind and scope to narrow the list, for example kind "lesson" with scope "global" for the rules that apply everywhere. A project path as scope lists only that project's own memories, not the global ones. Raise limit up to 200 when total shows the list was cut.

Behavior: it embeds nothing, so it works while the embedding server is down. It also lists the memories that the session-start lessons hold back for low confidence.

Returns: memories, and total, which counts every match before limit is applied. error explains an empty answer that could not be given, for example when memory is disabled.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "rhebok_list_memories"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoOnly memories of this kind: "lesson", "fact" or "episode". Omit for every kind.
limitNoHow many to return, newest first: 1 to 200. The default is 50.
scopeNo"global" for the memories that apply in every project, or an absolute project path for the memories saved for that project. Omit for all of them.

Output Schema

NameRequiredDescriptionDefault
errorYesWhy nothing could be listed: the memory store is disabled or unreadable, or an argument was invalid. Null on every normal answer, an empty one included.
totalYesHow many memories matched before `limit` was applied.
memoriesYesThe matching memories, newest first, at most `limit` of them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.4

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only cover the safety profile (read-only, idempotent, non-destructive), while the description adds non-obvious behavior: no embedding call so it works when the embedding server is down, inclusion of low-confidence memories that session-start lessons hold back, and the fact that `total` counts matches before `limit`. These are traits an agent could not infer from the annotations.

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?

Three labeled blocks (purpose, parameters, behavior) with the core action front-loaded and no filler. The dedicated Returns sentence partly duplicates the output schema, which is the only mild waste.

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 3-parameter read tool with full schema coverage, annotations, and an output schema, nothing material is missing: trigger conditions, filtering semantics, truncation handling, and the offline/no-embedding caveat are all covered.

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 the baseline is 3; the description goes further by explaining combination semantics (kind "lesson" with scope "global" for everywhere-applicable rules), that a project path excludes global memories, and that `limit` should be raised toward 200 when `total` shows truncation. It stops short of restating the enum values or default, which the schema already carries.

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 (list saved memories), names the three memory kinds, the ordering (newest first), and the fields returned. It also explicitly distinguishes itself from rhebok_search_knowledge ("filters and does not rank"), so an agent can separate the two without opening a 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 three concrete when-to-use triggers (user asks what you remember, need the id for rhebok_delete_memory, checking before rhebok_save_memory) and names the alternative plus the condition that selects it (topical lookup → rhebok_search_knowledge). This is explicit when/when-not/alternative guidance.

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