willfate
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WILLFATE_HOME | No | 通过环境变量 WILLFATE_HOME 指定其他本地数据目录,默认为 ~/.willfate/ |
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 |
|---|---|
| willfate_doctorB | 自检 WillFate 运行环境:Python、16 工具排盘运行时版本、本地数据目录(~/.willfate)、个人档案与书库条数 |
| willfate_warmstartB | 初始化本地数据目录并生成温启动简报(含当下干支锚点、个人事实档案、沟通偏好、已缓存盘面、历史解读记录;首次使用自动标记冷启动) |
| willfate_profile_getC | 读取本地人物档案 JSON、事实台账 Markdown 与沟通偏好画像 |
| willfate_profile_ingestA | 将用户直述的客观现实事实写入本地长期记忆库与事实台账(严禁写入命理推算结论) |
| willfate_memory_searchA | 在本地个人长期记忆库(personal_memory.db)与用户自备古籍书库(books.db)中执行 FTS5 + 稀疏向量混合检索 |
| willfate_reading_logB | 管理本地解读校准日志(~/.willfate/readings/):记录正式解读结论与应期窗口,或在现实发生后追加校准复盘 |
| baziC | 四柱八字排盘(支持出生地经度换算真太阳时、十神、神煞、藏干) |
| bazi_dayunC | 八字大运、流年、流月与交运节气推算 |
| bazi_pillars_resolveB | 已知四柱干支反推候选公历出生时间 |
| ziweiC | 紫微斗数十二宫本命盘(星曜、四化、庙旺利陷、五行局) |
| ziwei_horoscopeC | 紫微斗数大限、流年、流月、流日运限叠盘 |
| ziwei_flying_starC | 紫微斗数宫干四化飞星、转宫与立太极查询 |
| astrologyC | 西方占星本命盘与指定时刻流运行星触发(含宫位与相位) |
| astrology_advancedD | 西方占星次限推运(secondary_progression)与太阳返照盘(solar_return) |
| qimenC | 时家转盘奇门遁甲排盘(阴阳遁、局数、九宫、八门、九星、八神、格局) |
| liuyaoC | 六爻纳甲起卦排盘(本卦变卦、六亲六神、月建日辰、动爻空亡) |
| meihuaC | 梅花易数起卦排盘(体用生克、互卦变卦) |
| daliurenC | 大六壬起课(天地盘、四课、三传、神将、课体) |
| xiaoliurenC | 小六壬起课与掌诀推演 |
| taiyiD | 太乙神数排盘 |
| tarotC | 塔罗牌阵抽取与牌面结构信息 |
| almanacC | 择日万年历与当日干支宜忌神煞 |
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 22 tools
Each divination system (bazi, ziwei, qimen, liuyao, meihua, daliuren, xiaoliuren, taiyi, tarot, astrology) is a clearly separate tool with a distinct method, and the sub-tools (astrology_advanced, bazi_dayun, ziwei_horoscope) are scoped to distinct chart layers. The only mild overlaps are willfate_doctor vs willfate_warmstart (both environment/init concerns) and willfate_profile_get vs willfate_memory_search (both read local personal data), but descriptions distinguish them adequately.
All names are lowercase snake_case and follow a recognizable {system}_{subfunction} pattern, which is readable. However, the willfate_ prefix is applied to only a subset of tools (doctor, warmstart, profile_*, memory_search, reading_log) while core chart tools are bare, and some suffixes are adjectives (astrology_advanced) rather than actions, so the convention is mixed.
22 tools is on the heavy side, but the server covers roughly ten distinct divination systems plus profile/memory management, so each system getting 1-3 tools is justified rather than redundant. No obvious filler tools are present.
Chart casting is well covered across many traditions, plus a reading log, memory search, and diagnostics. However, the long-term memory/profile surface is write-and-read only: there is no way to correct, update, or delete stored facts, profile entries, or reading-log records, which is a notable gap for a persistent memory system.