Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENAI_API_KEYNoAPI key for OpenAI (alternative embedding provider). Required if embedding configured for OpenAI.
VOLCENGINE_API_KEYNoAPI key for Volcano Engine (default embedding provider). Required if using default embedding configuration.
SILICONFLOW_API_KEYNoAPI key for SiliconFlow (alternative embedding provider). Required if embedding configured for SiliconFlow.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
rememberA

存储一条持久化记忆(SQLite+Chroma+Markdown 三处同步,自动 embed)。

当用户说"记住 / 记下 / 沉淀 / 保存"某条信息时调用。content 中可用 [[其他记忆标题]] 引用已有记忆,recall 时会解析为关联记忆。 category:user(用户偏好)/ project(项目知识)/ process(工作过程)/ agent(Agent 协作)。 scope:user / project / session。

recallB

语义 + 关键词 + 标题三路融合检索,返回最相关记忆(含正文 + [[link]] 关联)。

当用户问"之前 / 上次 / 有没有记录 / 回忆 / 召回 / 历史决策 / 踩过的坑"时调用。 每条记忆若 content 含 [[其他记忆标题]],返回时附 links 字段(关联记忆 id/title/category)。

get_memoryA

按 id 取单条记忆的完整内容(含 [[link]] 关联)。已知具体 id 时调用。

search_memoriesA

按分类 / 标签 / 来源 Agent 结构化过滤(不含正文)。需精确筛选时调用。

update_memoryA

更新已有记忆;改 content 会重算向量并刷新 Markdown。修改 / 补充已有记忆时调用。

forgetA

删除一条记忆(SQLite+Chroma+Markdown 三处同步)。用户要求"删掉 / 忘掉"某条记忆时调用。

list_memoriesA

列出记忆(可按分类过滤),按更新时间倒序(不含正文)。浏览 / 概览已有记忆时调用。

who_am_iA

返回当前 Agent 标识、项目根、数据目录与各分类记忆数量。会话开始时先调用,了解当前 agent 与记忆库概况。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/xiangzi1126/ai-agent-memory-mcp'

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