Skip to main content
Glama

get_tariff

Expert-verified import duty and Italian import VAT for any EU HS/CN code. Returns the practitioner-verified third-country duty where available; for every other valid code it still returns the normalized/validated code, the applicable Italian import VAT rate, and a direct deep link to the official EU TARIC page — so you always get a usable answer. Use it to estimate landed cost or confirm the duty on a classified good. Duty rates change over time, so treat this as reference, not a binding ruling. Cost: $0.25 per call, paid automatically via x402 (USDC micropayment over HTTP 402). Example code: '6109100010'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNoHS/CN tariff code to look up (6-10 digits; spaces or dots allowed), e.g. '6109 10 00' or '8471300000'.
langNoResponse language: 'en' (default) or 'it'.

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it explains fallback behavior (returns a normalized code, Italian VAT rate, and TARIC link even when a practitioner-verified duty is unavailable), the automatic x402 payment model, and the non-binding reference nature of the data. This goes well beyond a bare operation statement.

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 information-dense but every major point earns its place: purpose, fallback behavior, primary use case, data volatility caveat, pricing/payment method, and an example. It is slightly long, but the density is justified; key purpose is front-loaded in the first sentence.

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?

There is no output schema, so the description reasonably covers what the caller receives: duty when available, normalized code, Italian VAT rate, and a TARIC deep link. The payment mechanism and example round out the practical context needed to invoke the tool correctly. A fully formal return structure is missing, but the description is sufficient for an agent to use the 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 100%, so the baseline is 3. The description adds a concrete example code and clarifies that the returned code is normalized/validated, but it does not materially expand on the parameter definitions already present in 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 opens with a specific verb and resource: 'Expert-verified import duty and Italian import VAT for any EU HS/CN code.' This cleanly distinguishes get_tariff from siblings like classify_product, get_origin_rule, and check_restrictions by naming the exact data domain (duty/VAT) and input type (HS/CN code).

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?

It explicitly tells the agent when to use it: 'Use it to estimate landed cost or confirm the duty on a classified good.' While it does not name alternative sibling tools or say when not to use it, the use cases are concrete and clearly scoped, and the caveat about rates changing adds a practical boundary.

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.

TDQS

A4.4/5.0
Disambiguation4/5

Each tool targets a distinct customs sub-domain (classification, tariff, restrictions, origin, procedures), but ask_customs is a general-purpose fallback that intentionally overlaps with several specialized tools, and classify_product also surfaces restriction flags alongside check_restrictions. This creates minor boundary ambiguity, though the descriptions largely clarify which tool to choose.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern: ask_customs, check_restrictions, classify_product, get_origin_rule, get_procedure, get_tariff, list_catalog. The naming is uniform and predictable with no mixed conventions or vague verbs.

Tool Count5/5

Seven tools is a well-scoped size for a customs advisory server. Each tool represents a meaningful category of customs knowledge, and none feel redundant or unnecessary. The free list_catalog tool also helps orient users without adding clutter.

Completeness4/5

The tool surface covers the major customs advisory areas: classification, duty/VAT, restrictions/sanctions, preferential origin, special procedures, and general Q&A. Minor gaps exist—such as dedicated customs valuation or post-clearance assistance—but ask_customs can serve as a catch-all for those edge cases, so the coverage is solid overall.

Resources