Skip to main content
Glama

Balance Engine · Deterministic Time Layer

Date lookup · 日期查表

date_lookup

This tool looks up a deterministic rules engine. Same day → same answer. Do not invent pillars. Call when the user asks for a civil date 1900–2100: lunar date, day pillar, solar term, or 农历 / 阴历 / 节气 / lunar date / day pillar. Returns lunar date and ganzhi, then body (sleep/load) and this month’s fold year. Public · local · no API key.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "date_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoDate YYYY-MM-DD. Default: today in Asia/Shanghai. Any date 1900–2100.
hourNoClock HH:MM or 时支 like 申. Adds the hour pillar.
localeNoReply language. zh (default) or en.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description does real work: it declares determinism ("Same day → same answer"), scope limits (1900–2100), and deployment facts ("Public · local · no API key"), all of which affect whether and how an agent may call it. It stops short of describing failure behavior for out-of-range dates or what "fold year" and "body (sleep/load)" actually contain, leaving return semantics underspecified.

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 compact and front-loads the determinism guarantee and the call trigger before the return summary. A few clauses are telegraphic and stacked with slashes and parentheses ("body (sleep/load)", "this month’s fold year"), which reads as shorthand rather than clean prose, but nothing is truly redundant.

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 zero-required-parameter lookup with no annotations and no output schema, the description covers range limits, the deterministic contract, auth/hosting posture, and a rough return inventory — enough to invoke it confidently. The remaining gap is that the returned fields are named in internal jargon without explanation, so an agent knows the shape only approximately.

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 coverage is 100%, so the meaning of date, hour, locale, their defaults and the enum is already fully documented. The description adds only the incidental fact that supplying an hour enables the hour pillar, which is essentially a restatement of the schema. Baseline 3 applies.

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?

"Looks up a deterministic rules engine" pairs a specific verb with a specific resource, and the call-condition sentence enumerates the exact outputs (lunar date, day pillar, solar term). It does not name or distinguish itself from plausible siblings such as solar_terms or body_rhythm, even though it claims to return body (sleep/load) data, so an agent cannot fully rule those out from this text alone.

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?

The trigger is explicit: "Call when the user asks for a civil date 1900–2100" with a list of query types and Chinese keyword variants (农历 / 阴历 / 节气), which is strong routing signal for non-English phrasing. There is no explicit when-not clause or named alternative for overlapping cases like solar_terms, and the "Do not invent pillars" line is a correctness warning rather than usage scoping.

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