Skip to main content
Glama

ADR Dangerous Goods Lookup

adr_lookup
Read-onlyIdempotent

Look up the full European road dangerous-goods (ADR 2025) Table A entry for a substance — all 20 columns, from class, packing group and labels through special provisions, limited/excepted quantities, packing instructions, tank codes, carriage provisions, transport category, tunnel restriction code and hazard identification number — and what each of those codes means (resolved_codes). 2,939 entries across all 9 classes, from UNECE ADR 2025. Provide exactly ONE of: un_number (every packing-group variant of it; "1203", "UN1203" and "un 1203" are equivalent; explosives keep their leading zero), search (partial proper shipping name), hazard_class, or un_numbers (batch). A search with no hits errors with the closest names. For an LQ/EQ quantity check use adr_lq_eq_check; for 1.1.3.6 small-load points adr_exemption_calculator; for an identifier of unknown kind resolve_reference. Editions: edition ("2025" | "2027") and as_of (YYYY-MM-DD) choose the ADR edition — edition wins, else the date picks it (ADR 2025 before 2027-01-01, ADR 2027 from then; ADR 2025 may still be applied until 2027-06-30). An answer on a named edition carries adr_edition; neither sent, the answer is ADR 2025 until 2027-01-01. edition ("2025" | "2027") and as_of choose the ADR edition; neither sent, ADR 2025 until 2027-01-01. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets. A factual compilation of the ADR table, not legal or compliance advice; classification remains the consignor's responsibility.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "adr_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoThe date the answer is for, YYYY-MM-DD (default today, UTC).
limitNosearch / hazard_class only: rows per page (default and max 50 for a search, 100 for a class).
offsetNosearch / hazard_class only: rows to skip (default 0). The response gives total and next_offset.
searchNoCase-insensitive partial match on the proper shipping name (min 2 characters). Example: "acetone".
editionNoADR edition; wins over as_of. Omitted: as_of picks it.
un_numberNoExact UN number, 4 digits, optionally "UN"-prefixed ("0004" keeps its zero).
un_numbersNoBatch: up to 50 UN numbers. Send alone.
hazard_classNoAll entries in an ADR class (Table A column (3a)), e.g. "3", "6.1", "1" (explosives; "1.4S" is a classification_code).
include_codesNoWhat each Table A code means (resolved_codes): compact, full or none. Default compact for un_number, none otherwise. Each meaning carries verification_status (e.g. paraphrase_unreviewed).
include_statementsNotrue adds plain-word statements[] to every row. Default false.

Output Schema

NameRequiredDescriptionDefault
okYes
as_ofYes
resultYes
statusYes
_sourceYes
editionYes
citationYes
warningsNo
confidenceYes
missing_inputsYes
blocking_errorsNo
envelope_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
    • removedOutput schema / properties / _meta
      Removed value: -{
      -  "additionalProperties": {},
      -  "properties": {
      -    "check_id": {
      -      "type": "string"
      -    },
      -    "edition_basis": {
      -      "type": "string"
      -    },
      -    "ids": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "pattern": {
      -          "type": "string"
      -        },
      -        "scheme": {
      -          "maximum": 9007199254740991,
      -          "minimum": -9007199254740991,
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "scheme",
      -        "pattern"
      -      ],
      -      "type": "object"
      -    },
      -    "receipt": {
      -      "additionalProperties": {},
      -      "properties": {
      -        "created_at": {
      -          "type": "string"
      -        },
      -        "dataset_version": {
      -          "additionalProperties": {
      -            "type": "string"
      -          },
      -          "propertyNames": {
      -            "type": "string"
      -          },
      -          "type": "object"
      -        },
      -        "engine_version": {
      -          "type": "string"
      -        },
      -        "inputs": {},
      -        "reason": {
      -          "enum": [
      -            "key_required",
      -            "quota"
      -          ],
      -          "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"
      -    },
      -    "receipt_url": {
      -      "type": "string"
      -    },
      -    "upstream": {
      -      "additionalProperties": {},
      -      "properties": {
      -        "datasets": {
      -          "additionalProperties": {
      -            "additionalProperties": {},
      -            "properties": {
      -              "kind": {
      -                "anyOf": [
      -                  {
      -                    "enum": [
      -                      "watched",
      -                      "checksum-only",
      -                      "manual"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "last_success": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "reason": {
      -                "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": {
      -          "type": "boolean"
      -        },
      -        "state": {
      -          "enum": [
      -            "in_step",
      -            "changed_upstream",
      -            "schema_drift",
      -            "unreachable",
      -            "window_missed",
      -            "unknown"
      -          ],
      -          "type": "string"
      -        },
      -        "state_read_at": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "state",
      -        "stale",
      -        "state_read_at",
      -        "datasets"
      -      ],
      -      "type": "object"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / properties / normalized_input
      Removed value: -{
      -  "additionalProperties": {},
      -  "propertyNames": {
      -    "type": "string"
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / properties / validity
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "as_of": {
      -      "type": "string"
      -    },
      -    "effective_from": {
      -      "type": "string"
      -    },
      -    "effective_to": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "required": [
      -    "as_of"
      -  ],
      -  "type": "object"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "envelope_version",
      -  "ok",
      -  "result",
      -  "confidence",
      -  "_source",
      -  "citation"
      -]New value: +[
      +  "envelope_version",
      +  "ok",
      +  "status",
      +  "missing_inputs",
      +  "edition",
      +  "as_of",
      +  "result",
      +  "confidence",
      +  "_source",
      +  "citation"
      +]
  2. Changed9 schema fields changed
    • changedInput schema / properties / as_of / description
      Previous value: -"YYYY-MM-DD the answer is for (default today, UTC); picks the ADR edition when edition is omitted, and is echoed in the answer and its check receipt."New value: +"The date the answer is for, YYYY-MM-DD (default today, UTC)."
    • changedInput schema / properties / edition / description
      Previous value: -"ADR edition: \"2025\" or \"2027\". Wins over as_of. Omit it and as_of picks the edition by the legal timeline: before 2027-01-01 ADR 2025; from 2027-01-01 ADR 2027 (ADR 2025 may still be applied until 2027-06-30 under 1.6.1.1 — edition \"2025\" answers on it until then); from 2027-07-01 ADR 2027 only. An ADR 2027 answer for a date before 2027-01-01 carries an EDITION_NOT_YET_APPLICABLE warning."New value: +"ADR edition; wins over as_of. Omitted: as_of picks it."
    • changedInput schema / properties / hazard_class / description
      Previous value: -"Filter by ADR hazard class (Table A column (3a)). Examples: \"3\" (flammable liquids), \"6.1\" (toxic), \"8\" (corrosive), \"1\" (explosives — the division and compatibility group are in classification_code, e.g. \"1.4S\")."New value: +"All entries in an ADR class (Table A column (3a)), e.g. \"3\", \"6.1\", \"1\" (explosives; \"1.4S\" is a classification_code)."
    • changedInput schema / properties / include_codes / description
      Previous value: -"include_codes: \"none\" | \"compact\" | \"full\" — resolved_codes beside results[]: one entry per distinct code in Table A columns (5)–(20) across the answer, with its meaning in FreightUtils' own words (code, family, columns, rows = the results[] indexes that carry it, summary, section, verification_status; \"full\" adds url, title, meaning, parameters, applies_to, references; a code's page is https://www.freightutils.com/adr/codes/{family}/{code}). Default \"compact\" for a un_number lookup, \"none\" for search, hazard_class and un_numbers batches."New value: +"What each Table A code means (resolved_codes): compact, full or none. Default compact for un_number, none otherwise. Each meaning carries verification_status (e.g. paraphrase_unreviewed)."
    • changedInput schema / properties / include_statements / description
      Previous value: -"true adds statements[] to every row: short plain-word statements (tunnel, transport category, labels, packing, tanks, carriage) assembled from the code meanings and the 8.6.4 / 1.1.3.6.3 tables, each with its basis, codes and verification_status (the lowest of the codes it draws on). Default false."New value: +"true adds plain-word statements[] to every row. Default false."
    • changedInput schema / properties / limit / description
      Previous value: -"search / hazard_class only: rows per page (default 10; at most 50 for search, 100 for hazard_class)."New value: +"search / hazard_class only: rows per page (default and max 50 for a search, 100 for a class)."
    • changedInput schema / properties / search / description
      Previous value: -"Case-insensitive partial match on the proper shipping name (2 to 200 characters). Example: \"acetone\"."New value: +"Case-insensitive partial match on the proper shipping name (min 2 characters). Example: \"acetone\"."
    • changedInput schema / properties / un_number / description
      Previous value: -"Exact UN number — 4 digits, optionally \"UN\"-prefixed; explosives keep their leading zero. Examples: \"1203\", \"UN1203\", \"UN 1203\", \"0004\"."New value: +"Exact UN number, 4 digits, optionally \"UN\"-prefixed (\"0004\" keeps its zero)."
    • changedInput schema / properties / un_numbers / description
      Previous value: -"Batch: up to 50 UN numbers, answered in one call as results[] in input order, each as its own un_number lookup with its own status. Send alone (include_codes may go beside it)."New value: +"Batch: up to 50 UN numbers. Send alone."
  3. Changed1 schema field changed
    • addedOutput schema / properties / _meta / properties / upstream
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "datasets": {
      +      "additionalProperties": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "kind": {
      +            "anyOf": [
      +              {
      +                "enum": [
      +                  "watched",
      +                  "checksum-only",
      +                  "manual"
      +                ],
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "last_success": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "reason": {
      +            "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": {
      +      "type": "boolean"
      +    },
      +    "state": {
      +      "enum": [
      +        "in_step",
      +        "changed_upstream",
      +        "schema_drift",
      +        "unreachable",
      +        "window_missed",
      +        "unknown"
      +      ],
      +      "type": "string"
      +    },
      +    "state_read_at": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "state",
      +    "stale",
      +    "state_read_at",
      +    "datasets"
      +  ],
      +  "type": "object"
      +}
  4. Changed1 schema field changed
    • addedOutput schema / properties / _meta / properties / ids
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "pattern": {
      +      "type": "string"
      +    },
      +    "scheme": {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "scheme",
      +    "pattern"
      +  ],
      +  "type": "object"
      +}
  5. Changed2 schema fields changed
    • 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"
      +]
  6. Changed1 schema field changed
    • 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"
      +}
  7. Changed2 schema fields changed
    • addedInput schema / properties / as_of
      Added value: +{
      +  "description": "YYYY-MM-DD the answer is for (default today, UTC); picks the ADR edition when edition is omitted, and is echoed in the answer and its check receipt.",
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / edition
      Added value: +{
      +  "description": "ADR edition: \"2025\" or \"2027\". Wins over as_of. Omit it and as_of picks the edition by the legal timeline: before 2027-01-01 ADR 2025; from 2027-01-01 ADR 2027 (ADR 2025 may still be applied until 2027-06-30 under 1.6.1.1 — edition \"2025\" answers on it until then); from 2027-07-01 ADR 2027 only. An ADR 2027 answer for a date before 2027-01-01 carries an EDITION_NOT_YET_APPLICABLE warning.",
      +  "enum": [
      +    "2025",
      +    "2027"
      +  ],
      +  "type": "string"
      +}
  8. Changed1 schema field changed
    • changedInput schema / properties / include_codes / description
      Previous value: -"include_codes: \"none\" | \"compact\" | \"full\" — resolved_codes on each row: one entry per code in Table A columns (5)–(20) with its meaning in FreightUtils' own words (summary, section, verification_status, url; \"full\" adds title, meaning, parameters, applies_to, references). Default \"compact\" for a un_number lookup, \"none\" for search, hazard_class and un_numbers batches."New value: +"include_codes: \"none\" | \"compact\" | \"full\" — resolved_codes beside results[]: one entry per distinct code in Table A columns (5)–(20) across the answer, with its meaning in FreightUtils' own words (code, family, columns, rows = the results[] indexes that carry it, summary, section, verification_status; \"full\" adds url, title, meaning, parameters, applies_to, references; a code's page is https://www.freightutils.com/adr/codes/{family}/{code}). Default \"compact\" for a un_number lookup, \"none\" for search, hazard_class and un_numbers batches."
  9. Changed1 schema field changed
    • addedOutput schema / properties / _meta / properties / edition_basis
      Added value: +{
      +  "type": "string"
      +}
  10. Changed3 schema fields changed
    • addedInput schema / properties / include_codes
      Added value: +{
      +  "description": "include_codes: \"none\" | \"compact\" | \"full\" — resolved_codes on each row: one entry per code in Table A columns (5)–(20) with its meaning in FreightUtils' own words (summary, section, verification_status, url; \"full\" adds title, meaning, parameters, applies_to, references). Default \"compact\" for a un_number lookup, \"none\" for search, hazard_class and un_numbers batches.",
      +  "enum": [
      +    "none",
      +    "compact",
      +    "full"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / include_statements
      Added value: +{
      +  "description": "true adds statements[] to every row: short plain-word statements (tunnel, transport category, labels, packing, tanks, carriage) assembled from the code meanings and the 8.6.4 / 1.1.3.6.3 tables, each with its basis, codes and verification_status (the lowest of the codes it draws on). Default false.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / un_numbers / description
      Previous value: -"Batch: up to 50 UN numbers, answered in one call as results[] in input order, each as its own un_number lookup with its own status. Send alone."New value: +"Batch: up to 50 UN numbers, answered in one call as results[] in input order, each as its own un_number lookup with its own status. Send alone (include_codes may go beside it)."
  11. Changed1 schema field changed
    • addedInput schema / properties / un_numbers
      Added value: +{
      +  "description": "Batch: up to 50 UN numbers, answered in one call as results[] in input order, each as its own un_number lookup with its own status. Send alone.",
      +  "items": {
      +    "maxLength": 12,
      +    "type": "string"
      +  },
      +  "maxItems": 50,
      +  "minItems": 1,
      +  "type": "array"
      +}
  12. Changed1 schema field changed
    • addedOutput schema / properties / _meta
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "check_id": {
      +      "type": "string"
      +    },
      +    "receipt_url": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  13. Changed5 schema fields changed
    • addedOutput schema / properties / as_of
      Added value: +{
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +  "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 / status
      Added value: +{
      +  "enum": [
      +    "ok",
      +    "partial",
      +    "not_found",
      +    "unsupported",
      +    "ambiguous"
      +  ],
      +  "type": "string"
      +}
  14. Changed2 schema fields changed
    • changedInput schema / properties / search / description
      Previous value: -"Case-insensitive partial match on the proper shipping name (min 2 characters). Example: \"acetone\"."New value: +"Case-insensitive partial match on the proper shipping name (2 to 200 characters). Example: \"acetone\"."
    • addedInput schema / properties / search / maxLength
      Added value: +200
  15. Changed2 schema fields changed
    • removedOutput schema / properties / validity / properties / effective_to / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / validity / properties / effective_to / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  16. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  17. Changed1 schema field changed
    • changedInput schema / properties / un_number / pattern
      Previous value: -"^(?:UN\\s*)?\\d{4}$"New value: +"^\\s*(?:UN\\s*)?\\d{4}\\s*$"
  18. Changed2 schema fields changed
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "search / hazard_class only: rows per page (default 10; at most 50 for search, 100 for hazard_class).",
      +  "maximum": 100,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "search / hazard_class only: rows to skip (default 0). The response gives total and next_offset.",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  19. Changed3 schema fields changed
    • changedInput schema / properties / hazard_class / description
      Previous value: -"Filter by ADR hazard class and its divisions. Examples: \"3\" (flammable liquids), \"6.1\" (toxic), \"8\" (corrosive), \"1.4\" (an explosives division)."New value: +"Filter by ADR hazard class (Table A column (3a)). Examples: \"3\" (flammable liquids), \"6.1\" (toxic), \"8\" (corrosive), \"1\" (explosives — the division and compatibility group are in classification_code, e.g. \"1.4S\")."
    • changedInput schema / properties / un_number / description
      Previous value: -"Exact UN number — 4 digits, optionally \"UN\"-prefixed; explosives keep their leading zero. Examples: \"1203\", \"UN1203\", \"0004\"."New value: +"Exact UN number — 4 digits, optionally \"UN\"-prefixed; explosives keep their leading zero. Examples: \"1203\", \"UN1203\", \"UN 1203\", \"0004\"."
    • changedInput schema / properties / un_number / pattern
      Previous value: -"^(UN)?\\d{4}$"New value: +"^(?:UN\\s*)?\\d{4}$"
  20. Changed5 schema fields changed
    • addedOutput schema / properties / _source / properties / authority_current_edition
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / _source / properties / checked_at
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / _source / properties / dataset_edition
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / envelope_version / const
      Removed value: -"1"
    • addedOutput schema / properties / envelope_version / enum
      Added value: +[
      +  "1",
      +  "1.1"
      +]
  21. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "_source": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "checked": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": "string"
      +        },
      +        "provenance_status": {
      +          "enum": [
      +            "verified",
      +            "pending-verification",
      +            "computed",
      +            "live"
      +          ],
      +          "type": "string"
      +        },
      +        "source_url": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "name",
      +        "checked",
      +        "provenance_status"
      +      ],
      +      "type": "object"
      +    },
      +    "blocking_errors": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "type": "string"
      +          },
      +          "message": {
      +            "type": "string"
      +          },
      +          "recovery": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "action": {
      +                "type": "string"
      +              },
      +              "params": {
      +                "additionalProperties": {},
      +                "propertyNames": {
      +                  "type": "string"
      +                },
      +                "type": "object"
      +              },
      +              "tool": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "action"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "recovery"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "citation": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "qualifier": {
      +          "type": "string"
      +        },
      +        "text": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "text"
      +      ],
      +      "type": "object"
      +    },
      +    "confidence": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "basis": {
      +          "enum": [
      +            "deterministic",
      +            "provenance",
      +            "match_quality",
      +            "freshness"
      +          ],
      +          "type": "string"
      +        },
      +        "level": {
      +          "enum": [
      +            "high",
      +            "medium",
      +            "low"
      +          ],
      +          "type": "string"
      +        },
      +        "score": {
      +          "maximum": 1,
      +          "minimum": 0,
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "level",
      +        "basis"
      +      ],
      +      "type": "object"
      +    },
      +    "envelope_version": {
      +      "const": "1",
      +      "type": "string"
      +    },
      +    "normalized_input": {
      +      "additionalProperties": {},
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "result": {
      +      "additionalProperties": {},
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "validity": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "as_of": {
      +          "type": "string"
      +        },
      +        "effective_from": {
      +          "type": "string"
      +        },
      +        "effective_to": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "as_of"
      +      ],
      +      "type": "object"
      +    },
      +    "warnings": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "type": "string"
      +          },
      +          "details": {
      +            "additionalProperties": {},
      +            "propertyNames": {
      +              "type": "string"
      +            },
      +            "type": "object"
      +          },
      +          "message": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "envelope_version",
      +    "ok",
      +    "result",
      +    "confidence",
      +    "_source",
      +    "citation"
      +  ],
      +  "type": "object"
      +}
  22. Changed5 schema fields changed
    • changedInput schema / properties / hazard_class / description
      Previous value: -"Filter by hazard class"New value: +"Filter by ADR hazard class and its divisions. Examples: \"3\" (flammable liquids), \"6.1\" (toxic), \"8\" (corrosive), \"1.4\" (an explosives division)."
    • changedInput schema / properties / search / description
      Previous value: -"Search by substance name"New value: +"Case-insensitive partial match on the proper shipping name (min 2 characters). Example: \"acetone\"."
    • addedInput schema / properties / search / minLength
      Added value: +2
    • changedInput schema / properties / un_number / description
      Previous value: -"UN number (e.g., \"1203\")"New value: +"Exact UN number — 4 digits, optionally \"UN\"-prefixed; explosives keep their leading zero. Examples: \"1203\", \"UN1203\", \"0004\"."
    • addedInput schema / properties / un_number / pattern
      Added value: +"^(UN)?\\d{4}$"
  23. First observed

TDQS

A4.3/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 the safety profile is covered; the description still earns credit for non-obvious behavior: rate limiting with a reset_at timestamp, no-hit searches erroring with closest names, and the edition resolution/fallback rule. It does not describe pagination behavior (total/next_offset) despite limit/offset parameters, which the schema carries instead.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and dense with useful content, but the edition rule is stated twice almost verbatim ("Editions: edition ... and as_of ... edition wins" then "edition ... and as_of choose the ADR edition; neither sent..."), which is pure waste in an already long paragraph. The code enumeration of 20 columns is verbose but earns its place by setting expectations.

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

Completeness5/5

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

For a 10-parameter lookup with an output schema and full annotations, the description covers what is returned, which inputs are mutually exclusive, error and rate-limit behavior, edition semantics, and a scope disclaimer. An agent has everything needed to call it correctly.

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 real semantics beyond it: "1203", "UN1203" and "un 1203" are equivalent, explosives keep their leading zero, and edition outranks as_of. The per-parameter defaults for include_codes and include_statements are left to the schema, hence not a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource ("Look up the full ... Table A entry for a substance"), enumerates the returned columns, states the corpus size (2,939 entries, 9 classes) and provenance (UNECE ADR 2025). An agent can immediately tell this apart from adr_lq_eq_check or resolve_reference.

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

Usage Guidelines5/5

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

Explicitly constrains input to exactly one of un_number / search / hazard_class / un_numbers, and names three alternatives with the condition that selects each (LQ/EQ quantity check, 1.1.3.6 small-load points, unknown identifier kind). Nothing is left to inference about routing.

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.