Skip to main content
Glama

ShippingRates MCP Server

Get Inland Haulage Rates

shippingrates_inland_haulage
Read-onlyIdempotent

Get inland haulage (trucking/rail) rates for moving containers between a port and an inland location.

Use this when you know the specific origin port and destination and need rate quotes. Returns route-specific rates by container type including base rate, fuel surcharges, and estimated transit times.

To discover what routes exist first, use shippingrates_inland_search. To compare rates across all carriers for the same route, use shippingrates_inland_compare.

PAID: $0.05/call via x402 (USDC on Base or Solana). Without payment, returns 402 with payment instructions.

Returns: Array of { carrier, origin, destination, container_type, rate, fuel_surcharge, total, currency, transit_days, mode, delivery_mode, icd_code }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoTransport mode filter (PRE or ONC)
originYesOrigin port UN/LOCODE (e.g. INNSA, INMAA)
icd_codeNoDestination ICD UN/LOCODE filter
x_paymentNox402 payment proof header
cargo_classNoCargo class filter — 'general' or 'DG' (dangerous goods). Default: general.
destinationYesInland destination city name (e.g. Ahmedabad, Delhi)
delivery_modeNoDelivery mode filter — 'ramp' (ICD/CFS pickup) or 'door' (door delivery). Default: ramp.
container_typeNoContainer type filter — e.g. 20DV, 40HC, 20RF

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changed
    • changedInput schema / properties / container_type / enum
      Previous value: -[
      -  "20DV",
      -  "40DV",
      -  "40HC",
      -  "20RF",
      -  "40RF",
      -  "20OT",
      -  "40OT",
      -  "20FR",
      -  "40FR"
      -]New value: +[
      +  "20GP",
      +  "40GP",
      +  "40HC",
      +  "20RF",
      +  "40RF",
      +  "20OT",
      +  "40OT",
      +  "45HC",
      +  "40FR",
      +  "20FR",
      +  "40DG",
      +  "20DG",
      +  "45RF",
      +  "45OT",
      +  "45DG",
      +  "40TK",
      +  "20TK",
      +  "45GP",
      +  "45TK",
      +  "40NOR"
      +]
  2. Changed3 schema fields changed
    • addedInput schema / properties / cargo_class
      Added value: +{
      +  "description": "Cargo class filter — 'general' or 'DG' (dangerous goods). Default: general.",
      +  "enum": [
      +    "general",
      +    "DG"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / delivery_mode
      Added value: +{
      +  "description": "Delivery mode filter — 'ramp' (ICD/CFS pickup) or 'door' (door delivery). Default: ramp.",
      +  "enum": [
      +    "ramp",
      +    "door"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / icd_code
      Added value: +{
      +  "description": "Destination ICD UN/LOCODE filter",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / container_type / description
      Previous value: -"Container type filter"New value: +"Container type filter — e.g. 20DV, 40HC, 20RF"
  4. Changed6 schema fields changed
    • removedInput schema / properties / country
      Removed value: -{
      -  "description": "ISO 2-letter country code",
      -  "maxLength": 2,
      -  "minLength": 2,
      -  "type": "string"
      -}
    • addedInput schema / properties / destination
      Added value: +{
      +  "description": "Inland destination city name (e.g. Ahmedabad, Delhi)",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • removedInput schema / properties / line
      Removed value: -{
      -  "description": "Shipping line slug",
      -  "enum": [
      -    "maersk",
      -    "msc",
      -    "cma-cgm",
      -    "hapag-lloyd",
      -    "one",
      -    "cosco"
      -  ],
      -  "type": "string"
      -}
    • addedInput schema / properties / mode
      Added value: +{
      +  "description": "Transport mode filter (PRE or ONC)",
      +  "type": "string"
      +}
    • addedInput schema / properties / origin
      Added value: +{
      +  "description": "Origin port UN/LOCODE (e.g. INNSA, INMAA)",
      +  "maxLength": 10,
      +  "minLength": 2,
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "line",
      -  "country"
      -]New value: +[
      +  "origin",
      +  "destination"
      +]
  5. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the agent knows this is a safe read. The description adds valuable behavioral context beyond annotations: the payment requirement ($0.05/call via x402) and the 402 error response without payment. It also discloses the return fields, making the tool's behavior more predictable. Missing only minor details like pagination or rate limits, but it's well-covered.

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?

The description is compact and front-loaded: purpose first, then use case, then alternatives, then payment, and finally return format. Every sentence earns its place, with no redundant filler. It's long enough to be useful without being verbose.

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?

For a rate-lookup tool with 8 parameters (2 required) and no output schema, the description delivers a complete picture: it explains when to use, what it returns (including the full array structure), payment requirements, and alternatives. Combined with the rich schema annotations, the agent has everything needed to select and invoke this tool correctly.

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 each parameter has a description with examples and enums. The tool description doesn't add much parameter-level meaning beyond what the schema provides, but it does contextualize x_payment by explaining the payment mechanism and failure mode. That's marginal added value, so baseline 3 is appropriate.

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?

The description opens with a specific verb+resource: 'Get inland haulage (trucking/rail) rates for moving containers between a port and an inland location.' It clearly distinguishes itself from siblings by explicitly pointing to shippingrates_inland_search for exploring routes and shippingrates_inland_compare for carrier comparison, making the tool's unique purpose obvious.

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?

Provides explicit usage guidance: 'Use this when you know the specific origin port and destination and need rate quotes.' It also tells the agent what to use instead for route discovery and rate comparison, effectively stating when not to use this tool. This is exactly the kind of decision support needed.

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.

TDQS

A4.3/5.0
Disambiguation4/5

Most tools have clearly distinct purposes: D&D calculator/compare/countdown, inland search/haulage/compare, and congestion/news/risk are well separated. However, the transit/vessel group (transit, transit_schedules, vessel_schedule, vessel_schedule_options) and rates vs total_cost could cause some selection ambiguity, though descriptions help differentiate them.

Naming Consistency3/5

All tools share the 'shippingrates_' prefix and snake_case, but naming patterns vary: some are action-oriented (shippingrates_dd_calculate, shippingrates_inland_compare), while others are noun phrases (shippingrates_surcharges, shippingrates_port, shippingrates_total_cost). This inconsistency could make it harder to predict tool names.

Tool Count3/5

With 26 tools, the server is on the heavier side, exceeding the typical 15-tool comfort zone. However, the broad domain of shipping rates, logistics, and regulatory data justifies the number, as each tool covers a distinct aspect. Still, the volume may overwhelm agents.

Completeness5/5

The tool set is remarkably comprehensive for a shipping rates server, covering freight benchmarks, surcharges, local charges, D&D (calculate/compare/countdown), inland haulage, transit schedules, vessel schedules, congestion, risk scoring, regulatory updates, facilities, FX, and a composite total-cost calculator. No obvious gaps for common logistics cost-analysis workflows.