Skip to main content
Glama
FreightUtils MCP Server

FreightUtils MCP Server

resolve_reference

Read-onlyIdempotent

Resolve one unknown freight identifier into typed, cited candidates with API and canonical URLs, so you can identify tokens like UN numbers, UN/LOCODEs, container IDs, or Incoterms without guessing.

Instructions

Resolve an arbitrary freight identifier — one opaque string in, typed and cited candidates out. Use when you hold one identifier-ish token ("176", "UN1845", "NLRTM", "FOB", "22G1", "MSKU1100810", "D/E", "TU9") and do not know what kind of identifier it is: each candidate names its entity type and carries the api_url and canonical_url of its full record. q is ONE identifier (max 32 chars), or an fu: identifier (fu_id or fu_version_id, up to 200 chars), which resolves to exactly its one record or to none. Colliding grammars return several ranked candidates, never a silent guess; zero candidates is a valid result. Single-token resolution, not free-text extraction — pass one identifier, not a manifest line. The lookups it resolves into: adr_lookup, airline_lookup, airport_lookup, unlocode_lookup, hs_code_lookup, incoterms_lookup, container_lookup, uld_lookup, validate. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets.

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": {
      "q": "<q>"
    },
    "name": "resolve_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesOne freight identifier, or an fu: identifier from an answer (e.g. "fu:adr:un:1203:II:F1@2025").

Output Schema

NameRequiredDescriptionDefault
okYes
_metaNo
as_ofNo
resultYes
statusNo
_sourceYes
editionNo
citationYes
validityNo
warningsNo
confidenceYes
missing_inputsNo
blocking_errorsNo
envelope_versionYes
normalized_inputNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv2.34.4
    • changedInput schema / properties / q / description
      Previous value: -"One freight identifier — e.g. \"176\", \"UN1845\", \"NLRTM\", \"FOB\", \"LHR\", \"22G1\", \"MSKU1100810\", \"090111\", \"AKE12345AB\", \"D/E\", \"TU9\" — or an fu: identifier from any answer's fu_id / fu_version_id (e.g. \"fu:adr:un:1203:II:F1@2025\"), which resolves to exactly its one record or to none."New value: +"One freight identifier, or an fu: identifier from an answer (e.g. \"fu:adr:un:1203:II:F1@2025\")."
    • removedOutput schema / properties / _meta / properties / upstream / properties / datasets / additionalProperties / properties / kind / description
      Removed value: -"watched (its upstream is fetched daily) or checksum-only (no upstream of its own)."
    • removedOutput schema / properties / _meta / properties / upstream / properties / datasets / additionalProperties / properties / last_success / description
      Removed value: -"The last day (YYYY-MM-DD) the upstream check succeeded; null when none is recorded."
    • removedOutput schema / properties / _meta / properties / upstream / properties / datasets / additionalProperties / properties / reason / description
      Removed value: -"Why the state is unknown."
    • removedOutput schema / properties / _meta / properties / upstream / properties / stale / description
      Removed value: -"True only when a dataset below missed its upstream check window (window_missed)."
    • removedOutput schema / properties / _meta / properties / upstream / properties / state / description
      Removed value: -"The worst state of the datasets below."
    • removedOutput schema / properties / _meta / properties / upstream / properties / state_read_at / description
      Removed value: -"When the site upstream check recorded the state (ISO 8601); null when it could not be read."
    • changedOutput schema / properties / result / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "candidates": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "api_url": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "canonical_url": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "citation": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": {},
      -                      "properties": {
      -                        "qualifier": {
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        },
      -                        "text": {
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "entity_type": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "identifier_type": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "rank_basis": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "record": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": {},
      -                      "properties": {
      -                        "fu_id": {
      -                          "anyOf": [
      -                            {
      -                              "description": "Stable FreightUtils identifier of this record, fu:<namespace>:<key> — the same across editions; resolve_reference resolves it to exactly this record.",
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "fu_version_id": {
      -                          "anyOf": [
      -                            {
      -                              "description": "This record in one dataset edition, fu_id@<edition>. Present only where the dataset has editions (absent on airlines, ULDs, containers, vehicles).",
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "variants": {
      -                          "anyOf": [
      -                            {
      -                              "items": {
      -                                "additionalProperties": {},
      -                                "properties": {
      -                                  "fu_id": {
      -                                    "anyOf": [
      -                                      {
      -                                        "description": "Stable FreightUtils identifier of this record, fu:<namespace>:<key> — the same across editions; resolve_reference resolves it to exactly this record.",
      -                                        "type": "string"
      -                                      },
      -                                      {
      -                                        "type": "null"
      -                                      }
      -                                    ]
      -                                  },
      -                                  "fu_version_id": {
      -                                    "anyOf": [
      -                                      {
      -                                        "description": "This record in one dataset edition, fu_id@<edition>. Present only where the dataset has editions (absent on airlines, ULDs, containers, vehicles).",
      -                                        "type": "string"
      -                                      },
      -                                      {
      -                                        "type": "null"
      -                                      }
      -                                    ]
      -                                  }
      -                                },
      -                                "type": "object"
      -                              },
      -                              "type": "array"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "summary": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "value_normalized": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "verification_basis": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "verification_status": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "count": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "failure": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": {},
      -            "properties": {
      -              "candidate_types": {
      -                "anyOf": [
      -                  {
      -                    "items": {
      -                      "type": "string"
      -                    },
      -                    "type": "array"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "message": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "reason": {
      -                "anyOf": [
      -                  {
      -                    "enum": [
      -                      "NO_MATCH",
      -                      "AMBIGUOUS"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "normalized": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "note": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "query": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "validation": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": {},
      -            "properties": {
      -              "failure": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": {},
      -                    "properties": {
      -                      "example": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "expected_format": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "message": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "reason": {
      -                        "anyOf": [
      -                          {
      -                            "enum": [
      -                              "INVALID_CHECK_DIGIT",
      -                              "WRONG_LENGTH",
      -                              "BAD_CHARSET",
      -                              "UNKNOWN_PREFIX",
      -                              "UNSUPPORTED_TYPE",
      -                              "AMBIGUOUS"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      }
      -                    },
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "type": {
      -                "anyOf": [
      -                  {
      -                    "enum": [
      -                      "awb",
      -                      "container",
      -                      "imo"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "valid": {
      -                "type": [
      -                  "boolean",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": {},
      -    "propertyNames": {
      -      "type": "string"
      -    },
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "candidates": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "api_url": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "canonical_url": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "citation": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": {},
      +                      "properties": {
      +                        "qualifier": {
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        },
      +                        "text": {
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "entity_type": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "identifier_type": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "rank_basis": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "record": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": {},
      +                      "properties": {
      +                        "fu_id": {
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        },
      +                        "fu_version_id": {
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        },
      +                        "variants": {
      +                          "anyOf": [
      +                            {
      +                              "items": {
      +                                "additionalProperties": {},
      +                                "properties": {
      +                                  "fu_id": {
      +                                    "type": [
      +                                      "string",
      +                                      "null"
      +                                    ]
      +                                  },
      +                                  "fu_version_id": {
      +                                    "type": [
      +                                      "string",
      +                                      "null"
      +                                    ]
      +                                  }
      +                                },
      +                                "type": "object"
      +                              },
      +                              "type": "array"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "summary": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "value_normalized": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "verification_basis": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "verification_status": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "count": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "failure": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {},
      +            "properties": {
      +              "candidate_types": {
      +                "anyOf": [
      +                  {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "message": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "reason": {
      +                "anyOf": [
      +                  {
      +                    "enum": [
      +                      "NO_MATCH",
      +                      "AMBIGUOUS"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "normalized": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "note": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "query": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "validation": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {},
      +            "properties": {
      +              "failure": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": {},
      +                    "properties": {
      +                      "example": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "expected_format": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "message": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "reason": {
      +                        "anyOf": [
      +                          {
      +                            "enum": [
      +                              "INVALID_CHECK_DIGIT",
      +                              "WRONG_LENGTH",
      +                              "BAD_CHARSET",
      +                              "UNKNOWN_PREFIX",
      +                              "UNSUPPORTED_TYPE",
      +                              "AMBIGUOUS"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "type": {
      +                "anyOf": [
      +                  {
      +                    "enum": [
      +                      "awb",
      +                      "container",
      +                      "imo"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "valid": {
      +                "type": [
      +                  "boolean",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": {},
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  }
      +]
  2. Changed5 schema fields changedv2.34.0
    • changedInput schema / properties / q / description
      Previous value: -"One freight identifier — e.g. \"176\", \"UN1845\", \"NLRTM\", \"FOB\", \"LHR\", \"22G1\", \"MSKU1100810\", \"090111\", \"AKE12345AB\", \"D/E\", \"TU9\"."New value: +"One freight identifier — e.g. \"176\", \"UN1845\", \"NLRTM\", \"FOB\", \"LHR\", \"22G1\", \"MSKU1100810\", \"090111\", \"AKE12345AB\", \"D/E\", \"TU9\" — or an fu: identifier from any answer's fu_id / fu_version_id (e.g. \"fu:adr:un:1203:II:F1@2025\"), which resolves to exactly its one record or to none."
    • changedInput schema / properties / q / maxLength
      Previous value: -32New value: +200
    • addedOutput schema / properties / _meta / properties / ids
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "pattern": {
      +      "type": "string"
      +    },
      +    "scheme": {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "scheme",
      +    "pattern"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / _meta / properties / upstream
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "datasets": {
      +      "additionalProperties": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "kind": {
      +            "description": "watched (its upstream is fetched daily) or checksum-only (no upstream of its own).",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "last_success": {
      +            "description": "The last day (YYYY-MM-DD) the upstream check succeeded; null when none is recorded.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "reason": {
      +            "description": "Why the state is unknown.",
      +            "type": "string"
      +          },
      +          "stale": {
      +            "type": "boolean"
      +          },
      +          "state": {
      +            "enum": [
      +              "in_step",
      +              "changed_upstream",
      +              "schema_drift",
      +              "unreachable",
      +              "window_missed",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          },
      +          "window_days": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "state",
      +          "kind",
      +          "last_success",
      +          "window_days",
      +          "stale"
      +        ],
      +        "type": "object"
      +      },
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "stale": {
      +      "description": "True only when a dataset below missed its upstream check window (window_missed).",
      +      "type": "boolean"
      +    },
      +    "state": {
      +      "description": "The worst state of the datasets below.",
      +      "enum": [
      +        "in_step",
      +        "changed_upstream",
      +        "schema_drift",
      +        "unreachable",
      +        "window_missed",
      +        "unknown"
      +      ],
      +      "type": "string"
      +    },
      +    "state_read_at": {
      +      "description": "When the site upstream check recorded the state (ISO 8601); null when it could not be read.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "state",
      +    "stale",
      +    "state_read_at",
      +    "datasets"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / result / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "candidates": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "api_url": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "canonical_url": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "citation": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": {},
      -                      "properties": {
      -                        "qualifier": {
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        },
      -                        "text": {
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "entity_type": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "identifier_type": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "rank_basis": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "record": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": {},
      -                      "propertyNames": {
      -                        "type": "string"
      -                      },
      -                      "type": "object"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "summary": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "value_normalized": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "verification_basis": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "verification_status": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "count": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "failure": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": {},
      -            "properties": {
      -              "candidate_types": {
      -                "anyOf": [
      -                  {
      -                    "items": {
      -                      "type": "string"
      -                    },
      -                    "type": "array"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "message": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "reason": {
      -                "anyOf": [
      -                  {
      -                    "enum": [
      -                      "NO_MATCH",
      -                      "AMBIGUOUS"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "normalized": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "note": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "query": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "validation": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": {},
      -            "properties": {
      -              "failure": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": {},
      -                    "properties": {
      -                      "example": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "expected_format": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "message": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "reason": {
      -                        "anyOf": [
      -                          {
      -                            "enum": [
      -                              "INVALID_CHECK_DIGIT",
      -                              "WRONG_LENGTH",
      -                              "BAD_CHARSET",
      -                              "UNKNOWN_PREFIX",
      -                              "UNSUPPORTED_TYPE",
      -                              "AMBIGUOUS"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      }
      -                    },
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "type": {
      -                "anyOf": [
      -                  {
      -                    "enum": [
      -                      "awb",
      -                      "container",
      -                      "imo"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "valid": {
      -                "type": [
      -                  "boolean",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": {},
      -    "propertyNames": {
      -      "type": "string"
      -    },
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "candidates": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "api_url": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "canonical_url": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "citation": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": {},
      +                      "properties": {
      +                        "qualifier": {
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        },
      +                        "text": {
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "entity_type": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "identifier_type": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "rank_basis": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "record": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": {},
      +                      "properties": {
      +                        "fu_id": {
      +                          "anyOf": [
      +                            {
      +                              "description": "Stable FreightUtils identifier of this record, fu:<namespace>:<key> — the same across editions; resolve_reference resolves it to exactly this record.",
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "fu_version_id": {
      +                          "anyOf": [
      +                            {
      +                              "description": "This record in one dataset edition, fu_id@<edition>. Present only where the dataset has editions (absent on airlines, ULDs, containers, vehicles).",
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "variants": {
      +                          "anyOf": [
      +                            {
      +                              "items": {
      +                                "additionalProperties": {},
      +                                "properties": {
      +                                  "fu_id": {
      +                                    "anyOf": [
      +                                      {
      +                                        "description": "Stable FreightUtils identifier of this record, fu:<namespace>:<key> — the same across editions; resolve_reference resolves it to exactly this record.",
      +                                        "type": "string"
      +                                      },
      +                                      {
      +                                        "type": "null"
      +                                      }
      +                                    ]
      +                                  },
      +                                  "fu_version_id": {
      +                                    "anyOf": [
      +                                      {
      +                                        "description": "This record in one dataset edition, fu_id@<edition>. Present only where the dataset has editions (absent on airlines, ULDs, containers, vehicles).",
      +                                        "type": "string"
      +                                      },
      +                                      {
      +                                        "type": "null"
      +                                      }
      +                                    ]
      +                                  }
      +                                },
      +                                "type": "object"
      +                              },
      +                              "type": "array"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "summary": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "value_normalized": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "verification_basis": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "verification_status": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "count": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "failure": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {},
      +            "properties": {
      +              "candidate_types": {
      +                "anyOf": [
      +                  {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "message": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "reason": {
      +                "anyOf": [
      +                  {
      +                    "enum": [
      +                      "NO_MATCH",
      +                      "AMBIGUOUS"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "normalized": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "note": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "query": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "validation": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {},
      +            "properties": {
      +              "failure": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": {},
      +                    "properties": {
      +                      "example": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "expected_format": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "message": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "reason": {
      +                        "anyOf": [
      +                          {
      +                            "enum": [
      +                              "INVALID_CHECK_DIGIT",
      +                              "WRONG_LENGTH",
      +                              "BAD_CHARSET",
      +                              "UNKNOWN_PREFIX",
      +                              "UNSUPPORTED_TYPE",
      +                              "AMBIGUOUS"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "type": {
      +                "anyOf": [
      +                  {
      +                    "enum": [
      +                      "awb",
      +                      "container",
      +                      "imo"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "valid": {
      +                "type": [
      +                  "boolean",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": {},
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  }
      +]
  3. Changed2 schema fields changedv2.31.0
    • removedOutput schema / properties / _meta / properties / receipt / properties / reason / const
      Removed value: -"key_required"
    • addedOutput schema / properties / _meta / properties / receipt / properties / reason / enum
      Added value: +[
      +  "key_required",
      +  "quota"
      +]
  4. Changed6 schema fields changedv2.27.0
    • changedInput schema / properties / q / description
      Previous value: -"One freight identifier — e.g. \"176\", \"UN1845\", \"NLRTM\", \"FOB\", \"LHR\", \"22G1\", \"MSKU1100810\", \"090111\", \"AKE12345AB\", \"D/E\"."New value: +"One freight identifier — e.g. \"176\", \"UN1845\", \"NLRTM\", \"FOB\", \"LHR\", \"22G1\", \"MSKU1100810\", \"090111\", \"AKE12345AB\", \"D/E\", \"TU9\"."
    • addedOutput schema / properties / _meta / properties / check_id
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / _meta / properties / edition_basis
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / _meta / properties / receipt
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "created_at": {
      +      "type": "string"
      +    },
      +    "dataset_version": {
      +      "additionalProperties": {
      +        "type": "string"
      +      },
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "engine_version": {
      +      "type": "string"
      +    },
      +    "inputs": {},
      +    "reason": {
      +      "const": "key_required",
      +      "type": "string"
      +    },
      +    "receipt_hash": {
      +      "type": "string"
      +    },
      +    "result": {
      +      "additionalProperties": {},
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "schema_version": {
      +      "type": "string"
      +    },
      +    "stored": {
      +      "const": false,
      +      "type": "boolean"
      +    },
      +    "tool": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "stored",
      +    "reason",
      +    "schema_version",
      +    "receipt_hash",
      +    "created_at",
      +    "tool",
      +    "inputs",
      +    "dataset_version",
      +    "engine_version",
      +    "result"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / _meta / properties / receipt_url
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / result / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "candidates": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "api_url": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "canonical_url": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "citation": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": {},
      -                      "properties": {
      -                        "qualifier": {
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        },
      -                        "text": {
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "entity_type": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "identifier_type": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "rank_basis": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "record": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": {},
      -                      "propertyNames": {
      -                        "type": "string"
      -                      },
      -                      "type": "object"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "summary": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "value_normalized": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "verification_basis": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "verification_status": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "count": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "normalized": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "note": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "query": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": {},
      -    "propertyNames": {
      -      "type": "string"
      -    },
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "candidates": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "api_url": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "canonical_url": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "citation": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": {},
      +                      "properties": {
      +                        "qualifier": {
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        },
      +                        "text": {
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "entity_type": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "identifier_type": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "rank_basis": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "record": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": {},
      +                      "propertyNames": {
      +                        "type": "string"
      +                      },
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "summary": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "value_normalized": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "verification_basis": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "verification_status": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "count": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "failure": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {},
      +            "properties": {
      +              "candidate_types": {
      +                "anyOf": [
      +                  {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "message": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "reason": {
      +                "anyOf": [
      +                  {
      +                    "enum": [
      +                      "NO_MATCH",
      +                      "AMBIGUOUS"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "normalized": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "note": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "query": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "validation": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {},
      +            "properties": {
      +              "failure": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": {},
      +                    "properties": {
      +                      "example": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "expected_format": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "message": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "reason": {
      +                        "anyOf": [
      +                          {
      +                            "enum": [
      +                              "INVALID_CHECK_DIGIT",
      +                              "WRONG_LENGTH",
      +                              "BAD_CHARSET",
      +                              "UNKNOWN_PREFIX",
      +                              "UNSUPPORTED_TYPE",
      +                              "AMBIGUOUS"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "type": {
      +                "anyOf": [
      +                  {
      +                    "enum": [
      +                      "awb",
      +                      "container",
      +                      "imo"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "valid": {
      +                "type": [
      +                  "boolean",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": {},
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  }
      +]
  5. Changed10 schema fields changedv2.24.0
    • addedOutput schema / properties / _meta
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "identify": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / as_of
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / blocking_errors / items / properties / recovery / properties / params / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / edition
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "applies_from": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "may_apply_until": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "name": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "name",
      +        "applies_from",
      +        "may_apply_until"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / properties / envelope_version / enum
      Previous value: -[
      -  "1",
      -  "1.1"
      -]New value: +[
      +  "1",
      +  "1.1",
      +  "1.2"
      +]
    • addedOutput schema / properties / missing_inputs
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / normalized_input / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / result / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "candidates": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "additionalProperties": true,
      -              "properties": {
      -                "api_url": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "canonical_url": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "citation": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": true,
      -                      "properties": {
      -                        "qualifier": {
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        },
      -                        "text": {
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "entity_type": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "identifier_type": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "rank_basis": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "record": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": {},
      -                      "type": "object"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "summary": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "value_normalized": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "verification_basis": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "verification_status": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "count": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "normalized": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "note": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "query": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": {},
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "candidates": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "api_url": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "canonical_url": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "citation": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": {},
      +                      "properties": {
      +                        "qualifier": {
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        },
      +                        "text": {
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "entity_type": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "identifier_type": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "rank_basis": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "record": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": {},
      +                      "propertyNames": {
      +                        "type": "string"
      +                      },
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "summary": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "value_normalized": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "verification_basis": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "verification_status": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "count": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "normalized": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "note": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "query": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": {},
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  }
      +]
    • addedOutput schema / properties / status
      Added value: +{
      +  "enum": [
      +    "ok",
      +    "partial",
      +    "not_found",
      +    "unsupported",
      +    "ambiguous"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / warnings / items / properties / details / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  6. Addedv2.17.2

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, but the description adds substantial context beyond them: typed and cited candidates with api_url and canonical_url, ranked candidates on grammar collisions, zero candidates as a valid result, fu: identifier behavior, and rate-limit errors carrying reset_at.

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?

Front-loads the core action, then packs examples, input constraints, output semantics, failure modes, and rate-limit behavior into dense but purposeful prose. The examples earn their place and there is no filler.

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?

Given one parameter, an output schema, and rich annotations, the description covers input forms, candidate ranking, zero-result behavior, fu: identifiers, and rate limiting. Nothing material is missing for correct invocation.

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 coverage is 100%, so the baseline is 3, but the description adds meaningful semantics: q is one identifier rather than a manifest line, ordinary identifiers are capped at 32 characters, and fu: identifiers can run up to 200 characters and resolve to exactly one record or none.

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 exactly what it does: resolve one opaque freight identifier into typed, cited candidates, and explicitly contrasts this with free-text extraction while naming the lookup tools it feeds into. An agent can distinguish it from sibling lookups without opening their schemas.

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?

Gives a precise trigger — holding one identifier-ish token whose type is unknown — and a clear negative constraint: pass one identifier, not a manifest line. It also names the underlying lookup tools and explains that colliding grammars return ranked candidates rather than a silent guess.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.