Skip to main content
Glama

PaidMCP — UK & Global 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
codeYes
currencyYes
incotermYes
originIso2Yes
destinationYes
freightCostYes
customsValueYes
insuranceCostYes
transportModeYes
tradeAgreementCodeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world behavior, so the description's job is additive — and it delivers: 'deterministic' and 'integer minor units' tell the agent results are reproducible and returned in pence/cents rather than decimals, which prevents unit errors. It does not state failure behavior for unsupported origin/destination or missing trade agreement data, leaving one meaningful gap.

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?

A single front-loaded sentence with no filler; the pricing tag is short and the capability list follows the core purpose. It is dense with domain jargon, but each clause (valuation basis, de minimis, duty stacking) corresponds to real covered behavior rather than padding.

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

Completeness2/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 calculation with no output schema, the definition omits how the result is structured (breakdown vs single total), error conditions, and the meaning of most inputs. It adequately sells what the tool does but not how to call it correctly.

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

Parameters2/5

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

Schema description coverage is 0% across 10 parameters, so the description must carry the burden, yet it never explains tradeAgreementCode, transportMode, insuranceCost, or what the 6-13 digit 'code' represents (presumably a commodity/HS code). Domain terms like CIF/FOB and Ocean HMF only indirectly hint at the incoterm and transportMode enums, which is not enough for 9 required inputs.

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?

Names a specific verb+resource (landed cost calculator) and pins the exact scope: UK/US destinations, integer minor units, CIF/FOB valuation. The listed duty components (de minimis, VAT, Section 301/232, MPF, HMF) make it clearly a computation tool rather than the sibling tariff_lookup, so an agent can route between them without opening a schema.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer it applies when pricing a cross-border shipment to GB or US. There is no explicit when-to-use/when-not statement and no named alternative such as tariff_lookup for plain rate retrieval, so the agent must infer the 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.