Skip to main content
Glama

Landed cost breakdown

exim__landed__cost
Read-onlyIdempotent

Breaks down landed cost for an HS code into a market: FOB, freight, insurance and duties, per kg and as a share of FOB.

Input Schema

NameRequiredDescriptionDefault
toNoLatest month, YYYY-MM.
fromNoEarliest month, YYYY-MM.
limitNomax rows (1-1000, default 100)
hsCodeNoHS code at 2, 4 or 6 digits; shorter codes match the whole family (0901 = all coffee). Do not pad with zeros (090100 matches nothing).
sourceNodataset source filter
originCountryNoOrigin (exporting) country, ISO2 code (e.g. VN).
destinationCountryNoDestination (importing) country, ISO2 code (e.g. US, DE).

Output Schema

NameRequiredDescriptionDefault
dataYes
statsNo
_debugNo
summaryYes
warningsNo
nextActionsYes
correlationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed74 schema fields changed
    • changedInput schema / not / anyOf
      Previous value: -[
      -  {
      -    "not": {
      -      "anyOf": [
      -        {
      -          "properties": {
      -            "hs": {
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "hs"
      -          ]
      -        },
      -        {
      -          "properties": {
      -            "hs": {
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "hs"
      -          ]
      -        },
      -        {
      -          "properties": {
      -            "dest": {
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "dest"
      -          ]
      -        }
      -      ]
      -    }
      -  }
      -]New value: +[
      +  {
      +    "not": {
      +      "anyOf": [
      +        {
      +          "properties": {
      +            "hsCode": {
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hsCode"
      +          ]
      +        },
      +        {
      +          "properties": {
      +            "hsCode": {
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hsCode"
      +          ]
      +        },
      +        {
      +          "properties": {
      +            "destinationCountry": {
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "destinationCountry"
      +          ]
      +        }
      +      ]
      +    }
      +  }
      +]
    • removedInput schema / properties / dest
      Removed value: -{
      -  "description": "destination/market country (ISO 2) (the importing country)",
      -  "maxLength": 8000,
      -  "type": "string"
      -}
    • addedInput schema / properties / destinationCountry
      Added value: +{
      +  "description": "Destination (importing) country, ISO2 code (e.g. US, DE).",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • changedInput schema / properties / from / description
      Previous value: -"earliest month (YYYY-MM; YYYY or YYYY-MM-DD also accepted)"New value: +"Earliest month, YYYY-MM."
    • removedInput schema / properties / hs
      Removed value: -{
      -  "description": "HS code at ANY granularity — 2/4/6-digit; a shorter code is a broader family (e.g. 0901 = all coffee). Do NOT pad to 6 digits: 090100 matches nothing.",
      -  "maxLength": 8000,
      -  "type": "string"
      -}
    • addedInput schema / properties / hsCode
      Added value: +{
      +  "description": "HS code at 2, 4 or 6 digits; shorter codes match the whole family (0901 = all coffee). Do not pad with zeros (090100 matches nothing).",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • removedInput schema / properties / origin
      Removed value: -{
      -  "description": "origin country (ISO 2) (the sourcing country) filter",
      -  "maxLength": 8000,
      -  "type": "string"
      -}
    • addedInput schema / properties / originCountry
      Added value: +{
      +  "description": "Origin (exporting) country, ISO2 code (e.g. VN).",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • changedInput schema / properties / to / description
      Previous value: -"latest month (YYYY-MM; YYYY or YYYY-MM-DD also accepted)"New value: +"Latest month, YYYY-MM."
    • addedOutput schema / $defs / value0 / properties / breakdown
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/value1"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value0 / properties / dutyReason
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/value12"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value0 / properties / freightObservations
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / $defs / value0 / properties / insuranceObservations
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / $defs / value0 / properties / landedObservations
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / $defs / value0 / properties / landedReason
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/value13"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value0 / properties / shipmentsExcludedImplausible
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / $defs / value0 / properties / shipmentsUsed
      Added value: +{
      +  "type": "integer"
      +}
    • changedOutput schema / $defs / value0 / required
      Previous value: -[
      -  "avgDutyUsd",
      -  "avgFobUsd",
      -  "avgFreightUsd",
      -  "avgInsuranceUsd",
      -  "avgLandedUsd",
      -  "dutyObservations",
      -  "dutyShare",
      -  "firstSeen",
      -  "fobShare",
      -  "freightShare",
      -  "landedOverFobPct",
      -  "landedPerKg",
      -  "lastSeen",
      -  "medianFobUsd",
      -  "shipmentCount",
      -  "totalWeightKg"
      -]New value: +[
      +  "avgDutyUsd",
      +  "avgFobUsd",
      +  "avgFreightUsd",
      +  "avgInsuranceUsd",
      +  "avgLandedUsd",
      +  "breakdown",
      +  "dutyObservations",
      +  "dutyReason",
      +  "dutyShare",
      +  "firstSeen",
      +  "fobShare",
      +  "freightObservations",
      +  "freightShare",
      +  "insuranceObservations",
      +  "landedObservations",
      +  "landedOverFobPct",
      +  "landedPerKg",
      +  "landedReason",
      +  "lastSeen",
      +  "medianFobUsd",
      +  "shipmentCount",
      +  "shipmentsExcludedImplausible",
      +  "shipmentsUsed",
      +  "totalWeightKg"
      +]
    • addedOutput schema / $defs / value1 / additionalProperties
      Added value: +false
    • removedOutput schema / $defs / value1 / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": [
      -        "null",
      -        "boolean",
      -        "number",
      -        "string",
      -        "array",
      -        "object"
      -      ]
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / value1 / properties
      Added value: +{
      +  "duty": {
      +    "$ref": "#/$defs/value4"
      +  },
      +  "freight": {
      +    "$ref": "#/$defs/value6"
      +  },
      +  "goodsValue": {
      +    "$ref": "#/$defs/value2"
      +  },
      +  "insurance": {
      +    "$ref": "#/$defs/value8"
      +  },
      +  "landed": {
      +    "$ref": "#/$defs/value10"
      +  }
      +}
    • addedOutput schema / $defs / value1 / required
      Added value: +[
      +  "duty",
      +  "freight",
      +  "goodsValue",
      +  "insurance",
      +  "landed"
      +]
    • addedOutput schema / $defs / value1 / type
      Added value: +"object"
    • addedOutput schema / $defs / value10
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "meanUsd": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "medianUsd": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "observations": {
      +      "type": "integer"
      +    },
      +    "reason": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/value11"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "required": [
      +    "meanUsd",
      +    "medianUsd",
      +    "observations",
      +    "reason"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / value11
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "code": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / value12
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "code": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / value13
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "code": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / value14
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": [
      +          "null",
      +          "boolean",
      +          "number",
      +          "string",
      +          "array",
      +          "object"
      +        ]
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value15
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "$ref": "#/$defs/value16"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value16
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "command": {
      +      "type": "string"
      +    },
      +    "cost": {
      +      "type": "string"
      +    },
      +    "label": {
      +      "type": "string"
      +    },
      +    "rationale": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "command",
      +    "cost",
      +    "label",
      +    "rationale"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / value17
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {
      +        "type": "number"
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value18
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "$ref": "#/$defs/value19"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value19
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "code": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / value2 / additionalProperties
      Added value: +false
    • removedOutput schema / $defs / value2 / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "$ref": "#/$defs/value3"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / value2 / properties
      Added value: +{
      +  "meanUsd": {
      +    "anyOf": [
      +      {
      +        "type": "number"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "medianUsd": {
      +    "anyOf": [
      +      {
      +        "type": "number"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "observations": {
      +    "type": "integer"
      +  },
      +  "reason": {
      +    "anyOf": [
      +      {
      +        "$ref": "#/$defs/value3"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  }
      +}
    • addedOutput schema / $defs / value2 / required
      Added value: +[
      +  "meanUsd",
      +  "medianUsd",
      +  "observations",
      +  "reason"
      +]
    • addedOutput schema / $defs / value2 / type
      Added value: +"object"
    • addedOutput schema / $defs / value20
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {
      +        "type": [
      +          "null",
      +          "boolean",
      +          "number",
      +          "string",
      +          "array",
      +          "object"
      +        ]
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value3 / properties / code
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / $defs / value3 / properties / command
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / $defs / value3 / properties / cost
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / $defs / value3 / properties / label
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / $defs / value3 / properties / message
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / $defs / value3 / properties / rationale
      Removed value: -{
      -  "type": "string"
      -}
    • changedOutput schema / $defs / value3 / required
      Previous value: -[
      -  "command",
      -  "cost",
      -  "label",
      -  "rationale"
      -]New value: +[
      +  "code",
      +  "message"
      +]
    • addedOutput schema / $defs / value4 / additionalProperties
      Added value: +false
    • removedOutput schema / $defs / value4 / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": {
      -      "type": "number"
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / value4 / properties
      Added value: +{
      +  "meanUsd": {
      +    "anyOf": [
      +      {
      +        "type": "number"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "medianUsd": {
      +    "anyOf": [
      +      {
      +        "type": "number"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "observations": {
      +    "type": "integer"
      +  },
      +  "reason": {
      +    "anyOf": [
      +      {
      +        "$ref": "#/$defs/value5"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  }
      +}
    • addedOutput schema / $defs / value4 / required
      Added value: +[
      +  "meanUsd",
      +  "medianUsd",
      +  "observations",
      +  "reason"
      +]
    • addedOutput schema / $defs / value4 / type
      Added value: +"object"
    • addedOutput schema / $defs / value5 / additionalProperties
      Added value: +false
    • removedOutput schema / $defs / value5 / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "$ref": "#/$defs/value6"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / value5 / properties
      Added value: +{
      +  "code": {
      +    "type": "string"
      +  },
      +  "message": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / $defs / value5 / required
      Added value: +[
      +  "code",
      +  "message"
      +]
    • addedOutput schema / $defs / value5 / type
      Added value: +"object"
    • removedOutput schema / $defs / value6 / properties / code
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / $defs / value6 / properties / meanUsd
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value6 / properties / medianUsd
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • removedOutput schema / $defs / value6 / properties / message
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / $defs / value6 / properties / observations
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / $defs / value6 / properties / reason
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/value7"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / $defs / value6 / required
      Previous value: -[
      -  "code",
      -  "message"
      -]New value: +[
      +  "meanUsd",
      +  "medianUsd",
      +  "observations",
      +  "reason"
      +]
    • addedOutput schema / $defs / value7 / additionalProperties
      Added value: +false
    • removedOutput schema / $defs / value7 / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": {
      -      "type": [
      -        "null",
      -        "boolean",
      -        "number",
      -        "string",
      -        "array",
      -        "object"
      -      ]
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / value7 / properties
      Added value: +{
      +  "code": {
      +    "type": "string"
      +  },
      +  "message": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / $defs / value7 / required
      Added value: +[
      +  "code",
      +  "message"
      +]
    • addedOutput schema / $defs / value7 / type
      Added value: +"object"
    • addedOutput schema / $defs / value8
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "meanUsd": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "medianUsd": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "observations": {
      +      "type": "integer"
      +    },
      +    "reason": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/value9"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "required": [
      +    "meanUsd",
      +    "medianUsd",
      +    "observations",
      +    "reason"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / value9
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "code": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / _debug / $ref
      Previous value: -"#/$defs/value7"New value: +"#/$defs/value20"
    • changedOutput schema / properties / nextActions / $ref
      Previous value: -"#/$defs/value2"New value: +"#/$defs/value15"
    • changedOutput schema / properties / stats / $ref
      Previous value: -"#/$defs/value4"New value: +"#/$defs/value17"
    • changedOutput schema / properties / warnings / $ref
      Previous value: -"#/$defs/value5"New value: +"#/$defs/value18"
  2. Changed74 schema fields changed
    • changedInput schema / not / anyOf
      Previous value: -[
      -  {
      -    "not": {
      -      "anyOf": [
      -        {
      -          "properties": {
      -            "hsCode": {
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "hsCode"
      -          ]
      -        },
      -        {
      -          "properties": {
      -            "hsCode": {
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "hsCode"
      -          ]
      -        },
      -        {
      -          "properties": {
      -            "destinationCountry": {
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "destinationCountry"
      -          ]
      -        }
      -      ]
      -    }
      -  }
      -]New value: +[
      +  {
      +    "not": {
      +      "anyOf": [
      +        {
      +          "properties": {
      +            "hs": {
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hs"
      +          ]
      +        },
      +        {
      +          "properties": {
      +            "hs": {
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hs"
      +          ]
      +        },
      +        {
      +          "properties": {
      +            "dest": {
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "dest"
      +          ]
      +        }
      +      ]
      +    }
      +  }
      +]
    • addedInput schema / properties / dest
      Added value: +{
      +  "description": "destination/market country (ISO 2) (the importing country)",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • removedInput schema / properties / destinationCountry
      Removed value: -{
      -  "description": "Destination (importing) country, ISO2 code (e.g. US, DE).",
      -  "maxLength": 8000,
      -  "type": "string"
      -}
    • changedInput schema / properties / from / description
      Previous value: -"Earliest month, YYYY-MM."New value: +"earliest month (YYYY-MM; YYYY or YYYY-MM-DD also accepted)"
    • addedInput schema / properties / hs
      Added value: +{
      +  "description": "HS code at ANY granularity — 2/4/6-digit; a shorter code is a broader family (e.g. 0901 = all coffee). Do NOT pad to 6 digits: 090100 matches nothing.",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • removedInput schema / properties / hsCode
      Removed value: -{
      -  "description": "HS code at 2, 4 or 6 digits; shorter codes match the whole family (0901 = all coffee). Do not pad with zeros (090100 matches nothing).",
      -  "maxLength": 8000,
      -  "type": "string"
      -}
    • addedInput schema / properties / origin
      Added value: +{
      +  "description": "origin country (ISO 2) (the sourcing country) filter",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • removedInput schema / properties / originCountry
      Removed value: -{
      -  "description": "Origin (exporting) country, ISO2 code (e.g. VN).",
      -  "maxLength": 8000,
      -  "type": "string"
      -}
    • changedInput schema / properties / to / description
      Previous value: -"Latest month, YYYY-MM."New value: +"latest month (YYYY-MM; YYYY or YYYY-MM-DD also accepted)"
    • removedOutput schema / $defs / value0 / properties / breakdown
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "$ref": "#/$defs/value1"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • removedOutput schema / $defs / value0 / properties / dutyReason
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "$ref": "#/$defs/value12"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • removedOutput schema / $defs / value0 / properties / freightObservations
      Removed value: -{
      -  "type": "integer"
      -}
    • removedOutput schema / $defs / value0 / properties / insuranceObservations
      Removed value: -{
      -  "type": "integer"
      -}
    • removedOutput schema / $defs / value0 / properties / landedObservations
      Removed value: -{
      -  "type": "integer"
      -}
    • removedOutput schema / $defs / value0 / properties / landedReason
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "$ref": "#/$defs/value13"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • removedOutput schema / $defs / value0 / properties / shipmentsExcludedImplausible
      Removed value: -{
      -  "type": "integer"
      -}
    • removedOutput schema / $defs / value0 / properties / shipmentsUsed
      Removed value: -{
      -  "type": "integer"
      -}
    • changedOutput schema / $defs / value0 / required
      Previous value: -[
      -  "avgDutyUsd",
      -  "avgFobUsd",
      -  "avgFreightUsd",
      -  "avgInsuranceUsd",
      -  "avgLandedUsd",
      -  "breakdown",
      -  "dutyObservations",
      -  "dutyReason",
      -  "dutyShare",
      -  "firstSeen",
      -  "fobShare",
      -  "freightObservations",
      -  "freightShare",
      -  "insuranceObservations",
      -  "landedObservations",
      -  "landedOverFobPct",
      -  "landedPerKg",
      -  "landedReason",
      -  "lastSeen",
      -  "medianFobUsd",
      -  "shipmentCount",
      -  "shipmentsExcludedImplausible",
      -  "shipmentsUsed",
      -  "totalWeightKg"
      -]New value: +[
      +  "avgDutyUsd",
      +  "avgFobUsd",
      +  "avgFreightUsd",
      +  "avgInsuranceUsd",
      +  "avgLandedUsd",
      +  "dutyObservations",
      +  "dutyShare",
      +  "firstSeen",
      +  "fobShare",
      +  "freightShare",
      +  "landedOverFobPct",
      +  "landedPerKg",
      +  "lastSeen",
      +  "medianFobUsd",
      +  "shipmentCount",
      +  "totalWeightKg"
      +]
    • removedOutput schema / $defs / value1 / additionalProperties
      Removed value: -false
    • addedOutput schema / $defs / value1 / anyOf
      Added value: +[
      +  {
      +    "items": {
      +      "type": [
      +        "null",
      +        "boolean",
      +        "number",
      +        "string",
      +        "array",
      +        "object"
      +      ]
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / $defs / value1 / properties
      Removed value: -{
      -  "duty": {
      -    "$ref": "#/$defs/value4"
      -  },
      -  "freight": {
      -    "$ref": "#/$defs/value6"
      -  },
      -  "goodsValue": {
      -    "$ref": "#/$defs/value2"
      -  },
      -  "insurance": {
      -    "$ref": "#/$defs/value8"
      -  },
      -  "landed": {
      -    "$ref": "#/$defs/value10"
      -  }
      -}
    • removedOutput schema / $defs / value1 / required
      Removed value: -[
      -  "duty",
      -  "freight",
      -  "goodsValue",
      -  "insurance",
      -  "landed"
      -]
    • removedOutput schema / $defs / value1 / type
      Removed value: -"object"
    • removedOutput schema / $defs / value10
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "meanUsd": {
      -      "anyOf": [
      -        {
      -          "type": "number"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "medianUsd": {
      -      "anyOf": [
      -        {
      -          "type": "number"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "observations": {
      -      "type": "integer"
      -    },
      -    "reason": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/value11"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    }
      -  },
      -  "required": [
      -    "meanUsd",
      -    "medianUsd",
      -    "observations",
      -    "reason"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / value11
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "code": {
      -      "type": "string"
      -    },
      -    "message": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "code",
      -    "message"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / value12
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "code": {
      -      "type": "string"
      -    },
      -    "message": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "code",
      -    "message"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / value13
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "code": {
      -      "type": "string"
      -    },
      -    "message": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "code",
      -    "message"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / value14
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "type": [
      -          "null",
      -          "boolean",
      -          "number",
      -          "string",
      -          "array",
      -          "object"
      -        ]
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • removedOutput schema / $defs / value15
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "$ref": "#/$defs/value16"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • removedOutput schema / $defs / value16
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "command": {
      -      "type": "string"
      -    },
      -    "cost": {
      -      "type": "string"
      -    },
      -    "label": {
      -      "type": "string"
      -    },
      -    "rationale": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "command",
      -    "cost",
      -    "label",
      -    "rationale"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / value17
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "additionalProperties": {
      -        "type": "number"
      -      },
      -      "type": "object"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • removedOutput schema / $defs / value18
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "$ref": "#/$defs/value19"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • removedOutput schema / $defs / value19
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "code": {
      -      "type": "string"
      -    },
      -    "message": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "code",
      -    "message"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / value2 / additionalProperties
      Removed value: -false
    • addedOutput schema / $defs / value2 / anyOf
      Added value: +[
      +  {
      +    "items": {
      +      "$ref": "#/$defs/value3"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / $defs / value2 / properties
      Removed value: -{
      -  "meanUsd": {
      -    "anyOf": [
      -      {
      -        "type": "number"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "medianUsd": {
      -    "anyOf": [
      -      {
      -        "type": "number"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "observations": {
      -    "type": "integer"
      -  },
      -  "reason": {
      -    "anyOf": [
      -      {
      -        "$ref": "#/$defs/value3"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  }
      -}
    • removedOutput schema / $defs / value2 / required
      Removed value: -[
      -  "meanUsd",
      -  "medianUsd",
      -  "observations",
      -  "reason"
      -]
    • removedOutput schema / $defs / value2 / type
      Removed value: -"object"
    • removedOutput schema / $defs / value20
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "additionalProperties": {
      -        "type": [
      -          "null",
      -          "boolean",
      -          "number",
      -          "string",
      -          "array",
      -          "object"
      -        ]
      -      },
      -      "type": "object"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • removedOutput schema / $defs / value3 / properties / code
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / $defs / value3 / properties / command
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / $defs / value3 / properties / cost
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / $defs / value3 / properties / label
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / $defs / value3 / properties / message
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / $defs / value3 / properties / rationale
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / $defs / value3 / required
      Previous value: -[
      -  "code",
      -  "message"
      -]New value: +[
      +  "command",
      +  "cost",
      +  "label",
      +  "rationale"
      +]
    • removedOutput schema / $defs / value4 / additionalProperties
      Removed value: -false
    • addedOutput schema / $defs / value4 / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": {
      +      "type": "number"
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / $defs / value4 / properties
      Removed value: -{
      -  "meanUsd": {
      -    "anyOf": [
      -      {
      -        "type": "number"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "medianUsd": {
      -    "anyOf": [
      -      {
      -        "type": "number"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "observations": {
      -    "type": "integer"
      -  },
      -  "reason": {
      -    "anyOf": [
      -      {
      -        "$ref": "#/$defs/value5"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  }
      -}
    • removedOutput schema / $defs / value4 / required
      Removed value: -[
      -  "meanUsd",
      -  "medianUsd",
      -  "observations",
      -  "reason"
      -]
    • removedOutput schema / $defs / value4 / type
      Removed value: -"object"
    • removedOutput schema / $defs / value5 / additionalProperties
      Removed value: -false
    • addedOutput schema / $defs / value5 / anyOf
      Added value: +[
      +  {
      +    "items": {
      +      "$ref": "#/$defs/value6"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / $defs / value5 / properties
      Removed value: -{
      -  "code": {
      -    "type": "string"
      -  },
      -  "message": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / $defs / value5 / required
      Removed value: -[
      -  "code",
      -  "message"
      -]
    • removedOutput schema / $defs / value5 / type
      Removed value: -"object"
    • addedOutput schema / $defs / value6 / properties / code
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / $defs / value6 / properties / meanUsd
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "number"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • removedOutput schema / $defs / value6 / properties / medianUsd
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "number"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • addedOutput schema / $defs / value6 / properties / message
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / $defs / value6 / properties / observations
      Removed value: -{
      -  "type": "integer"
      -}
    • removedOutput schema / $defs / value6 / properties / reason
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "$ref": "#/$defs/value7"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • changedOutput schema / $defs / value6 / required
      Previous value: -[
      -  "meanUsd",
      -  "medianUsd",
      -  "observations",
      -  "reason"
      -]New value: +[
      +  "code",
      +  "message"
      +]
    • removedOutput schema / $defs / value7 / additionalProperties
      Removed value: -false
    • addedOutput schema / $defs / value7 / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": {
      +      "type": [
      +        "null",
      +        "boolean",
      +        "number",
      +        "string",
      +        "array",
      +        "object"
      +      ]
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / $defs / value7 / properties
      Removed value: -{
      -  "code": {
      -    "type": "string"
      -  },
      -  "message": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / $defs / value7 / required
      Removed value: -[
      -  "code",
      -  "message"
      -]
    • removedOutput schema / $defs / value7 / type
      Removed value: -"object"
    • removedOutput schema / $defs / value8
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "meanUsd": {
      -      "anyOf": [
      -        {
      -          "type": "number"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "medianUsd": {
      -      "anyOf": [
      -        {
      -          "type": "number"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "observations": {
      -      "type": "integer"
      -    },
      -    "reason": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/value9"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    }
      -  },
      -  "required": [
      -    "meanUsd",
      -    "medianUsd",
      -    "observations",
      -    "reason"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / value9
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "code": {
      -      "type": "string"
      -    },
      -    "message": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "code",
      -    "message"
      -  ],
      -  "type": "object"
      -}
    • changedOutput schema / properties / _debug / $ref
      Previous value: -"#/$defs/value20"New value: +"#/$defs/value7"
    • changedOutput schema / properties / nextActions / $ref
      Previous value: -"#/$defs/value15"New value: +"#/$defs/value2"
    • changedOutput schema / properties / stats / $ref
      Previous value: -"#/$defs/value17"New value: +"#/$defs/value4"
    • changedOutput schema / properties / warnings / $ref
      Previous value: -"#/$defs/value18"New value: +"#/$defs/value5"
  3. Changed74 schema fields changed
    • changedInput schema / not / anyOf
      Previous value: -[
      -  {
      -    "not": {
      -      "anyOf": [
      -        {
      -          "properties": {
      -            "hs": {
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "hs"
      -          ]
      -        },
      -        {
      -          "properties": {
      -            "hs": {
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "hs"
      -          ]
      -        },
      -        {
      -          "properties": {
      -            "dest": {
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "dest"
      -          ]
      -        }
      -      ]
      -    }
      -  }
      -]New value: +[
      +  {
      +    "not": {
      +      "anyOf": [
      +        {
      +          "properties": {
      +            "hsCode": {
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hsCode"
      +          ]
      +        },
      +        {
      +          "properties": {
      +            "hsCode": {
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hsCode"
      +          ]
      +        },
      +        {
      +          "properties": {
      +            "destinationCountry": {
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "destinationCountry"
      +          ]
      +        }
      +      ]
      +    }
      +  }
      +]
    • removedInput schema / properties / dest
      Removed value: -{
      -  "description": "destination/market country (ISO 2) (the importing country)",
      -  "maxLength": 8000,
      -  "type": "string"
      -}
    • addedInput schema / properties / destinationCountry
      Added value: +{
      +  "description": "Destination (importing) country, ISO2 code (e.g. US, DE).",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • changedInput schema / properties / from / description
      Previous value: -"earliest month (YYYY-MM; YYYY or YYYY-MM-DD also accepted)"New value: +"Earliest month, YYYY-MM."
    • removedInput schema / properties / hs
      Removed value: -{
      -  "description": "HS code at ANY granularity — 2/4/6-digit; a shorter code is a broader family (e.g. 0901 = all coffee). Do NOT pad to 6 digits: 090100 matches nothing.",
      -  "maxLength": 8000,
      -  "type": "string"
      -}
    • addedInput schema / properties / hsCode
      Added value: +{
      +  "description": "HS code at 2, 4 or 6 digits; shorter codes match the whole family (0901 = all coffee). Do not pad with zeros (090100 matches nothing).",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • removedInput schema / properties / origin
      Removed value: -{
      -  "description": "origin country (ISO 2) (the sourcing country) filter",
      -  "maxLength": 8000,
      -  "type": "string"
      -}
    • addedInput schema / properties / originCountry
      Added value: +{
      +  "description": "Origin (exporting) country, ISO2 code (e.g. VN).",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • changedInput schema / properties / to / description
      Previous value: -"latest month (YYYY-MM; YYYY or YYYY-MM-DD also accepted)"New value: +"Latest month, YYYY-MM."
    • addedOutput schema / $defs / value0 / properties / breakdown
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/value1"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value0 / properties / dutyReason
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/value12"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value0 / properties / freightObservations
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / $defs / value0 / properties / insuranceObservations
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / $defs / value0 / properties / landedObservations
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / $defs / value0 / properties / landedReason
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/value13"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value0 / properties / shipmentsExcludedImplausible
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / $defs / value0 / properties / shipmentsUsed
      Added value: +{
      +  "type": "integer"
      +}
    • changedOutput schema / $defs / value0 / required
      Previous value: -[
      -  "avgDutyUsd",
      -  "avgFobUsd",
      -  "avgFreightUsd",
      -  "avgInsuranceUsd",
      -  "avgLandedUsd",
      -  "dutyObservations",
      -  "dutyShare",
      -  "firstSeen",
      -  "fobShare",
      -  "freightShare",
      -  "landedOverFobPct",
      -  "landedPerKg",
      -  "lastSeen",
      -  "medianFobUsd",
      -  "shipmentCount",
      -  "totalWeightKg"
      -]New value: +[
      +  "avgDutyUsd",
      +  "avgFobUsd",
      +  "avgFreightUsd",
      +  "avgInsuranceUsd",
      +  "avgLandedUsd",
      +  "breakdown",
      +  "dutyObservations",
      +  "dutyReason",
      +  "dutyShare",
      +  "firstSeen",
      +  "fobShare",
      +  "freightObservations",
      +  "freightShare",
      +  "insuranceObservations",
      +  "landedObservations",
      +  "landedOverFobPct",
      +  "landedPerKg",
      +  "landedReason",
      +  "lastSeen",
      +  "medianFobUsd",
      +  "shipmentCount",
      +  "shipmentsExcludedImplausible",
      +  "shipmentsUsed",
      +  "totalWeightKg"
      +]
    • addedOutput schema / $defs / value1 / additionalProperties
      Added value: +false
    • removedOutput schema / $defs / value1 / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": [
      -        "null",
      -        "boolean",
      -        "number",
      -        "string",
      -        "array",
      -        "object"
      -      ]
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / value1 / properties
      Added value: +{
      +  "duty": {
      +    "$ref": "#/$defs/value4"
      +  },
      +  "freight": {
      +    "$ref": "#/$defs/value6"
      +  },
      +  "goodsValue": {
      +    "$ref": "#/$defs/value2"
      +  },
      +  "insurance": {
      +    "$ref": "#/$defs/value8"
      +  },
      +  "landed": {
      +    "$ref": "#/$defs/value10"
      +  }
      +}
    • addedOutput schema / $defs / value1 / required
      Added value: +[
      +  "duty",
      +  "freight",
      +  "goodsValue",
      +  "insurance",
      +  "landed"
      +]
    • addedOutput schema / $defs / value1 / type
      Added value: +"object"
    • addedOutput schema / $defs / value10
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "meanUsd": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "medianUsd": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "observations": {
      +      "type": "integer"
      +    },
      +    "reason": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/value11"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "required": [
      +    "meanUsd",
      +    "medianUsd",
      +    "observations",
      +    "reason"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / value11
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "code": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / value12
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "code": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / value13
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "code": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / value14
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": [
      +          "null",
      +          "boolean",
      +          "number",
      +          "string",
      +          "array",
      +          "object"
      +        ]
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value15
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "$ref": "#/$defs/value16"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value16
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "command": {
      +      "type": "string"
      +    },
      +    "cost": {
      +      "type": "string"
      +    },
      +    "label": {
      +      "type": "string"
      +    },
      +    "rationale": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "command",
      +    "cost",
      +    "label",
      +    "rationale"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / value17
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {
      +        "type": "number"
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value18
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "$ref": "#/$defs/value19"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value19
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "code": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / value2 / additionalProperties
      Added value: +false
    • removedOutput schema / $defs / value2 / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "$ref": "#/$defs/value3"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / value2 / properties
      Added value: +{
      +  "meanUsd": {
      +    "anyOf": [
      +      {
      +        "type": "number"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "medianUsd": {
      +    "anyOf": [
      +      {
      +        "type": "number"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "observations": {
      +    "type": "integer"
      +  },
      +  "reason": {
      +    "anyOf": [
      +      {
      +        "$ref": "#/$defs/value3"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  }
      +}
    • addedOutput schema / $defs / value2 / required
      Added value: +[
      +  "meanUsd",
      +  "medianUsd",
      +  "observations",
      +  "reason"
      +]
    • addedOutput schema / $defs / value2 / type
      Added value: +"object"
    • addedOutput schema / $defs / value20
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {
      +        "type": [
      +          "null",
      +          "boolean",
      +          "number",
      +          "string",
      +          "array",
      +          "object"
      +        ]
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value3 / properties / code
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / $defs / value3 / properties / command
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / $defs / value3 / properties / cost
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / $defs / value3 / properties / label
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / $defs / value3 / properties / message
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / $defs / value3 / properties / rationale
      Removed value: -{
      -  "type": "string"
      -}
    • changedOutput schema / $defs / value3 / required
      Previous value: -[
      -  "command",
      -  "cost",
      -  "label",
      -  "rationale"
      -]New value: +[
      +  "code",
      +  "message"
      +]
    • addedOutput schema / $defs / value4 / additionalProperties
      Added value: +false
    • removedOutput schema / $defs / value4 / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": {
      -      "type": "number"
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / value4 / properties
      Added value: +{
      +  "meanUsd": {
      +    "anyOf": [
      +      {
      +        "type": "number"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "medianUsd": {
      +    "anyOf": [
      +      {
      +        "type": "number"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "observations": {
      +    "type": "integer"
      +  },
      +  "reason": {
      +    "anyOf": [
      +      {
      +        "$ref": "#/$defs/value5"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  }
      +}
    • addedOutput schema / $defs / value4 / required
      Added value: +[
      +  "meanUsd",
      +  "medianUsd",
      +  "observations",
      +  "reason"
      +]
    • addedOutput schema / $defs / value4 / type
      Added value: +"object"
    • addedOutput schema / $defs / value5 / additionalProperties
      Added value: +false
    • removedOutput schema / $defs / value5 / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "$ref": "#/$defs/value6"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / value5 / properties
      Added value: +{
      +  "code": {
      +    "type": "string"
      +  },
      +  "message": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / $defs / value5 / required
      Added value: +[
      +  "code",
      +  "message"
      +]
    • addedOutput schema / $defs / value5 / type
      Added value: +"object"
    • removedOutput schema / $defs / value6 / properties / code
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / $defs / value6 / properties / meanUsd
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value6 / properties / medianUsd
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • removedOutput schema / $defs / value6 / properties / message
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / $defs / value6 / properties / observations
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / $defs / value6 / properties / reason
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/value7"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / $defs / value6 / required
      Previous value: -[
      -  "code",
      -  "message"
      -]New value: +[
      +  "meanUsd",
      +  "medianUsd",
      +  "observations",
      +  "reason"
      +]
    • addedOutput schema / $defs / value7 / additionalProperties
      Added value: +false
    • removedOutput schema / $defs / value7 / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": {
      -      "type": [
      -        "null",
      -        "boolean",
      -        "number",
      -        "string",
      -        "array",
      -        "object"
      -      ]
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / value7 / properties
      Added value: +{
      +  "code": {
      +    "type": "string"
      +  },
      +  "message": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / $defs / value7 / required
      Added value: +[
      +  "code",
      +  "message"
      +]
    • addedOutput schema / $defs / value7 / type
      Added value: +"object"
    • addedOutput schema / $defs / value8
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "meanUsd": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "medianUsd": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "observations": {
      +      "type": "integer"
      +    },
      +    "reason": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/value9"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "required": [
      +    "meanUsd",
      +    "medianUsd",
      +    "observations",
      +    "reason"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / value9
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "code": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / _debug / $ref
      Previous value: -"#/$defs/value7"New value: +"#/$defs/value20"
    • changedOutput schema / properties / nextActions / $ref
      Previous value: -"#/$defs/value2"New value: +"#/$defs/value15"
    • changedOutput schema / properties / stats / $ref
      Previous value: -"#/$defs/value4"New value: +"#/$defs/value17"
    • changedOutput schema / properties / warnings / $ref
      Previous value: -"#/$defs/value5"New value: +"#/$defs/value18"
  4. Changed17 schema fields changed
    • addedInput schema / not
      Added value: +{
      +  "anyOf": [
      +    {
      +      "not": {
      +        "anyOf": [
      +          {
      +            "properties": {
      +              "hs": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "hs"
      +            ]
      +          },
      +          {
      +            "properties": {
      +              "hs": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "hs"
      +            ]
      +          },
      +          {
      +            "properties": {
      +              "dest": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "dest"
      +            ]
      +          }
      +        ]
      +      }
      +    }
      +  ]
      +}
    • removedInput schema / properties / --dest
      Removed value: -{
      -  "description": "destination/market country (ISO 2) (the importing country)",
      -  "type": "string"
      -}
    • removedInput schema / properties / --from
      Removed value: -{
      -  "description": "earliest month (YYYY-MM; YYYY or YYYY-MM-DD also accepted)",
      -  "pattern": "^[0-9]{4}(-(0[1-9]|1[0-2])(-(0[1-9]|[12][0-9]|3[01]))?)?$",
      -  "type": "string"
      -}
    • removedInput schema / properties / --hs
      Removed value: -{
      -  "description": "HS code at ANY granularity — 2/4/6-digit; a shorter code is a broader family (e.g. 0901 = all coffee). Do NOT pad to 6 digits: 090100 matches nothing.",
      -  "type": "string"
      -}
    • removedInput schema / properties / --hs6
      Removed value: -{
      -  "description": "HS code at ANY granularity — 2/4/6-digit; a shorter code is a broader family (e.g. 0901 = all coffee). Do NOT pad to 6 digits: 090100 matches nothing.",
      -  "type": "string"
      -}
    • removedInput schema / properties / --limit
      Removed value: -{
      -  "description": "max rows (1-1000, default 100)",
      -  "type": "integer"
      -}
    • removedInput schema / properties / --origin
      Removed value: -{
      -  "description": "origin country (ISO 2) (the sourcing country) filter",
      -  "type": "string"
      -}
    • removedInput schema / properties / --source
      Removed value: -{
      -  "description": "dataset source filter",
      -  "type": "string"
      -}
    • removedInput schema / properties / --to
      Removed value: -{
      -  "description": "latest month (YYYY-MM; YYYY or YYYY-MM-DD also accepted)",
      -  "pattern": "^[0-9]{4}(-(0[1-9]|1[0-2])(-(0[1-9]|[12][0-9]|3[01]))?)?$",
      -  "type": "string"
      -}
    • addedInput schema / properties / dest
      Added value: +{
      +  "description": "destination/market country (ISO 2) (the importing country)",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / from
      Added value: +{
      +  "description": "earliest month (YYYY-MM; YYYY or YYYY-MM-DD also accepted)",
      +  "maxLength": 8000,
      +  "pattern": "^[0-9]{4}(-(0[1-9]|1[0-2])(-(0[1-9]|[12][0-9]|3[01]))?)?$",
      +  "type": "string"
      +}
    • addedInput schema / properties / hs
      Added value: +{
      +  "description": "HS code at ANY granularity — 2/4/6-digit; a shorter code is a broader family (e.g. 0901 = all coffee). Do NOT pad to 6 digits: 090100 matches nothing.",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "max rows (1-1000, default 100)",
      +  "maximum": 1000,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / origin
      Added value: +{
      +  "description": "origin country (ISO 2) (the sourcing country) filter",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / source
      Added value: +{
      +  "description": "dataset source filter",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / to
      Added value: +{
      +  "description": "latest month (YYYY-MM; YYYY or YYYY-MM-DD also accepted)",
      +  "maxLength": 8000,
      +  "pattern": "^[0-9]{4}(-(0[1-9]|1[0-2])(-(0[1-9]|[12][0-9]|3[01]))?)?$",
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "value0": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "avgDutyUsd": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "avgFobUsd": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "avgFreightUsd": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "avgInsuranceUsd": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "avgLandedUsd": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "dutyObservations": {
      +          "type": "integer"
      +        },
      +        "dutyShare": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "firstSeen": {
      +          "type": "string"
      +        },
      +        "fobShare": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "freightShare": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "landedOverFobPct": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "landedPerKg": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "lastSeen": {
      +          "type": "string"
      +        },
      +        "medianFobUsd": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "shipmentCount": {
      +          "type": "integer"
      +        },
      +        "totalWeightKg": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "avgDutyUsd",
      +        "avgFobUsd",
      +        "avgFreightUsd",
      +        "avgInsuranceUsd",
      +        "avgLandedUsd",
      +        "dutyObservations",
      +        "dutyShare",
      +        "firstSeen",
      +        "fobShare",
      +        "freightShare",
      +        "landedOverFobPct",
      +        "landedPerKg",
      +        "lastSeen",
      +        "medianFobUsd",
      +        "shipmentCount",
      +        "totalWeightKg"
      +      ],
      +      "type": "object"
      +    },
      +    "value1": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": [
      +              "null",
      +              "boolean",
      +              "number",
      +              "string",
      +              "array",
      +              "object"
      +            ]
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value2": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value3"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value3": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "command": {
      +          "type": "string"
      +        },
      +        "cost": {
      +          "type": "string"
      +        },
      +        "label": {
      +          "type": "string"
      +        },
      +        "rationale": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "command",
      +        "cost",
      +        "label",
      +        "rationale"
      +      ],
      +      "type": "object"
      +    },
      +    "value4": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {
      +            "type": "number"
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value5": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value6"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value6": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "code": {
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "code",
      +        "message"
      +      ],
      +      "type": "object"
      +    },
      +    "value7": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {
      +            "type": [
      +              "null",
      +              "boolean",
      +              "number",
      +              "string",
      +              "array",
      +              "object"
      +            ]
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "additionalProperties": false,
      +  "properties": {
      +    "_debug": {
      +      "$ref": "#/$defs/value7"
      +    },
      +    "correlationId": {
      +      "type": "string"
      +    },
      +    "data": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "context": {
      +          "type": [
      +            "null",
      +            "boolean",
      +            "number",
      +            "string",
      +            "array",
      +            "object"
      +          ]
      +        },
      +        "cursor": {
      +          "type": "string"
      +        },
      +        "has_more": {
      +          "type": "boolean"
      +        },
      +        "items": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "$ref": "#/$defs/value0"
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "context",
      +        "has_more",
      +        "items"
      +      ],
      +      "type": "object"
      +    },
      +    "nextActions": {
      +      "$ref": "#/$defs/value2"
      +    },
      +    "stats": {
      +      "$ref": "#/$defs/value4"
      +    },
      +    "summary": {
      +      "type": "string"
      +    },
      +    "warnings": {
      +      "$ref": "#/$defs/value5"
      +    }
      +  },
      +  "required": [
      +    "data",
      +    "nextActions",
      +    "summary"
      +  ],
      +  "type": "object"
      +}
  5. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered and the bar is lower. The description does add output-shape behavior (decomposition into per-kg figures and FOB shares), but says nothing about aggregation level, date-range defaults, or what the convoluted at-least-one-of hsCode/destinationCountry constraint means in practice.

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?

A single front-loaded sentence with no filler: the action comes first, the scope next, the returned components last. Every clause carries information.

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?

An output schema exists, so return values need no prose. However, for a 7-param tool whose required-input rule is encoded as an opaque not/anyOf, the description leaves the agent to guess that at least one of HS code or destination country must be supplied, and gives no sense of grain (per shipment, per period, per kg) beyond the cost components.

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% across all 7 params, so the schema already documents hsCode formats, ISO2 country codes and date patterns; baseline 3 applies. The description adds no parameter-level detail and notably does not disambiguate which of hsCode/destinationCountry acts as 'the market', a point the schema expresses only through a hard-to-read not/anyOf construct.

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 and resource ('Breaks down landed cost') scoped to an HS code and a market, and names the exact output components (FOB, freight, insurance, duties) plus normalization (per kg, share of FOB). This is clearly distinguishable from siblings like exim__duty__exposure, exim__tariff and exim__trade__lookup 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 Guidelines2/5

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

There is no when-to-use statement, no prerequisite (e.g. that a market/destination or HS code is needed), and no mention of alternatives such as duty exposure or tariff lookups that an agent might otherwise choose. Usage can only be inferred from the resource name.

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.