Skip to main content
Glama

List saved memories

rhebok_memories
Read-onlyIdempotent

Lists saved lessons, facts, and episodes newest first by kind or scope, with IDs and full text, so you can review memories, find an ID before forgetting, or check duplicates before saving.

Instructions

List the memories rhebok has saved (lessons, facts and episodes), newest first, with their ids, scope and full text. Use it when the user asks what you remember about them, before rhebok_forget when you need a memory's id, or before rhebok_remember to check whether a rule is already saved. It lists by filter, not by meaning: to find the memories relevant to a topic, use rhebok_search, which retrieves memories alongside notes. Read-only and local; it does not embed anything, so it works while the embedding server is down. total counts every match, so a total above the number returned means limit cut the list.

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_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.3

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, and the description partly restates that ('Read-only and local'). It earns credit for going beyond them: it discloses that no embedding occurs so the tool works while the embedding server is down, and it explains that `total` counts every match so a total above the returned count means `limit` truncated the list. These are operational traits an agent could not infer from the structured fields.

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?

What the tool returns and its ordering lead the description, followed by usage routing, then caveats. Every sentence carries distinct information — scope of results, triggers, sibling routing, offline behavior, truncation — with no filler, despite being longer than a single line.

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?

An output schema exists, so return values need not be spelled out, and the description still covers ordering, filters, default vs max limit, and truncation semantics. Combined with annotations carrying the safety profile, nothing an agent needs to invoke this three-parameter list tool correctly is missing.

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 kind, limit and scope are already fully documented in the schema, and the description repeats rather than extends them (the filter-based nature of kind/scope is implied by 'lists by filter'). The only added semantic is the limit-versus-`total` relationship, which is one parameter's worth of extra meaning, so the baseline 3 applies.

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 the memories rhebok has saved'), names the content types (lessons, facts, episodes), the ordering (newest first) and the returned fields (ids, scope, full text). It also explicitly separates itself from rhebok_search ('lists by filter, not by meaning'), so an agent can choose between them 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 concrete triggers ('when the user asks what you remember about them'), two workflow preconditions ('before rhebok_forget when you need a memory's id', 'before rhebok_remember to check whether a rule is already saved'), and an explicit negative case routing topical lookups to rhebok_search. When-to-use, when-not-to-use and the alternative are all present.

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