Skip to main content
Glama

api_bazi_nayin

Read-onlyIdempotent

Calculate traditional NaYin labels for all four accurately calculated Four Pillars from local birth time. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "date": "<date>",
      "time": "<time>"
    },
    "name": "api_bazi_nayin"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesdate; see operation description for units and format
timeYestime; see operation description for units and format

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and non-destructive, so the safety profile is covered. The description goes meaningfully beyond that by disclosing the paid access model (0.01 USDC on Base x402) and the credential mechanism (X-Provider-Key header for customer-owned provider keys), which an agent must know before invoking.

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?

Two sentences, front-loaded with the purpose, followed by the billing and auth facts. Nothing is redundant, though the payment/credential sentence is dense and could be split for scanability.

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

Completeness3/5

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

There is no output schema, yet the description does not characterize the return value beyond implying four labels, nor does it specify the date/time string format it explicitly defers to. For an open-world, paid computation tool with two required string inputs, that leaves a gap an agent could trip over.

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

Parameters3/5

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

Schema description coverage is nominally 100%, so the baseline is 3. However both parameter descriptions are circular ('see operation description for units and format') and the description only adds the phrase 'local birth time', clarifying that the time is not UTC but leaving the actual string format for date and time unspecified.

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

Purpose4/5

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

The description uses a specific verb and resource ('Calculate traditional NaYin labels for all four ... Four Pillars') and scopes the input to 'local birth time', so an agent knows exactly what computation is performed. It stops short of naming sibling tools such as api_bazi_four_pillars or api_bazi_ten_gods, so the boundary between NaYin labels and the other BaZi operations is left implicit.

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

Usage Guidelines3/5

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

'from local birth time' implies the situation in which the tool applies and carries a precondition about the time basis, but there is no explicit when-to-use guidance, no statement of prerequisites (e.g., deriving pillars first), and no named alternative among the many api_bazi_* siblings. Usage must be inferred rather than read.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources