Skip to main content
Glama
alexsu1212

freebazi-mcp

Search birth cities

search_cities

Find a city by English or Chinese name to get its country, longitude, and IANA time zone, enabling accurate True Solar Time for a BaZi chart.

Instructions

Search the built-in city list (about 490 major world cities) by English or Chinese name. Returns matches with their country, longitude, and IANA time zone, so you can pass an exact city to compute_bazi_chart for accurate True Solar Time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesCity name or prefix, English or Chinese, e.g. 'Taipei', '台北', 'New York'
Install Server

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are provided, so the description carries the burden. It states the tool searches a built-in, finite list and names the returned fields: country, longitude, and IANA time zone. This makes the read-only, bounded nature clear, though matching behavior and result limits are not detailed.

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

Conciseness5/5

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

Two sentences deliver the core purpose, result contents, and downstream use case with no filler. The most useful guidance (returns fields and compute_bazi_chart integration) appears early and compactly.

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

Completeness5/5

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

For a single-parameter search tool, the description is complete enough: it names the input language options, the source list size, the return fields, and the intended downstream workflow. Since there is no output schema, listing the return fields in prose is especially valuable.

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 100%, and the query parameter already documents types and examples. The tool description adds contextual value by explaining the purpose of the query but does not substantially extend parameter semantics beyond the schema.

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 ('Search the built-in city list') and the resource, with specificity about the ~490 cities and name input. It also distinguishes itself from sibling compute_bazi_chart by positioning itself as the lookup step before that chart computation.

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 description explicitly connects usage to compute_bazi_chart: 'so you can pass an exact city to compute_bazi_chart for accurate True Solar Time.' This gives clear context for when to use the tool, though it does not explicitly mention when not to use it.

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

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/alexsu1212/freebazi-mcp'

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