Skip to main content
Glama
SoapyRED

FreightUtils MCP Server

uk_duty_calculator

Read-onlyIdempotent

Calculate UK import duty and VAT for any commodity code using live tariff data. Input goods value, origin, and costs to get CIF-based duty and standard VAT estimates.

Instructions

Estimate UK import duty and VAT for any commodity code.

Uses live GOV.UK Trade Tariff data. Calculates CIF value from goods value + freight + insurance, applies the appropriate duty rate, then calculates VAT (standard 20%) on the duty-inclusive value.

Use this tool when you need to:

  • Estimate import costs for UK-bound shipments

  • Check duty rates for specific HS/commodity codes

  • Compare landed costs for different origin countries

  • Determine if preferential rates apply

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commodity_codeYesHS/tariff code (6–10 digits, e.g., "847989")
origin_countryYesISO 2-letter origin country code (e.g., "CN", "DE")
customs_valueYesGoods value in GBP
freight_costNoFreight cost in GBP (added to CIF value)
insurance_costNoInsurance cost in GBP (added to CIF value)
incotermNoIncoterm (e.g., "FOB", "CIF", "EXW")
Behavior4/5

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

Annotations already indicate read-only, non-destructive, idempotent behavior. The description adds context about using live GOV.UK data, calculating CIF, and applying duty/VAT sequentially. It doesn't mention limitations like data freshness or error handling, but the added detail is sufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise with a clear opening sentence, a brief explanation of the calculation, and a bulleted list of use cases. No unnecessary words; each sentence adds value.

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?

For a calculator tool without an output schema, the description explains the calculation steps but does not explicitly list the output fields (e.g., duty amount, VAT, total). However, the purpose and process are clear enough for an agent to infer the expected return values.

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 100% with descriptions. The description adds meaning by explaining how parameters contribute to the CIF calculation and duty/VAT application, providing context beyond 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 clearly states it estimates UK import duty and VAT for any commodity code, using a specific verb+resource. Among sibling tools, none appear to cover duty/VAT calculation, making its purpose distinct and well-defined.

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?

The tool provides a list of explicit use cases (estimate import costs, check duty rates, etc.). It does not mention when not to use, but the listed scenarios are clear and cover common needs. Alternatives among siblings are not discussed, but the purpose is specific enough.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SoapyRED/freightutils-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server