Skip to main content
Glama

AmLichVietNam MCP

Search the Zi Wei knowledge base

search_tuvi_kb
Read-onlyIdempotent

Full-text search (BM25, diacritics optional) over the Zi Wei knowledge base with filters (star, palace, branch, brightness, transformation, period, topic). Requires birth_date, birth_time, and gender, or a ChartFacts chart. Returns source passages with citation codes; restricted classical texts are cut to 200 characters. Free calls return at most 3 hits. Source file paths are not returned.

Input Schema

NameRequiredDescriptionDefault
qYesSearch text (Vietnamese)
chiNo
hanNo
hoaNo
leapNo
starNo
chartNoKnowledge-base ChartFacts (advanced)
limitNoRequested hit cap; free responses are capped at 3
topicNo
genderNo
palaceNo
calendarNo
birth_dateNoBirth date YYYY-MM-DD
birth_timeNoBirth time HH:mm (24h)
brightnessNo

Output Schema

NameRequiredDescriptionDefault
dataYes
tierYes
toolYes
gatedNo
quotaNo
sourceYes
disclaimerYes
source_urlYes
attributionYes
method_noteYes
upgrade_urlYes
generated_atYes
algorithm_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, closed-world), yet the description adds a lot beyond them: restricted classical texts are truncated to 200 characters, free-tier calls return at most 3 hits, and source file paths are withheld from results. These are exactly the constraints that change how an agent plans and interprets results, and they are disclosed up front rather than left to be discovered.

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?

Four dense sentences, front-loaded with the core mechanism, then prerequisites, then result behavior and limits. Every sentence carries non-redundant information and the ordering follows how an agent would actually reason about the call.

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?

With a rich output schema present, the description correctly avoids explaining return values and instead spends its budget on prerequisites, truncation, and free-tier caps. The remaining gap is the unexplained behavior of the non-schema filters (transformation, period) and the absence of any statement on how multiple filters combine, which matters for a 15-parameter tool.

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 only 33% across 15 parameters, so the description needs to compensate, and it partially does by enumerating filter categories (star, palace, branch, brightness, topic) and flagging that diacritics in q are optional. But it gives no detail on han, hoa, chi, leap, or calendar, and it advertises 'transformation' and 'period' filters that do not appear in the schema properties at all, leaving a mismatch the agent must resolve on its own.

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 states a concrete verb and resource ('Full-text search ... over the Zi Wei knowledge base'), names the retrieval mechanism (BM25), notes diacritic tolerance, and enumerates the filter dimensions. That makes the tool's function unambiguous. It falls short of a 5 because it never distinguishes itself from siblings such as search_knowledge or get_tuvi_kb_star, which an agent could easily confuse with a filtered KB search.

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?

The key gating requirement is stated: the caller must supply either birth_date/birth_time/gender or a ChartFacts chart, which is genuinely useful context for deciding whether this tool is callable. However, there is no guidance on when to prefer this over the many sibling search/get tools, and no explicit exclusions or alternative routing.

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.