Skip to main content
Glama
JohnXu22786

memory-vault

by JohnXu22786

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
VAULT_DIRNoData directory for memory vault~/.memory-vault
VAULT_TOP_KNoDefault number of retrieval results8
VAULT_CONFIGNoPath to configuration file<data-dir>/config.json
VAULT_WEB_HOSTNoWeb interface listen address127.0.0.1
VAULT_WEB_PORTNoWeb interface listen port8988
VAULT_KW_WEIGHTNoKeyword weight in fusion ranking0.4
VAULT_WEB_TOKENNoBearer token for web API access; if set, all /api/* requests must include Authorization: Bearer <token>
VAULT_DEDUP_MODENoDedup behavior: merge or skipmerge
VAULT_EMBED_DIMSNoLocal embedding dimensions128
VAULT_SEM_WEIGHTNoSemantic weight in fusion ranking0.6
VAULT_EMBED_MODELNoEmbedding model name (depends on provider)all-MiniLM-L6-v2
VAULT_MIN_CLUSTERNoMinimum cluster size2
VAULT_RECENCY_DAYSNoTime-decay half-life in days, 0 disables180
VAULT_EMBED_API_KEYNoAPI key for embedding service; supports env://VAR or file:///path forms
VAULT_EMBED_API_URLNoOpenAI-compatible API endpoint URL
VAULT_EMBED_PROVIDERNoEmbedding provider: local, sentence, or apilocal
VAULT_DEDUP_THRESHOLDNoWrite-time dedup similarity threshold0.92
VAULT_EMBED_API_MODELNoModel name for API embedding providertext-embedding-3-small
VAULT_CLUSTER_THRESHOLDNoClustering threshold for tidy0.78
VAULT_DIGEST_MEMBER_CHARSNoCharacters retained per member record in summary600

Instructions

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

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
vault_putA

存入一条记忆记录;自动去重(相同或高度相似的内容并入已有记录)。

vault_askA

混合检索记忆:关键词(BM25)与语义向量融合排序,返回按相关度降序的记录。

vault_takeA

按 id 查看单条记录的完整内容。

vault_listA

列出最近的记录(不含已折叠内容)。

vault_dropC

删除一条记录。

vault_tidyA

压缩记忆:把互相相似的记录折叠为一条摘要,原记录标记为已折叠。

vault_statsA

查看存储统计(记录数、向量后端、嵌入配置等)。

vault_ingestB

从 markdown 文件或目录批量导入记忆。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 8 tools

Disambiguation5/5

Each tool targets a distinct action: put for storing, ask for searching, take for reading by id, list for enumeration, drop for deletion, tidy for compaction, stats for metadata, and ingest for batch import. There is no overlap or ambiguity between these operations.

Naming Consistency5/5

All tools follow a consistent vault_verb pattern using snake_case. Although 'stats' is a noun, it behaves as a verb in context and the pattern remains predictable and uniform.

Tool Count5/5

Eight tools is well within the optimal 3-15 range and each serves a meaningful purpose for a memory vault. The count is neither excessive nor sparse for the domain.

Completeness4/5

The tool set covers core memory lifecycle: create/update via vault_put with deduplication, read via take/list/ask, delete via drop, plus organization via tidy and import via ingest. A minor gap is the lack of an explicit full-record edit, but the deduplication-based put mitigates this.

Maintenance

ActivityMaintained
ResponsivenessSyncing