Skip to main content
Glama

Othermile border costs

Border cost check

border_quote
Read-onlyIdempotent

Estimate duties, tariffs, taxes and fees for goods moving into Canada or the US, by parcel or freight (truck, rail, air, ocean), and whether any item is banned. Gives who pays under the Incoterm, and what the exporting country requires. Use before buying from or shipping across the border.

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": {
      "from": "<from>",
      "to": "<to>",
      "mode": "<mode>",
      "items": "<items>"
    },
    "name": "border_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesCountry the parcel goes to: CA or US
dateNoDate the parcel enters the destination country
fromYesCountry the parcel ships from
modeYesmail or courier for parcels (low value allowances apply); road (truck), rail, air, sea or inland_waterway for commercial freight
itemsYesThe products in the parcel, one entry per product
paidByNoWho pays border charges: the customer at the door (DAP), or the seller in advance (DDP). Ignored when incoterm is givencustomer
regionNoDestination province or state, for example AB or ON
freightNoInternational transport cost in the destination currency, to split costs by the Incoterm
incotermNoIncoterms 2020 term of sale; FAS, FOB, CFR and CIF are for sea and inland waterway
personalNotrue when a person buys the goods for their own use, as a shopper's parcel is; some surtaxes spare those. Leave out for a business import
insuranceNoCargo insurance cost in the destination currency

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / items / description
      Added value: +"The products in the parcel, one entry per product"
    • addedInput schema / properties / items / items / properties / currency / description
      Added value: +"Currency of the amounts: CAD for Canadian dollars, USD for US dollars"
    • addedInput schema / properties / items / items / properties / description / description
      Added value: +"What the item is, in a few words, for example cotton T shirt"
    • addedInput schema / properties / items / items / properties / qty / description
      Added value: +"How many of this item are in the parcel; 1 if left out"
    • addedInput schema / properties / to / description
      Added value: +"Country the parcel goes to: CA or US"
  2. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / items / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / items / items / properties / qty / maximum
      Added value: +9007199254740991
  3. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior. The description adds calculation scope and outputs, including cost components, banned status, Incoterm payer, and export requirements, but it does not state assumptions, rate validity, or that the estimate is non-binding.

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?

Three compact sentences, front-loaded with what the tool does and followed by when to use it. There is no repeated or filler wording.

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?

The schema is rich and annotations cover safety, but there is no output schema. The description gives only a partial view of the return, costs, payer, and export requirements, and omits assumptions or output shape for a complex 11-parameter estimator.

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%, so the schema already documents all 11 parameters, enums, and examples. The description only restates high-level scope such as CA/US, parcel/freight, and Incoterm, adding no syntax or edge-case meaning beyond the schema.

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?

States a specific verb, 'Estimate', and a precise scope: duties, tariffs, taxes and fees for goods into Canada or the US by parcel or freight, plus banned-item and Incoterm/export checks. It does not name sibling alternatives, so it stops short of full sibling differentiation.

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 when-to-use trigger: 'Use before buying from or shipping across the border.' It does not state when-not to use it or route the agent to alternatives such as door_cost_estimate or border_rules_status.

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