Skip to main content
Glama
Memory Palace

Memory Palace

by yechen0515

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PALACE_HOMEYesPath to the data directory that holds the memory palace database (e.g. ~/.dsh/palace, or Windows: C:\Users\<you>\.dsh\palace). All processes, including palace.mcp_server, must be given this variable; without it the program does not guess and errors with FileNotFoundError: 数据库不存在,且没有设置 PALACE_HOME.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

这个 MCP 服务是这台机器上 AI 的长期记忆库(原始对话 + 事件卡 + 关系卡,全部本地)。规则:回答任何关于用户本人、过去发生的事、项目进展、人际关系的问题之前,先调用 memory_recall 检索;用返回的卡片和出处作答,不要凭上下文猜测或编造。查不到就直说查不到,并说明库里没有这条记录。用户问「我」「我之前」「上次」「你还记得吗」这类时,尤其必须先查。

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
memory_recallA

检索 AI 的长期记忆。回答关于用户本人、过去发生的事、项目进展、人际关系之前必须先调用,不要凭上下文猜。返回卡片、时间、原话出处与置信度。

memory_statusA

看记忆库规模和健康:卡片/原料/向量数量、库大小、哈希链是否完好。不确定库里有没有东西时先看这个。

memory_personB

AI 对某个人的稳定认识(结论/印象,带来源)。问『你怎么看我』『对某人的印象』时用。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 3 tools

Disambiguation4/5

memory_recall (general long-term retrieval), memory_person (stable impressions of a specific person), and memory_status (library health/metrics) have largely distinct triggers, and the descriptions explicitly state when to use each. The only mild overlap is between memory_person and memory_recall, since a person impression is a specialized form of recall, but the 'how do you see X' trigger makes the split workable.

Naming Consistency4/5

All three tools share a predictable 'memory_' prefix with a single qualifier, which makes them easy to scan as a family. The only deviation is grammatical style: memory_recall uses a verb while memory_person and memory_status use nouns, but this is a minor inconsistency rather than a confusing one.

Tool Count3/5

Three tools is on the thin side for a memory system: read (recall), inspect (status), and a specialized person view. The set is tightly scoped, but with no write path exposed, the surface feels slightly under-provisioned for the domain it claims to cover.

Completeness3/5

The read/lifecycle side is covered (recall, person impressions, health check with hash-chain integrity), but there is no tool to store, update, or forget/delete a memory — an agent cannot deliberately correct or remove a wrong card. Presumably ingestion is automatic from 'raw material', which mitigates but does not eliminate this gap.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues