Skip to main content
Glama

rsi_memory

Open and search locally stored project memory to list entries, read documents by ID, rebuild the index, view relationship graphs, and inspect rules injected into the host.

Instructions

Open or search memory files. index lists entries, open reads one id, reindex rebuilds cache, graph returns mermaid text, rules lists what is injected into the host. 打开或检索记忆文件。index 列目录,open 按 id 读全文,reindex 重建缓存,graph 返回 mermaid 文本,rules 列出当前注入宿主的记忆。

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": "rsi_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoexact 32-hex document id for open
langNoexplicit locale override
actionNoindex / open / reindex / graph / rules

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • changedInput schema / properties / action / description
      Previous value: -"index / open / reindex / graph"New value: +"index / open / reindex / graph / rules"
  2. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the distinct behaviors of the five actions, including that reindex mutates a cache and that graph returns mermaid text, which is genuinely useful. It does not state that the tool is read-only apart from reindex, describe what reindex costs or invalidates, or indicate the auth/scope needs.

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

Conciseness3/5

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

The English text is well front-loaded and dense with zero filler. But the entire content is then repeated verbatim in Chinese, doubling length without adding information for any single reader; that duplication is the main thing that does not earn its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter action dispatcher with no output schema and no annotations, the description covers what each action does well enough to select one. It is still thin on what an agent gets back from index/open (fields, whether index shows ids needed for open) and on reindex side effects, which is the main gap given the complete absence of structured behavioral hints.

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: the schema already documents id as an exact 32-hex document id, lang as a locale override, and action as the five allowed values. The description repeats the action list verbatim but adds nothing about id format, lang precedence, or how the parameters interact per action.

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?

"Open or search memory files" names a concrete resource and two verbs, and the following clause enumerates all five action values (index/open/reindex/graph/rules) with a one-phrase outcome for each. An agent can tell what the tool does without opening the schema. It stops short of 5 because it never distinguishes this tool from siblings like rsi_recall or rsi_knowledge_search, which plausibly overlap on "search memory".

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The per-action glosses ("index lists entries", "open reads one id", "rules lists what is injected into the host") give effective intra-tool routing, which is real guidance. However there is no statement of when to use this tool rather than rsi_recall, rsi_knowledge_search, or rsi_memory_health, and no exclusions or prerequisites are given.

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