Skip to main content
Glama

0523 Public — Taiwan Logistics & Customs

台灣進口稅金試算

lucky_import_tax_estimate
Read-onlyIdempotent

試算進口台灣的法定稅費,與 0523.tw 官方試算(/c/、/search 同一資料)一致:進口關稅(所有貨物都適用,稅率可能為 0%)+營業稅 5%(一律課徵)+依稽徵規定自動判定的貨物稅(T/T*)/酒稅(B/B*,需 volume_liters 與 alcohol_degree)/菸稅(C,需 tobacco_sticks)+推廣貿易服務費 0.04%,並判斷 NT$2,000 小額免稅(菸酒不適用;半年逾 6 次不適用)。必填 currency_code 與 price_foreign;hs_code 沒給時可用 product_description 讓 AI 自動分類。回傳含海關旬別匯率換算、稅費細項、總落地成本(不含台灣段新竹物流超材費——大型包裹不分海快/空運另計,用 lucky_hct_oversize_fee 試算)。金額 TWD,僅供參考,實際以海關核定為準。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hs_codeNoCCC 稅則號別 4–11 碼(選填)。可先用 lucky_ccc_predict 查。
quantityNo數量,預設 1。
width_cmNo寬(公分)。
height_cmNo高(公分)。
length_cmNo長(公分,選填;三個尺寸一起給才會算材積)。
weight_kgNo重量(公斤,選填;有給會一併算運費)。
currency_codeNo必填。商品計價幣別 3 碼代碼,如 CNY、USD、JPY、EUR、TWD。
price_foreignNo必填。外幣計價的商品金額(會依海關旬別匯率換算 TWD)。
shipping_modeNo運送方式:sea 海快(預設)/ air 空運。
volume_litersNo酒類容量(公升,酒類才需要)。
alcohol_degreeNo酒精度 %vol(酒類才需要)。
tobacco_sticksNo菸支數(菸品才需要)。
insurance_foreignNo保險費(外幣,選填)。
over_exempt_limitNo半年內已進口逾 6 次(免稅額度用完)→ true 強制課稅試算。
product_descriptionNo商品名稱/描述(選填)。沒給 hs_code 時會用 AI 自動分類出 CCC 稅則。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes完整結構化結果。欄位依工具而異,與 content[0].text 內附的 JSON 完全相同。
sourceYes資料來源,固定為 0523.tw。引用時請註明。
summaryYes一行白話結論,已把關鍵數字算好,可直接引用回覆使用者;無摘要時為空字串。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

With annotations readOnlyHint=true and idempotentHint=true, the description adds substantial behavioral context: the exact tax calculation logic (using customs decadal exchange rates), the NT$2,000 small-amount exemption rules including exceptions (tobacco/alcohol, six-month frequency limit), exclusions (oversize fee), and a disclaimer that results are reference-only pending customs approval. It complements the annotations without contradiction.

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 a single dense paragraph but every sentence adds value. It's front-loaded with the core purpose, then systematic breakdown of taxes, input requirements, and exclusions. It could be split into bullets for easier scanning, but given the complexity, the length is justified and there is no redundancy.

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?

Given 15 parameters, an output schema, and a complex multi-tax calculation, the description is remarkably complete. It covers included taxes, exemption logic, exchange rate derivation, exclusions, a pointer to a sibling tool for oversize fees, and a disclaimer. The output schema handles return details, so the description's summary of return contents is sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema_description_coverage is 100%, the description adds critical relational meaning: it identifies currency_code and price_foreign as required, explains that volume_liters and alcohol_degree are needed for liquor tax and tobacco_sticks for tobacco tax, and clarifies that product_description enables AI classification when hs_code is absent. This goes beyond individual schema descriptions to explain how parameters interact in the calculation.

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 opens with '試算進口台灣的法定稅費' (estimate legal import taxes to Taiwan), a specific verb+resource definition. It lists all tax components (import duty, business tax, commodity/liquor/tobacco tax, trade promotion fee) and explicitly distinguishes itself from sibling tools like lucky_ccc_tariff_lookup and lucky_hct_oversize_fee by stating its scope and pointing to the latter for oversize fees.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly states when to use the tool: for full tax estimation, and explicitly says the result excludes Taiwan local HCT oversize fees, directing users to lucky_hct_oversize_fee for large packages. It also explains when to provide hs_code vs product_description (AI auto-classification when hs_code missing), and notes required fields despite the schema marking them as optional. This provides strong when/when-not guidance.

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