Skip to main content
Glama

PyPI PyPI Downloads CI License: AGPL v3

Genesys

AI 记忆的智能层。

AI 智能体记忆的评分引擎 + 因果图 + 生命周期管理器。原生支持 MCP。

简介

Genesys 是一个用于 AI 记忆的评分引擎、因果图和生命周期管理器。记忆通过乘法公式(相关性 × 连接性 × 再激活)进行评分,连接在因果图中,并在变得无关紧要时被主动遗忘。它可以接入任何存储后端,并原生支持 MCP。

Related MCP server: tentra

为什么选择它

  • 扁平化记忆无法扩展。 将所有内容转储到向量存储中只能提供召回功能,而没有理解能力。第 500 条记忆会掩盖那 5 条重要的记忆。

  • 不遗忘 = 无智能。 真正的记忆系统会遗忘。如果没有主动修剪,你的 AI 将淹没在陈旧的上下文中。

  • 缺乏因果推理。 向量相似度无法回答“我为什么选择 X?”——你需要一个图谱。

你的 AI 记得一切,却什么都不懂。Genesys 解决了这个问题。

快速入门

大多数人应该从选项 1(内存模式)开始。 如果你想要完全本地化且无需 API 密钥,请跳转至 选项 3:Obsidian + 本地

选项 1:内存模式(零依赖)

尝试 Genesys 的最快方法。无需数据库——状态保存在内存中,并可选择持久化到 JSON 文件。

pip install genesys-memory
cp .env.example .env
# Set OPENAI_API_KEY in .env

uvicorn genesys.api:app --port 8000

要在重启后保持持久化,请在 .env 中设置 GENESYS_PERSIST_PATH

GENESYS_PERSIST_PATH=.genesys_state.json

让 Claude 为你设置: “安装 genesys-memory,创建一个包含我 OpenAI 密钥的 .env 文件,使用内存后端在 8000 端口启动服务器,并将其作为 MCP 服务器连接。”

选项 2:Postgres + pgvector(生产环境)

通过 pgvector 实现持久化、可扩展的存储和向量搜索。

pip install 'genesys-memory[postgres]'
cp .env.example .env

编辑 .env

OPENAI_API_KEY=sk-...
GENESYS_BACKEND=postgres
DATABASE_URL=postgresql://genesys:genesys@localhost:5432/genesys

启动 Postgres 并运行迁移:

docker compose up -d postgres
alembic upgrade head
GENESYS_BACKEND=postgres uvicorn genesys.api:app --port 8000

让 Claude 为你设置: “安装 genesys-memory[postgres],使用 docker compose 启动一个带有 pgvector 的 Postgres 容器,运行 alembic 迁移,创建一个包含我 OpenAI 密钥和 DATABASE_URL 的 .env 文件,使用 GENESYS_BACKEND=postgres 启动服务器,并将其作为 MCP 服务器连接。”

选项 3:Obsidian Vault(本地优先)

将你的 Obsidian 库变成 Genesys 记忆存储。Markdown 文件成为记忆节点,[[wikilinks]] 成为因果边。SQLite 辅助文件 (.genesys/index.db) 处理索引。

pip install 'genesys-memory[obsidian]'
cp .env.example .env

编辑 .env

OPENAI_API_KEY=sk-...
GENESYS_BACKEND=obsidian
OBSIDIAN_VAULT_PATH=/path/to/your/vault

启动服务器:

uvicorn genesys.api:app --port 8000

首次启动时,Genesys 会索引库中的所有 .md 文件并生成嵌入。当你编辑笔记时,文件监视器会进行增量重新索引。

如果未设置 OBSIDIAN_VAULT_PATH,Genesys 会通过在 ~/Documents/personal~/Documents/Obsidian~/obsidian 中查找 .obsidian/ 来自动检测。

完全本地(无需 API 密钥)

使用本地嵌入提供程序在零外部依赖的情况下运行 Obsidian 模式:

pip install 'genesys-memory[obsidian,local]'
GENESYS_BACKEND=obsidian
GENESYS_EMBEDDER=local
OBSIDIAN_VAULT_PATH=/path/to/your/vault
# No OPENAI_API_KEY needed
uvicorn genesys.api:app --port 8000

这使用 sentence-transformersall-MiniLM-L6-v2 (384-dim) 进行嵌入。模型在首次使用时下载(约 80 MB)。

连接 Claude Desktop — 添加到你的 claude_desktop_config.json

{
  "mcpServers": {
    "genesys": {
      "url": "http://localhost:8000/mcp"
    }
  }
}

或者对于 Claude Code:

claude mcp add --transport http genesys http://localhost:8000/mcp

让 Claude 为你设置: “安装 genesys-memory[obsidian,local],创建一个包含 GENESYS_BACKEND=obsidian、GENESYS_EMBEDDER=local 和 OBSIDIAN_VAULT_PATH 指向我 [YOUR_VAULT_PATH] 库的 .env 文件,在 8000 端口启动服务器,并将其作为 MCP 服务器连接。无需 API 密钥。”

选项 4:FalkorDB(图原生)

使用 FalkorDB(基于 Redis 的图数据库)进行原生图遍历。

pip install 'genesys-memory[falkordb]'
cp .env.example .env

编辑 .env

OPENAI_API_KEY=sk-...
GENESYS_BACKEND=falkordb
FALKORDB_HOST=localhost

启动 FalkorDB 和服务器:

docker compose up -d falkordb
uvicorn genesys.api:app --port 8000

让 Claude 为你设置: “安装 genesys-memory[falkordb],使用 docker compose 启动一个 FalkorDB 容器,创建一个包含我 OpenAI 密钥和 GENESYS_BACKEND=falkordb 的 .env 文件,在 8000 端口启动服务器,并将其作为 MCP 服务器连接。”

从源码安装

git clone https://github.com/rishimeka/genesys.git
cd genesys
pip install -e '.[dev]'

种子脚本

两个实用脚本通过 REST API 使用演示数据填充正在运行的 Genesys 实例。它们需要一个配置了 Clerk 身份验证的运行中服务器。

cp .env.example .env
# Set CLERK_SECRET_KEY and CLERK_USER_ID in .env

python seed_demo.py      # Creates 25 memories with causal edges and runs recall queries
python seed_recalls.py   # Runs 5 rounds of recall queries to build reactivation history

两个脚本都从环境变量(通过 .env)读取凭据。查看 .env.example 获取所有必需变量。

连接到你的 AI

Claude Code

claude mcp add --transport http genesys http://localhost:8000/mcp

Claude Desktop

添加到你的 claude_desktop_config.json

{
  "mcpServers": {
    "genesys": {
      "url": "http://localhost:8000/mcp"
    }
  }
}

任何 MCP 客户端

将你的客户端指向 MCP 端点:

http://localhost:8000/mcp

MCP 工具

工具

描述

memory_store

存储新记忆,可选择链接到相关记忆

memory_recall

通过自然语言查询召回记忆(向量 + 图)

memory_search

使用过滤器(状态、日期范围、关键字)搜索记忆

memory_traverse

从给定的记忆节点遍历因果图

memory_explain

解释记忆存在的原因及其因果链

memory_stats

获取记忆系统统计信息

pin_memory

固定记忆,使其永不被遗忘

unpin_memory

取消固定之前固定的记忆

delete_memory

永久删除记忆

list_core_memories

列出核心记忆,可按类别过滤

set_core_preferences

设置核心记忆类别的用户偏好

工作原理

每条记忆都由三个相乘的力进行评分:

decay_score = relevance × connectivity × reactivation
  • 相关性 随时间衰减。旧记忆除非得到强化,否则会逐渐消失。

  • 连接性 奖励具有许多因果链接的记忆。枢纽记忆得以留存。

  • 再激活 提升那些不断被召回的记忆。频率很重要。

由于公式是乘法关系,记忆必须在所有三个维度上都有得分才能留存。一个连接紧密但从未被访问的记忆仍然会衰减。一个经常被召回但在因果上孤立的记忆仍然会消失。

STORE → ACTIVE → DORMANT → FADING → PRUNED
           ↑                    │
           └── reactivation ────┘
                                  (only if score=0, orphan, not pinned)

记忆也可以提升为 核心 (core) 状态——这些是结构上重要的记忆,会被自动固定且永不修剪。

基准测试结果

LoCoMo 长对话记忆基准测试上进行测试(10 次对话中的 1,540 个问题,排除了类别 5——即地面实况包含事实错误(如日期和事件归因错误)的对抗性问题):

类别

J-Score

单跳

94.3%

时间

87.5%

多跳

69.8%

开放域

91.7%

总体

89.9%

回答模型:gpt-4o-mini | 评判模型:gpt-4o-mini | 检索 k=20

作为参考,Mem0 在同一基准测试中得分为 67.1%,Zep 得分为 75.1%。完整的复现脚本位于 benchmarks/ 中。

存储后端

后端

安装

使用场景

memory

内置

零依赖,快速尝试

postgres + pgvector

pip install 'genesys-memory[postgres]'

持久化,可扩展

Obsidian vault

pip install 'genesys-memory[obsidian]'

本地优先知识库

FalkorDB

pip install 'genesys-memory[falkordb]'

图原生遍历

自定义

自带

实现 GraphStorageProvider

配置

.env.example 复制到 .env 并设置:

变量

必需

描述

OPENAI_API_KEY

除非 GENESYS_EMBEDDER=local

嵌入

ANTHROPIC_API_KEY

LLM 记忆处理(整合、矛盾检测)

GENESYS_BACKEND

memory (默认), postgres, obsidian, 或 falkordb

GENESYS_EMBEDDER

openai (默认) 或 local (sentence-transformers, 无需 API 密钥)

DATABASE_URL

如果是 postgres

Postgres 连接字符串

OBSIDIAN_VAULT_PATH

如果是 obsidian

Obsidian 库路径

FALKORDB_HOST

如果是 falkordb

FalkorDB 主机 (默认: localhost)

GENESYS_USER_ID

单租户模式的默认用户 ID

查看 .env.example 获取所有选项。

构建者

Genesys 由 Astrix LabsRishi Meka 构建。它的诞生源于每次会话都要向 Claude 重新解释项目背景的挫败感。目标是在你的 LLM 和记忆之间建立智能层——完全开源。

贡献

查看 CONTRIBUTING.md

许可证

AGPL-3.0-or-later

注意: v0.3.6 之前的 Genesys 版本被错误地记录为 Apache 2.0。LICENSE 文件一直包含 AGPLv3 文本。从 v0.3.6 开始,所有文档都正确引用了带有贡献者许可协议的 AGPL-3.0-or-later。

Available Tools

13 tools
delete_memoryA

Permanently delete a memory node and all its edges.

ParametersJSON Schema
NameRequiredDescriptionDefault
node_idYes

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden. It reveals permanence and that edges are removed, but does not mention authentication or rate limits. For a simple delete operation, this is adequate.

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?

The description is a single, focused sentence that directly states the action and scope. There is no unnecessary detail or repetition.

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 destructive operation, the description conveys the essential information: what is deleted (node and edges) and that it is permanent. No output schema is needed for such a simple action, and the description is complete enough for an agent to invoke it correctly.

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 coverage is 0% and the description does not elaborate on node_id. Although the parameter name is self-explanatory, the description could have added more context (e.g., format or example) to compensate for the lack of schema documentation.

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?

The description clearly states the action (permanently delete) and the resource (memory node and all its edges). It is specific and distinguishes itself from sibling tools like memory_store or memory_amend.

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?

The description explains what the tool does but does not explicitly contrast with alternatives (e.g., when to delete vs. amend). However, the action is unambiguous and the sibling context implies usage.

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

list_core_memoriesA

List all core memories, optionally filtered by category.

ParametersJSON Schema
NameRequiredDescriptionDefault
categoryNo

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden. 'List' unambiguously indicates a read-only operation with no side effects, providing full behavioral transparency.

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?

The description is a single concise sentence with no redundant information or extra clutter.

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?

The description provides sufficient context for an agent to decide to use it: it lists all core memories with an optional category filter, which is complete for a listing operation.

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?

The 'category' parameter is described as an optional filter, giving it clear meaning beyond the bare schema type. It does not enumerate possible values, but the purpose is well understood.

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?

The description clearly states the action (list) and the resource (core memories) with an optional filter, distinguishing it from other memory operations such as search or recall.

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?

No explicit comparison is made with sibling tools like memory_search or memory_recall, so an agent may not know when to prefer listing over searching.

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

memory_amendA

Record a correction: creates a new memory that supersedes an existing one. The old memory is kept (decayed in recall results), not deleted.

ParametersJSON Schema
NameRequiredDescriptionDefault
reasonNo
contentYes
node_idYes

TDQS

A4.2/5.0
Behavior4/5

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

The description discloses that the old memory is kept but decayed in recall results, which is a behavioral detail beyond the basic schema. It does not mention error cases or effects on nodes, but the core behavior is transparent.

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?

The description is one concise sentence that packs the purpose and key behavior without unnecessary words.

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 simple tool, the description covers the primary purpose and effect, and the parameter names plus context allow an agent to infer usage. Missing explicit parameter meanings are a minor gap.

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?

The schema has no parameter descriptions, but the description implies node_id identifies the existing memory. The fields 'reason' and 'content' are self-explanatory in context, but the tool description does not explicitly explain each parameter's role.

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?

The description clearly states the tool records a correction and creates a new memory that supersedes an existing one, distinguishing it from the sibling memory_store tool which likely creates new memories without superseding.

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 implies usage for correcting existing memories by saying 'supersedes an existing one', but does not explicitly contrast with memory_store or other siblings. However, the intent is fairly clear.

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

memory_explainC

Explain a memory's score breakdown.

ParametersJSON Schema
NameRequiredDescriptionDefault
node_idYes

TDQS

C2.9/5.0
Behavior2/5

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

No annotations (e.g., readOnlyHint, destructiveHint) are provided, and the description does not mention side effects, permissions, or return behavior. It is unclear whether this tool only reads data or modifies anything.

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?

The description is a single, concise sentence with no redundant words. It directly states the tool's purpose without unnecessary detail.

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 simple tool this description is minimally adequate, but it lacks context about the output format or any additional behavior. The missing parameter details and return expectations reduce completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter node_id has no schema description and is not elaborated in the tool description. This leaves ambiguity about what node_id refers to and how it should be supplied.

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 clearly states the action (explain) and the resource (a memory's score breakdown), distinguishing it from sibling tools like memory_store or memory_search. It is specific enough to understand the purpose.

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

Usage Guidelines2/5

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

No explicit guidance is given on when to use this tool versus alternatives. The description implies use when wanting to understand a memory's score, but does not state conditions or prerequisites.

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

memory_recallC

Recall memories using hybrid search (vector + keyword + graph spreading activation).

ParametersJSON Schema
NameRequiredDescriptionDefault
kNo
queryYes
verbosityNoconcise = id/summary/status/score/activation/is_core only, no causal chains.full
max_resultsNo

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of explaining behavior, but it only mentions the hybrid search approach. It does not disclose return format, side effects, or how results are sorted/ranked.

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?

The description is a single concise sentence that conveys core functionality without unnecessary words or repetition.

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

Completeness2/5

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

Given the complexity of the tool (hybrid search with multiple parameters) and the existence of closely related sibling tools, the description lacks detail about expected output, use cases, or how it differs from alternatives. It feels incomplete for an agent to choose confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 25% (only 'verbosity' has a description). The description does not clarify the meaning or effect of 'query', 'k', or 'max_results' beyond what the schema implies.

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 clearly states the tool recalls memories using hybrid search, specifying the resource (memories) and the method (vector + keyword + graph spreading activation). It is distinguishable from siblings like memory_search, though not explicitly contrasted.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives such as memory_search or memory_traverse. No criteria or context for selection is given.

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

memory_statsC

Get graph statistics.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

C2.5/5.0
Behavior2/5

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

There are no annotations provided, so the description carries the full burden. It implies a read-only operation via 'Get', but does not explicitly state that it is non-destructive, what data it returns, or any side effects or permissions. The behavior is only minimally transparent.

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?

The description is a single, concise sentence that directly states the purpose. It adheres to the principle of brevity and clarity, with no extraneous words or structure.

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

Completeness2/5

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

Given the lack of an output schema, the description is incomplete in explaining what the agent should expect from the tool. It does not say what kind of statistics are returned (e.g., counts, sizes, metadata) or how they might be used. An agent would need additional context to correctly interpret the result.

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?

The tool has zero parameters, so the schema coverage is 100%. Per the baseline, a score of 3 is given when the schema fully documents all parameters. The description does not add any additional meaning about parameters, but none are needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a clear action 'Get' and an object 'graph statistics', but the object is vague. It does not specify what kind of statistics, which graph, or how they are presented. It is better than a tautology but lacks specificity to fully distinguish from similar tools like memory_explain or memory_recall.

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

Usage Guidelines1/5

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

The description provides no guidance on when to use this tool versus its siblings. It does not mention any conditions, prerequisites, or alternatives. An agent would have to infer from the name alone that it is for retrieving statistics, with no clear differentiation from other memory tools.

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

memory_storeA

Store a new memory in the causal memory graph. Use related for writer-specified typed edges (each {id, type}); related_to is legacy and always creates caused_by edges. May return possible_conflicts — heuristic hints, not verified contradictions.

ParametersJSON Schema
NameRequiredDescriptionDefault
org_idNoRequired when visibility is 'org'. Must be an org the caller belongs to.
contentYes
relatedNoTyped explicit edges. Direction: new_node --type--> target.
categoryNoFree-form classification (suggested: professional, educational, family, location).
related_toNoLegacy: ids of nodes to link via caused_by. Prefer `related`.
visibilityNoprivate
source_sessionNo

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full transparency burden. It discloses the primary side effect (storing a new memory), the edge-creation behavior, legacy behavior of 'related_to', and notes that 'possible_conflicts' may be returned as heuristic hints. It does not mention authentication or permission side effects, but the core behaviors are transparent.

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?

The description is concise, using only two sentences to cover purpose, edge semantics, legacy behavior, and return hints. There is no redundancy or unnecessary detail.

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?

The description covers the essential purpose, key parameter distinctions, legacy behavior, and return hints. It omits some details about fields like 'content' and 'visibility', but the overall context is sufficient for a typical agent to correctly invoke the tool.

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?

The description adds value by explaining 'related' edges, the legacy nature of 'related_to', and the direction semantics. However, schema coverage is only 57%, and the description does not compensate for undocumented parameters like 'content', 'visibility', or 'source_session'. It partially clarifies parameters but not comprehensively.

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?

The description clearly states the tool's primary action: storing a new memory in the causal memory graph. It distinguishes itself from sibling tools like memory_amend (existing memories), memory_recall, and memory_search by emphasizing 'new memory'.

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?

The description gives clear context for using the tool, including guidance on preferring the 'related' parameter over the legacy 'related_to' and clarifying that 'related_to' always creates caused_by edges. It does not explicitly say 'use this instead of memory_amend for existing memories,' but the context is clear enough.

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

memory_traverseB

Traverse the memory graph from a starting node. Returns reachable nodes AND the edges of the induced subgraph among them (source/target/type/weight/created_by) — a superset of the BFS tree, so paths can be reconstructed.

ParametersJSON Schema
NameRequiredDescriptionDefault
depthNo
node_idYes
edge_typesNo

TDQS

B3.3/5.0
Behavior3/5

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

The description does add behavioral context: it states the return contains both reachable nodes and the edges of the induced subgraph, and explains it is a superset of the BFS tree. However, with no annotations present, it doesn't disclose whether traversal is read-only, whether there are cycle risks, or any side effects, so the full burden is not met.

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?

The description uses two sentences with no wasted words. It front-loads the main action, then immediately explains the output's structure and why the superset property matters. Very effective.

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

Completeness2/5

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

For a tool with three parameters and no output schema or annotations, the description is incomplete. It leaves depth and edge_types undefined, and it doesn't explain what happens with empty reachability or missing node_id. This is not enough for a confident call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema coverage is 0%, so the description must compensate for node_id, depth, and edge_types. It only mentions a starting node, which maps to node_id; it doesn't explain what depth controls or how edge_types filters traversal. This is a clear gap.

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?

This sentence is a precise action: the verb 'Traverse' with resource 'memory graph' and the starting node. It also clarifies the output is a superset of the BFS tree, which sets it apart from sibling tools like memory_recall or memory_search.

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

Usage Guidelines2/5

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

The description does not say when to use this tool instead of alternatives, and it never names a sibling or a use case that would select this over memory_recall or memory_search. There is only an implicit purpose, no explicit when/when-not.

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

pin_memoryC

Pin a memory to core status.

ParametersJSON Schema
NameRequiredDescriptionDefault
node_idYes

TDQS

C2.6/5.0
Behavior2/5

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

Since no annotations accompany the tool, the description carries the full responsibility of explaining behavior. It only says 'Pin a memory to core status' and does not specify what 'core status' implies, whether the operation is reversible, what side effects might occur, or any permission-related constraints. The description effectively relies on the tool name itself.

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 description is highly concise, with a single sentence and no filler. However, this conciseness is achieved by omitting nearly all the information an agent would need; it earns its place as a short purpose statement but does not go beyond that, making the brevity a trade-off against completeness.

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

Completeness1/5

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

With no annotations, no output schema, and a bare schema with a single undocumented parameter, the description leaves central concepts undefined. An agent cannot infer what 'core status' means, how the memory is located via 'node_id', or what the tool actually does beyond the name. The description is not complete enough to support correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has only one parameter, 'node_id', but its description coverage is 0%. The description does nothing to explain what 'node_id' represents, how to obtain it, or how it relates to the 'memory' being pinned. This is a critical gap because neither the schema nor the description supplies this required meaning.

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?

The description names a clear verb ('Pin'), a specific resource ('a memory'), and the intended outcome ('core status'), and it also implicitly distinguishes the tool from its sibling 'unpin_memory' by describing the opposite action. An agent can confidently connect the tool to its core function without consulting other tools.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use 'pin_memory' versus related tools such as 'memory_store', 'memory_amend', or 'unpin_memory'. It does not mention prerequisites, use cases, or exclusion conditions, so the agent receives no direction about when this tool is the right choice.

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

promote_to_orgB

Promote a private memory to org visibility. Caller must own the node and belong to the target org.

ParametersJSON Schema
NameRequiredDescriptionDefault
actionNokeep_private
org_idYes
dry_runNo
node_idYes

TDQS

B3.3/5.0
Behavior3/5

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

The main behavior is disclosed (changing a memory from private to org visibility) and the required permissions are stated. However, key behavioral controls in the schema—especially the 'action' enum values and 'dry_run' flag—are unexplained, and no annotations exist to fill that gap.

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?

The description is two brief sentences with no redundant words or filler. It front-loads the core purpose and then states the key precondition, making it easy to parse quickly.

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

Completeness2/5

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

Given the lack of annotations and output schema, the description is not complete enough for reliable invocation. It omits the semantics of the 'action' enum, the behavior of 'dry_run', expected outcomes, and any edge cases or error conditions.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With zero schema descriptions, the description must compensate. It implicitly covers node_id and org_id ('own the node', 'target org'), but it does not explain the meaning or effects of 'action' or 'dry_run'. Coverage is partial at best.

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?

The description clearly states the primary action: promoting a private memory to org visibility. It also names the resource ('private memory') and the target state ('org visibility'), and it is distinct from sibling tools like pin_memory or memory_store.

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

Usage Guidelines2/5

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

The description provides a precondition ('Caller must own the node and belong to the target org') but does not say when to use this tool versus alternatives like pin_memory or memory_store. No explicit usage guidance or comparison to sibling tools is given.

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

set_core_preferencesC

Configure core memory category preferences.

ParametersJSON Schema
NameRequiredDescriptionDefault
autoNo
approvalNo
excludedNo

TDQS

C2.3/5.0
Behavior2/5

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

With no annotations and a generic 'configure' verb, the description does not disclose side effects, persistence, permissions, or whether changes are reversible. It is unclear if this tool modifies global settings or per-category rules.

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 description is a single concise sentence with no redundancy. However, it sacrifices clarity for brevity, leaving out essential details, so it does not fully earn its place.

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

Completeness2/5

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

Given the lack of parameter explanations and usage context, the description is incomplete for an agent to safely and effectively invoke the tool. It does not cover return values, errors, or interactions with sibling tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides zero descriptions for parameters (auto, approval, excluded), and the description does not explain their meaning or expected values. The agent cannot determine what these array parameters control or how to populate them.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb ('Configure') and a resource ('core memory category preferences'), but it is vague about what 'preferences' entails. It does not clarify whether it sets auto-approval, exclusions, or other specific behaviors, making it only partially clear.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus siblings like memory_store or memory_amend. The description does not indicate scenarios where configuring preferences is appropriate, leaving the agent to infer usage.

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

unpin_memoryB

Unpin a memory and re-evaluate core eligibility.

ParametersJSON Schema
NameRequiredDescriptionDefault
node_idYes

TDQS

B3.1/5.0
Behavior2/5

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

No annotations or output schema. The description mentions side effects vaguely ('re-evaluate core eligibility') but does not explain what happens to the memory or return value.

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?

Extremely concise and direct; no filler or redundant information.

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

Completeness2/5

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

No output schema or return details, and the side effects of unpinning are under-specified, leaving the agent unsure about the outcome.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The only parameter node_id has no description in the schema, and the tool description does not clarify its format or role beyond the obvious identifier meaning.

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?

Clear verb 'unpin' and object 'memory', with an explicit consequence (re-evaluate core eligibility). Distinct from sibling tools like pin_memory.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives such as pin_memory or delete_memory, nor any prerequisites.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 13 tool updatesv0.1.0
    • First observeddelete_memory
    • First observedlist_core_memories
    • First observedmemory_amend
    • First observedmemory_explain
    • First observedmemory_recall
    • First observedmemory_search
    • First observedmemory_stats
    • First observedmemory_store
    • First observedmemory_traverse
    • First observedpin_memory
    • First observedpromote_to_org
    • First observedset_core_preferences
    • First observedunpin_memory

TDQS

B3.4/5.0
Disambiguation5/5

Each tool targets a distinct operation: store, amend, recall, filtered search, graph traversal, explanation, pinning, unpinning, deletion, stats, preferences, and visibility promotion. memory_recall and memory_search are clearly differentiated as hybrid retrieval versus structured filtering/enumeration.

Naming Consistency3/5

The memory_* prefix is used consistently for several core operations, but other tools switch to verb_memory forms (pin_memory, delete_memory), noun-like names (memory_stats), or unrelated forms (list_core_memories, set_core_preferences, promote_to_org). The naming is readable but not a uniform verb_noun pattern.

Tool Count5/5

Thirteen tools is well within the ideal range for a memory graph server. Each tool covers a meaningful lifecycle or administrative function without unnecessary redundancy.

Completeness5/5

The tool set covers the full memory lifecycle: create, read via multiple retrieval modes, amend/supersede, pin/unpin, delete, and administrative operations like stats and preferences. Graph traversal and explanation tools add strong domain coverage with no obvious dead ends.

Maintenance

ActivityNo data
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    F
    maintenance
    Cognitive memory system for AI agents with 129 MCP tools. Persistent 6-tier hierarchical memory (working→short-term→long-term→semantic), Ebbinghaus forgetting curves, dream consolidation, hybrid retrieval (BM25+RRF), goal tracking, emotional recall, knowledge graphs, and a 26-job consciousness daemon. Works with Claude Code, Cursor, and any MCP client.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Long-term memory for AI agents over MCP — episodic + semantic memory, a temporal knowledge graph, and a dialectic user model, exposed as 32 tools (recall, remember, context, graph, dreaming, peers). Zero dependencies, runs fully offline; leads the LoCoMo benchmark at ~35x fewer LLM calls.
    2
    Apache 2.0

Appeared in Searches

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Astrix-Labs/papez'

If you have feedback or need assistance with the MCP directory API, please join our Discord server