trae-memory
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NODE_ENV | No | 运行环境 | development |
| AUTO_RECORD | No | 是否启用自动记录 | true |
| TOKEN_ESTIMATION | No | 是否启用 Token 估算 | true |
| CONTEXT_THRESHOLD | No | 上下文重要性阈值 | 0.8 |
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| log_inputC | 记录TRAE Builder的输入,包含上下文分析 |
| recallC | 基于当前上下文智能恢复相关记忆 |
| contextC | 管理Context状态,检测过期并处理重置 |
| tasksC | 管理开发任务,跟踪完成状态 |
| log_conversationC | 记录对话(兼容原版本) |
| log_chatC | 记录完整的用户-助手对话内容 |
| get_historyB | 读取最近的对话记录 |
| save_settingC | 保存用户设定 |
| get_settingB | 读取指定用户设定 |
| filesB | 管理data目录中的文件,支持清理、归档和优化 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
log_input、log_conversation、log_chat 三个工具在功能上高度重叠,尤其后两个几乎都是记录对话内容,代理难以准确区分。context、recall、tasks 等工具边界较清晰,但日志类工具的冗余拖累了整体辨识度。
大部分工具采用 log_、get_、save_ 等动词前缀,但 context、tasks、files 是纯名词形式,破坏了统一的 verb_noun 模式。log_conversation 与 log_chat 对同类操作命名也不一致,整体属于混用但尚可读的状态。
10 个工具对于记忆管理类服务器来说数量适中,没有过度膨胀。不过由于日志记录类工具重复,实际有效工具数量略低于表面数量,存在一定冗余。
覆盖了上下文状态管理、记忆召回、对话记录、历史读取、用户设定以及任务和文件管理,基本满足记忆服务器的核心需求。缺少显式的记忆删除或更新操作,但整体不会造成严重使用阻碍。