Hindsight
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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 | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| record_conversationC | 记录用户与 AI 的对话内容 |
| batch_record_conversationsB | 批量记录多条对话内容(一次调用写入多条消息) |
| start_file_watchingC | 开始监控指定目录的文件变化(可同时监控多个目录) |
| stop_file_watchingA | 停止文件监控(指定 path 则只停该目录,不指定则停止全部) |
| get_user_contextC | 获取用户画像和上下文信息 |
| get_memoriesC | 获取存储的记忆 |
| add_memoryC | 手动添加一条记忆 |
| refresh_profileC | 基于最新数据刷新用户画像 |
| delete_memoryC | 删除指定 ID 的记忆 |
| update_memoryC | 更新指定 ID 记忆的内容、置信度或类型 |
| get_memory_by_idB | 根据 ID 获取单条记忆的详细内容 |
| get_statsB | 获取数据库统计信息(对话/文件事件/记忆数量) |
| get_recent_conversationsC | 获取最近记录的对话内容,支持 offset 分页 |
| get_file_eventsB | 获取最近的文件变更事件(创建/修改/删除),支持 offset 分页 |
| list_projectsA | 列出所有有数据记录的项目的记录数量与最后活跃时间(project 为 null 表示全局数据) |
| search_memoriesB | 按关键词搜索记忆内容,默认按相关度(命中次数+置信度)排序,支持分页 |
| export_dataC | 导出指定项目的数据(对话、文件事件、记忆)为 JSON,支持类型过滤和分页 |
| clear_old_dataC | 清理指定天数之前的历史数据(对话、文件事件、记忆) |
| health_checkA | 检查服务器运行状态(运行时长、文件监控状态、数据库统计) |
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 19 tools
Most tools map to a distinct resource+action (memory CRUD, conversation recording, file watching, stats). There are a few mild overlaps: get_stats and health_check both return database statistics, and list_projects reports per-project counts that overlap with get_stats totals, but the descriptions clarify the primary purpose of each.
Nearly all tools follow a snake_case verb_noun pattern (get_memories, add_memory, update_memory, search_memories, export_data, clear_old_data). Minor deviations exist: batch_record_conversations prefixes the verb with 'batch', and health_check is a noun phrase without a verb, but overall the convention is readable and predictable.
19 tools cover a fairly rich domain (conversation logging, file watching, memory CRUD/search, profile, stats, export, cleanup), and each maps to a distinct operation. It is on the heavier side but nothing feels redundant enough to remove outright.
Memory lifecycle is fully covered (add/get/list/search/update/delete), alongside conversation recording, file watching, stats, export, cleanup, and health. Minor gaps remain: conversations have no get-by-id or delete operations, and the user profile can only be refreshed, not directly edited.