Skip to main content
Glama

Save a memory

rhebok_remember

Save lessons, durable facts, or decisions as memories for future sessions; they are recalled by relevance and lessons appear at session start.

Instructions

Save a memory for future sessions: a lesson the user taught you (a correction or rule), a durable fact about the user or their setup, or an episode (what happened and what was decided). Lessons are shown to you at the start of every session in the matching project; everything is also retrieved by relevance on later prompts. Returns the memory's 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": {
      "kind": "<kind>",
      "text": "<text>"
    },
    "name": "rhebok_remember"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes"lesson" (a rule the user taught you), "fact" (something durable about the user or their setup) or "episode" (what happened, with the decision and why).
textYesOne to three sentences, 10 to 2000 characters, in the user's own intent.
scopeNo"global" for a rule that applies everywhere, or an absolute project path. Omit to scope to the current project.
titleNoOptional short title. Defaults to the first sentence.
confidenceNo0-100. Use 100 only when the user said it explicitly; the default is 80.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive, non-idempotent local write. The description goes further by disclosing downstream effects: lessons surface at the start of every session in the matching project, everything else is retrieved by relevance on later prompts, and the call returns the memory's id. It does not address duplicate handling or failure modes, which matters given idempotentHint=false.

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?

Two sentences, front-loaded with the action and followed by the persistence/visibility payoff. The parenthetical clarifications of each kind are short and each clause carries distinct information with no filler.

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?

With no output schema, the description usefully states that an id is returned, and it explains where the stored memory reappears, which is the key mental model for a memory tool. Remaining gaps are minor for this complexity: nothing about duplicate writes, size limits, or what happens if the project scope is ambiguous.

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 every parameter including kind, scope, title, and confidence is already documented in the schema. The description restates the three kind categories but adds no format, default, or edge-case meaning beyond that. Baseline 3 applies when the schema carries the parameter burden.

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 description opens with a specific verb and resource, "Save a memory for future sessions," then enumerates the three memory kinds (lesson, fact, episode). It is immediately clear this is the write path, but it never names a sibling such as rhebok_search or rhebok_forget, so differentiation is inferred rather than stated.

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?

It gives concrete criteria for what qualifies as a memory: a correction or rule, a durable fact about the user or setup, or an episode with its decision. That is clear when-to-use context. There are no explicit exclusions (e.g., when to use rhebok_forget or to not record something) and no alternatives are named.

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