Skip to main content
Glama
whaizaixiang

知耘排盘 MCP Server

by whaizaixiang

保存命盘记录

record_save

Save a BaZi or Liu Yao chart under a custom name (e.g., '张三的八字') for one-step retrieval and interpretation. After casting, ask the user to save it for quick access by name.

Instructions

把排盘结果保存为带名字的记录(如「张三的八字」),保存后用户下次直接说「看张三的八字」即可加载命盘并深度解读。排完盘后应主动询问用户是否保存(「需要我把这份命盘保存为『张三的八字』吗?下次直接说名字就能看」)。需要已配置账号。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes完整排盘数据对象(bazi_paipan / liuyao_paipan 的返回对象),内部会自动附带 _input 输入标记
nameYes记录名字,如「张三的八字」
typeYes记录类型:bazi=八字 / liuyao=六爻
_inputNo输入参数标记:{year, month, day, hour(字符串,未知传*), gender, lunar, leap},通常由排盘参数自动生成,可省略
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It discloses that the tool prompts the user before saving (with an example quote), requires a configured account, and results in records that can be loaded by name. It could mention duplicate/overwrite behavior, but the provided transparency is above average.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences and front-loaded with the core purpose. The second sentence includes a quoted prompt, which is actionable and not redundant. Every sentence contributes value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a save tool, the description covers the full workflow: saving, user confirmation, account requirement, and future loading. No output schema is present, but the outcome is clear. It lacks error handling details, but that's acceptable given the conversational context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers 100% of parameters, so baseline is 3. The description adds meaning by explaining that the name is used as a trigger phrase for future loads and gives the example '张三的八字', while data is described as the complete chart object. This exceeds the schema's bare descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action: 'save chart result as a named record' (把排盘结果保存为带名字的记录), and distinguishes it from siblings like record_list/record_load by explaining how the saved record can be loaded later via name. The verb 'save' and resource '命盘记录' are specific and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides a clear trigger condition: after completing a chart (排完盘后), the agent should proactively ask the user if they want to save. It also notes the prerequisite of having a configured account. While it doesn't explicitly compare with alternatives, the context is sufficient for an agent to know when to invoke this tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/whaizaixiang/paipan-mcp'

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