Skip to main content
Glama

China Visa & Regulation Data

Check China visa-free eligibility

check_visa_free_eligibility
Read-only

Use when someone asks whether a passport holder can enter mainland China without a visa, and for how long. Inputs: "nationality" (English country name, e.g. "Germany"). Output: JSON with visa_free_for_ordinary_passports, max_days, and every applicable route (30-day unilateral exemption, mutual agreements, 240-hour transit, Hainan 30-day) with conditions, validity dates and official NIA/MFA/embassy source links; dataset last checked 2026-10-18. Not legal advice. Cost: 1 prepaid credit per call with "Authorization: Bearer "; without credits it returns a 402 payment_required result with buy links (see get_pricing).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nationalityYesCountry name in English, e.g. "Germany", "United States".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only cover read-only and closed-world semantics; the description adds substantially more: per-call cost (1 prepaid credit), the exact 402 payment_required failure mode with buy links, a 'not legal advice' caveat, and a dataset freshness date. This is the kind of operational context annotations cannot express.

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?

Dense single paragraph that front-loads the trigger, then inputs, then outputs, then cost — a sensible priority order. Slightly overpacked, with the input example duplicating the schema and the source-link inventory bordering on excess, but every clause carries real information.

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?

There is no output schema, and the description compensates by naming the return fields (visa_free_for_ordinary_passports, max_days) and the route taxonomy with conditions, validity windows and sources. Combined with the cost and failure-mode disclosure, an agent has everything needed to call and interpret it.

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 single parameter is already documented there, so the description's 'English country name, e.g. Germany' adds no new syntax or format detail. Per the rubric, a fully covered single-param schema defaults to baseline 3.

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?

States a specific verb+resource ('whether a passport holder can enter mainland China without a visa') and even scopes the answer to duration. The 'mainland China' qualifier cleanly separates it from any sibling that might cover other regions, and the output summary makes the tool's contract unambiguous.

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?

Opens with an explicit trigger ('Use when someone asks whether...'), which is exactly the when-to-use guidance an agent needs. It also routes the agent to get_pricing for the credit-purchase path. It stops short of stating when NOT to use it (e.g., Hong Kong/Macau/Taiwan, or non-ordinary passports), which is the only reason it isn't a 5.

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