Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MEMORY_DIRNoDirectory where the plain-text memory files (FACT.md, JOURNAL.jsonl, SOUL.md, USER.md) are stored. Change it to move memory to another location.E:\memory

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
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
memory_readA

读取记忆文件。filename 默认 FACT.md;可传 SOUL.md / USER.md / JOURNAL.jsonl。tail>0 时只返回最后 tail 行(读大文件时用,省 token)。

memory_updateA

覆盖写入 FACT.md(长期记忆)。写入前会自动备份,并有缩水保护:若新内容不足 1KB 且旧内容的三倍以上,则拒绝(防写坏)。

memory_appendC

往 JOURNAL.jsonl 追加一条事件记录。tags 可选,是标签列表。

memory_searchC

在 JOURNAL 里搜索关键词(大小写不敏感),返回最近匹配的若干条。

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 4 tools

Disambiguation5/5

Each tool maps to a distinct operation (read a file, overwrite FACT.md, append to JOURNAL.jsonl, keyword-search JOURNAL), so an agent can select without confusion. The only mild proximity is read vs. search, but one is file-oriented and the other keyword-oriented in the journal, keeping them clearly separable.

Naming Consistency5/5

All four tools follow the identical memory_<verb> snake_case pattern (read/update/append/search). No mixing of conventions or vague verbs.

Tool Count5/5

Four tools is well within the appropriate range and each covers a distinct memory operation (retrieve, persist long-term, log event, query log). No redundant or filler tools.

Completeness4/5

The core memory lifecycle (read, overwrite FACT, append journal, search journal) is covered. Minor gaps remain: SOUL.md/USER.md are readable but not writable, and there is no delete or edit of individual journal entries, though agents can work around this via overwrite.

Maintenance

ActivityMaintained
ResponsivenessNo issues