time-direction
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TIME_DIRECTION_OUTPUT_ROOT | No | Specifies the root directory for generated files. Defaults to an independent directory under the system temporary directory. | |
| TIME_DIRECTION_PREVIEW_PORT | No | Sets a preferred port for the local calendar preview HTTP service. By default an available port is assigned automatically; if the preferred port is occupied, it falls back to an available port. |
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": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_qimen_chartB | 奇门时家转盘拆补/置闰局:星门神、天地干、主式和另说格局与警示;不自动判吉。 |
| get_beidou_skyB | 按每次请求的经纬度计算真实北斗七星几何方位/高度与地平线状态;没有默认城市。 |
| get_direction_factsC | 联合六壬完整式盘、奇门、贵人方、式盘斗柄、可选真实七星及每个本命;只给证据和候选,不给分数。 |
| build_election_requestB | 生成1至7日的联合择时判断材料及离线HTML;逐批读材料后由模型裁决。跨月不会漏掉窗口。 |
| build_year_electionB | 生成完整公历年度365/366日择时事实及按月加载的HTML;模型逐批判断,回填累积全年覆盖。没有默认观测城市。 |
| read_election_windowsB | 读取已生成材料中的小批次窗口;每窗包含完整式盘、方位候选和判断规则。 |
| render_election_calendarC | 合并本批与已保存判断,逐批累积;校验模型判断与全部参与者、观测点和事实版本一致后回填HTML;未指定用方的可用段必须附建议方位。 |
| preview_election_calendarB | 恢复已生成日历的本机HTTP预览;只开放该日历及配套数据脚本。MCP重启后可再次取地址,文件仍可离线打开。 |
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 8 tools
The tools mostly form a clear pipeline: compute charts/facts, build election material, read windows, render judgments, preview the calendar. The main overlap is that get_direction_facts already combines Liuren, Qimen, noble direction, and optional Beidou data, so an agent may hesitate between it and the separate get_qimen_chart / get_beidou_sky tools. The build_election_request versus build_year_election split is clear from the 1–7 day versus full-year scope.
All eight tools use snake_case with a predictable verb_noun shape: get_*, read_*, build_*, render_*, preview_*. The verbs are semantically appropriate to each operation while keeping the naming pattern fully consistent.
Eight tools is well-scoped for a specialized electional timing server. Each tool has a distinct role in the compute → build → read → render → preview workflow, with no obvious redundant or trivial entries.
The surface covers the main lifecycle: raw Qimen/Beidou computation, combined directional facts, short-range and annual material generation, window reading, judgment rendering, and local preview. Minor gaps remain, such as listing or managing previously generated calendars and any explicit cleanup or export operation, but core workflows appear workable.