Skip to main content
Glama

Get International Rates (Air / Ocean)

international_quote
Read-only

Air, ocean and US / Mexico cross-border truck rates for a shipment with at least one end outside the US / Canada (import, export, or between two other countries). Describe the cargo ONE way: items (pallets / pieces with dimensions), containers (ocean full container load: 20'DV, 40'DV, 40'HC), or volume (total cubic feet when piece sizes are unknown). Returns every option: mode (AIR / OCEAN / TRUCK), service (LCL, FCL, STANDARD, EXPRESS, ...), door service (door_to_door, door_to_port, port_to_door), price, transit days, ports and how long the rate is valid. door_to_port and port_to_door prices do NOT include charges at the far port; tell the user that plainly, and the user must accept those charges before booking. Not served: hazardous materials, sanctioned countries, and pickup and delivery in the same non-US country. Pricing runs live and can take up to a minute; if it times out, retry once. For domestic US freight use compare_modes or ltl_quote instead. Book the user's chosen option with international_book. Requires a signed-in Warp account.

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": {
      "pickup_date": "<pickup_date>",
      "origin": "<origin>",
      "destination": "<destination>"
    },
    "name": "international_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsNoPallets / pieces, one entry per group of identical units. Use this OR containers OR volume.
originYesPickup location
volumeNoLoose cargo by total volume when piece sizes are unknown. Use this OR items OR containers.
containersNoOcean full container load (FCL), up to 30 containers. Use this OR items OR volume.
destinationYesDelivery location
pickup_dateYesYYYY-MM-DD
pickup_servicesNoPickup accessorials at a door pickup: pickup-appointment, liftgate-pickup, residential-pickup, limited-access-pickup, inside-pickup, driver-assist-pickup. Ask when the pickup is a home, has no dock, or needs an appointment; they change the price.
delivery_servicesNoDelivery accessorials at a door delivery: delivery-appointment, liftgate-delivery, residential-delivery, limited-access-delivery, inside-delivery, driver-assist-delivery. Ask when the delivery is a home, has no dock, or needs an appointment; they change the price and are booked with the chosen option.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / delivery_services
      Added value: +{
      +  "description": "Delivery accessorials at a door delivery: delivery-appointment, liftgate-delivery, residential-delivery, limited-access-delivery, inside-delivery, driver-assist-delivery. Ask when the delivery is a home, has no dock, or needs an appointment; they change the price and are booked with the chosen option.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / pickup_services
      Added value: +{
      +  "description": "Pickup accessorials at a door pickup: pickup-appointment, liftgate-pickup, residential-pickup, limited-access-pickup, inside-pickup, driver-assist-pickup. Ask when the pickup is a home, has no dock, or needs an appointment; they change the price.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Changed26 schema fields changed
    • addedInput schema / properties / containers
      Added value: +{
      +  "description": "Ocean full container load (FCL), up to 30 containers. Use this OR items OR volume.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "commodity": {
      +        "description": "What is in them, e.g. 'Furniture'",
      +        "type": "string"
      +      },
      +      "count": {
      +        "description": "Number of containers of this size",
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "size": {
      +        "description": "Container size: 20'DV, 40'DV or 40'HC (high cube)",
      +        "enum": [
      +          "20'DV",
      +          "40'DV",
      +          "40'HC"
      +        ],
      +        "type": "string"
      +      },
      +      "weight_lbs": {
      +        "description": "Cargo weight per container, lb (max 67,200)",
      +        "exclusiveMinimum": 0,
      +        "maximum": 67200,
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "size",
      +      "count",
      +      "commodity",
      +      "weight_lbs"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 10,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • removedInput schema / properties / destination / properties / city / $ref
      Removed value: -"#/properties/origin/properties/city"
    • addedInput schema / properties / destination / properties / city / description
      Added value: +"City. Needed outside the US / Canada."
    • addedInput schema / properties / destination / properties / city / type
      Added value: +"string"
    • removedInput schema / properties / destination / properties / country / $ref
      Removed value: -"#/properties/origin/properties/country"
    • addedInput schema / properties / destination / properties / country / description
      Added value: +"ISO 3166-1 alpha-2 country code, e.g. US, CN, DE"
    • addedInput schema / properties / destination / properties / country / pattern
      Added value: +"^[A-Za-z]{2}$"
    • addedInput schema / properties / destination / properties / country / type
      Added value: +"string"
    • removedInput schema / properties / destination / properties / latitude / $ref
      Removed value: -"#/properties/origin/properties/latitude"
    • addedInput schema / properties / destination / properties / latitude / description
      Added value: +"Latitude, improves pricing outside the US / Canada"
    • addedInput schema / properties / destination / properties / latitude / type
      Added value: +"number"
    • removedInput schema / properties / destination / properties / longitude / $ref
      Removed value: -"#/properties/origin/properties/longitude"
    • addedInput schema / properties / destination / properties / longitude / description
      Added value: +"Longitude"
    • addedInput schema / properties / destination / properties / longitude / type
      Added value: +"number"
    • removedInput schema / properties / destination / properties / state / $ref
      Removed value: -"#/properties/origin/properties/state"
    • addedInput schema / properties / destination / properties / state / description
      Added value: +"State / province / region"
    • addedInput schema / properties / destination / properties / state / type
      Added value: +"string"
    • removedInput schema / properties / destination / properties / street / $ref
      Removed value: -"#/properties/origin/properties/street"
    • addedInput schema / properties / destination / properties / street / description
      Added value: +"Street address"
    • addedInput schema / properties / destination / properties / street / type
      Added value: +"string"
    • removedInput schema / properties / destination / properties / zipcode / $ref
      Removed value: -"#/properties/origin/properties/zipcode"
    • addedInput schema / properties / destination / properties / zipcode / description
      Added value: +"Postal code. Required where the country uses one (see international_settings)."
    • addedInput schema / properties / destination / properties / zipcode / type
      Added value: +"string"
    • changedInput schema / properties / items / description
      Previous value: -"One entry per group of identical pallets / pieces"New value: +"Pallets / pieces, one entry per group of identical units. Use this OR containers OR volume."
    • addedInput schema / properties / volume
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Loose cargo by total volume when piece sizes are unknown. Use this OR items OR containers.",
      +  "properties": {
      +    "description": {
      +      "description": "What it is, e.g. 'Furniture'",
      +      "type": "string"
      +    },
      +    "max_height_in": {
      +      "description": "Height of the tallest piece, inches",
      +      "exclusiveMinimum": 0,
      +      "type": "number"
      +    },
      +    "pieces": {
      +      "description": "Number of pieces, if known",
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "total_cubic_ft": {
      +      "description": "Total volume of the shipment, cubic feet (max ~5,300 / 150 m3)",
      +      "exclusiveMinimum": 0,
      +      "type": "number"
      +    },
      +    "total_weight_lbs": {
      +      "description": "Total weight of the shipment, lb",
      +      "exclusiveMinimum": 0,
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "total_cubic_ft",
      +    "max_height_in",
      +    "total_weight_lbs"
      +  ],
      +  "type": "object"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "pickup_date",
      -  "origin",
      -  "destination",
      -  "items"
      -]New value: +[
      +  "pickup_date",
      +  "origin",
      +  "destination"
      +]
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already establish readOnlyHint=true and destructiveHint=false, but the description adds substantial context beyond them: live pricing that 'can take up to a minute' with a one-time retry, a signed-in account requirement, and a pricing caveat that door_to_port / port_to_door rates exclude far-port charges the user must accept before booking. It also enumerates what the response contains (mode, service, door service, price, transit days, ports, validity), which the absence of an output schema otherwise leaves opaque.

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?

Front-loads scope first, then cargo representation, then return contents and caveats — a sensible order with no filler sentences. The trade-off is a single dense 150-word block where the pricing caveat and the not-served exclusions are easy to skim past; light structuring would help, but nothing is wasted.

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

Completeness5/5

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

With no output schema, the description carries the burden of explaining return values and does so explicitly (every option with mode, service, door service, price, transit days, ports, validity window). Combined with latency expectations, auth requirements, exclusions, and the downstream booking tool, an agent has everything needed to call it correctly and interpret the result.

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 description coverage is 100%, so the baseline is 3; the description earns an extra point by stating the cargo must be described ONE way (items, containers, or volume) and giving the decision rule — containers for ocean FCL with the three size options, volume when piece sizes are unknown. That cross-field exclusivity guidance is more than the per-field schema text supplies, though it does partly restate the schema's own 'Use this OR...' hints.

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?

Opens with a specific verb-and-resource framing — air, ocean and US/Mexico cross-border truck rates — plus the qualifying scope 'at least one end outside the US/Canada (import, export, or between two other countries)'. An agent can distinguish this from domestic quoting siblings (ltl_quote, compare_modes) without opening any schema.

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

Usage Guidelines5/5

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

Explicitly routes away from itself: 'For domestic US freight use compare_modes or ltl_quote instead' and 'Book the user's chosen option with international_book'. It also states exclusions (hazardous materials, sanctioned countries, pickup and delivery in the same non-US country) and a timeout/retry policy, leaving almost nothing to inference.

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.