Skip to main content
Glama

Shop Duty Desk

Estimate duty, VAT and landed cost

landed_cost_estimate
Read-onlyIdempotent

Estimate the duty, VAT and total landed cost of an item shipped to the UK, US or EU from a tariff line. Use it for "what will import duty and VAT be on this?". Pass hs_code (a full tariff line, a candidate, not binding), destination (UK, US, EU), goods_value and shipping in one currency; optional origin, and country (member state) for EU VAT. UK and US duty rates are read from the official tariffs; EU duty is not looked up. Returns duty, VAT and total with the rate, basis, sources and date. A rate that is not a plain percentage is returned as text with no amount. US chapter 99 additional duties are not included.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
originNo2-letter country the goods come from (optional)
countryNoEU member state for the VAT rate, such as DE (EU destination)
hs_codeYesA full tariff line (UK 10 digits, US 8 or 10 digits), a candidate, not binding. EU rates are not looked up.
shippingYesShipping and insurance to the destination, in the same currency
destinationYes
goods_valueYesValue of the goods, in the one currency used for every amount (no conversion is done)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
vatYes
dutyYes
as_ofYes
notesYes
totalYes
hs_codeYes
sourcesYes
completeYes
shippingNo
hs_statusYes
destinationYes
goods_valueNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, openWorld, non-destructive), yet the description adds real behavioral detail beyond them: the returned fields (rate, basis, sources, date), the non-percentage-rate-as-text failure mode, the EU duty lookup gap, and the exclusion of US chapter 99 additional duties.

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 but front-loaded: purpose first, then inputs, then return shape, then caveats. Every sentence carries information, though the caveat cluster (EU duty, text-only rates, chapter 99) packs a lot into a short span.

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?

For a six-parameter estimation tool with an output schema, this covers the essentials an agent needs: required inputs, currency constraint, EU VAT member-state handling, return shape, and the known data gaps that could otherwise cause silent misinterpretation of results.

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

Parameters4/5

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

Schema coverage is 83%, so most parameters are already documented. The description still adds meaning: hs_code is 'a candidate, not binding,' all amounts must share one currency with no conversion done, and 'country' supplies the EU member-state VAT rate. These clarify intent rather than restating 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?

States a specific verb+resource ('estimate duty, VAT and total landed cost') and pins the scope to UK/US/EU shipments from a tariff line. It also implicitly differentiates from the eu_duty_estimate sibling by stating 'EU duty is not looked up.'

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?

Gives a clear trigger phrase ('what will import duty and VAT be on this?') and a usable when-to-use context. It does not explicitly route an agent to the sibling eu_duty_estimate when full EU duty data is wanted, and the 'destination can be EU but EU duty is not looked up' nuance is left for the agent to reconcile.

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