Skip to main content
Glama

AmLichVietNam MCP

Retrieve knowledge for a chart [api_plus/api_pro]

retrieve_tuvi_kb_for_chart
Read-onlyIdempotent

[api_plus/api_pro] For AI readings: from a chart (birth_date, birth_time, and gender, or ChartFacts) return the most relevant knowledge-base passages with fact_id and citation codes, within a token budget. Free callers receive upgrade_required (isError false).

Input Schema

NameRequiredDescriptionDefault
leapNo
chartNoKnowledge-base ChartFacts (advanced)
genderNo
calendarNo
birth_dateNoBirth date YYYY-MM-DD
birth_timeNoBirth time HH:mm (24h)
max_tokensNo
access_codeNoMã chat ngắn hạn, chỉ khi client không gửi được header Authorization

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

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, closed-world), so the description's added value is in tier and response behavior. It discloses that free callers get an upgrade_required result with isError false — a genuinely useful non-obvious trait that prevents an agent from misreading a declined call as a failure — plus that output is truncated to a token budget. It does not say what happens when neither input path is satisfied despite the anyOf.

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?

One dense sentence with the subject and input modes front-loaded, followed by output shape and then the free-tier caveat. The '[api_plus/api_pro]' tier prefix earns its place by flagging plan gating, though the stacked parenthetical input list is slightly harder to parse than a short clause would be.

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?

An output schema exists, so return values need not be spelled out, and the tier behavior is covered. Still missing for a tool with nested objects and two enum-constrained fields: any statement about relevance/ranking, ordering, or how many passages a given max_tokens yields — details an agent needs to choose this tool confidently over the plain search sibling.

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?

With 8 parameters and 50% schema description coverage, the description partially compensates by clarifying the two mutually exclusive input paths (three birth fields versus a ChartFacts object) and by implying max_tokens via 'within a token budget'. Undocumented elsewhere: leap, calendar, and access_code, the last of which carries Vietnamese-only schema text and non-obvious auth fallback semantics that the description does not reinforce.

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?

States a specific verb and resource: return knowledge-base passages for a chart, naming the accepted chart inputs (birth_date, birth_time, gender, or ChartFacts) and the return units (fact_id, citation codes). It is clearly distinct from lookup-style siblings like search_tuvi_kb by being chart-scoped, but it never explicitly names an alternative, so full sibling differentiation is only implied by the input shape.

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 phrase 'For AI readings' signals the intended use context, and the token-budget framing implies retrieval for generation rather than browsing. However, there is no explicit when-to-use versus when-not guidance and no named alternative (e.g. search_tuvi_kb or get_tuvi_kb_star) for agents that do not already hold a chart.

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.