Skip to main content
Glama

TradeCheck MCP — UK & Global Trade Compliance Engine

freight_landed_cost

Read-onlyIdempotent

[tariff | $0.07/call] Deterministic UK/US landed cost calculator in integer minor units covering CIF/FOB valuation, £135 UK de minimis, VAT, preferential rates, Section 301/232 stacking, US MPF, and Ocean HMF.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "originIso2": "<originIso2>",
      "destination": "<destination>",
      "code": "<code>",
      "customsValue": "<customsValue>",
      "freightCost": "<freightCost>",
      "insuranceCost": "<insuranceCost>",
      "currency": "<currency>",
      "incoterm": "<incoterm>",
      "transportMode": "<transportMode>"
    },
    "name": "freight_landed_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes6- to 10-digit UK commodity code or US HTS tariff code (dots optional).
currencyYesMonetary currency matching the destination ('GBP' for GB imports, 'USD' for US imports).
incotermYesShipment Incoterms 2020 delivery basis controlling CIF/FOB customs valuation ('EXW', 'FOB', 'CIF', or 'DDP').
originIso2YesTwo-letter uppercase ISO 3166-1 alpha-2 country of origin code (e.g. 'CN', 'DE', 'US').
destinationYesImport destination customs jurisdiction: 'GB' (United Kingdom) or 'US' (United States).
freightCostYesInternational freight shipping cost in major currency units (>= 0).
customsValueYesDeclared commercial value of the goods in major currency units (must be > 0).
insuranceCostYesCargo transit insurance cost in major currency units (>= 0).
transportModeYesPrimary freight transport mode ('OCEAN' applies US Harbor Maintenance Fee on US imports; 'AIR', 'COURIER', or 'ROAD').
tradeAgreementCodeNoOptional preferential trade agreement code to apply reduced duty rates when eligible (e.g. 'EU', 'USMCA', 'CPT').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-open-world behavior, so the bar is lower, and the description still adds real value: it states the tool is deterministic (same inputs, same result), that results are returned in integer minor units rather than decimal currency, and that calls are metered at $0.07/call. What it does not disclose is the shape of the returned cost breakdown, which matters given no output schema exists.

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?

It is a single dense sentence with the pricing tag front-loaded and the calculation scope following immediately; every clause names a concrete cost component rather than padding. No sentence is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter, 9-required financial calculator with no output schema, the description conveys the domain and the output unit convention but says nothing about the returned duty/tax/fee breakdown or how partial eligibility (e.g. a preferential trade agreement code that doesn't qualify) is handled. It is adequate to attempt a call but leaves meaningful gaps about the result.

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%, with each of the 10 parameters documented, including enums and patterns, so the schema carries the parameter burden. The description only indirectly touches parameters by naming CIF/FOB valuation (tied to the incoterm field) and Ocean HMF (tied to transportMode), adding no syntax or format detail beyond the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('landed cost calculator') and enumerates the exact regimes it covers (CIF/FOB valuation, £135 de minimis, VAT, Section 301/232, MPF, HMF), so an agent knows precisely what computation it performs. It does not distinguish itself from the sibling 'freight_landed_cost_batch', which is the only thing keeping it from a 5.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no sibling alternative (e.g. the batch variant) is referenced. Usage is only faintly implied by the UK/US scope and the HMF/Ocean detail, leaving the agent to infer that this handles a single shipment line rather than a batch.

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.