Skip to main content
Glama

logistics_landed_cost

Read-only

Import landed cost calculator — Full landed cost of an import shipment. Give value (goods invoice value in USD, excluding international freight and insurance) and optionally freight, insurance, dutyRate (percent, from /v1/trade/hts-lookup), extraRate (Section 301/232 or other additional tariff percent), brokerage, inland, other, mode (ocean, air, truck, rail), country (US default; CIF-basis countries like GB/DE get duty on CIF), vatRate, qty and price (unit sell price). For US entries adds the Merchandise Processing Fee (0.3464%, FY2027 min $34.58 max $670.86; informal entry $2.77) and Harbor Maintenance Fee (0.125%, ocean). Returns customs value, line-item breakdown with shares, duties and fees, landed cost, multiplier, unit landed cost and unit margin with a verdict. Offline, instant. Price: $0.004 USDC (Base, via x402).

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": {
      "value": "<value>"
    },
    "name": "logistics_landed_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYese.g. 12000

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already mark it readOnly/openWorld/non-destructive, and the description adds substantial context: US-specific fee formulas (MPF 0.3464%, HMF 0.125%), 'offline, instant' execution, and critically the per-call price ($0.004 USDC via x402). The x402 payment disclosure is meaningful behavioral information not in annotations.

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

Conciseness3/5

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

Purpose is front-loaded, but the middle devolves into one dense parenthetical run-on enumerating every optional parameter before the return-value sentence. Most content earns its place, yet the parameter enumeration reads like schema documentation rather than guidance, hurting parseability.

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 fee-bearing financial calculator with no output schema, the description compensates by describing return values (customs value, line-item breakdown, landed cost, multiplier, unit margin with verdict). The remaining gap is the mismatch between the many documented inputs and the single-parameter schema.

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?

Adds rich meaning to individual inputs: value excludes international freight/insurance, dutyRate is a percent from hts-lookup, extraRate covers Section 301/232, mode enum values, and country defaults with CIF-basis notes. However it documents ~13 parameters that the actual schema (only 'value') does not expose, creating a description/schema mismatch that weakens reliability.

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 and scope: 'Import landed cost calculator — Full landed cost of an import shipment.' An agent can immediately distinguish this from logistics_dim_weight or logistics_freight_class by the 'landed cost' compute task.

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?

Implies usage (import shipment costing) and usefully points to where dutyRate comes from ('from /v1/trade/hts-lookup'), giving some routing context. But it never states when NOT to use it or contrasts it with any explicit alternative among the many logistics siblings.

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