Skip to main content
Glama
SoapyRED

FreightUtils MCP Server

adr_lookup

Read-onlyIdempotent

Look up ADR 2025 dangerous-goods reference data by UN number, shipping name or class to get hazard class, packing group, labels, special provisions and tunnel codes.

Instructions

Look up European road dangerous-goods (ADR 2025) reference data for a substance: hazard class, classification code, packing group, labels, special provisions, limited/excepted quantities, transport category, tunnel restriction code and Kemler (hazard identification) number. Covers 2,939 entries across all 9 hazard classes, from UNECE ADR 2025 (ECE/TRANS/352).

Provide exactly ONE of: un_number (exact lookup — returns every packing-group variant of that UN number), search (case-insensitive partial match on the proper shipping name), or hazard_class (all entries in a class or division). un_number is normalised — "1203", "UN1203" and "un 1203" are equivalent, and normalized_input reports the correction; explosives keep their leading zero ("0004").

Behavior: read-only reference lookup; a name search or class filter is a paged list — total, truncated and next_offset, with offset and limit (at most 50 per search page, 100 per class page) — never a silently cut list. A search with no hits errors with suggestions: the closest proper shipping names in Table A ("acetne" → ACETONE, UN 1090). 28 Table A rows carry a scope remark instead of a packing group: those return packing_group null plus not_subject_to_adr (with conditions_ref, e.g. "5.5.3" for UN 1845 dry ice) or carriage_prohibited, and table_a_remark preserves the verbatim Table A text. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets.

Returns: count and results[] — per entry: un_number, proper_shipping_name, class, classification_code, packing_group, labels, special_provisions, limited_quantity, excepted_quantity, transport_category, tunnel_restriction_code, hazard_identification_number, variant_index/variant_count and, on scope-flagged rows, not_subject_to_adr/carriage_prohibited/conditions_ref/table_a_remark — under result, plus confidence, _source and citation (the FreightUtils v1 response envelope).

Limitations: a factual compilation of the ADR table, not legal or compliance advice; classification remains the consignor's responsibility — verify against the current UNECE ADR text.

Related: adr_lq_eq_check (checks quantities against the LQ/EQ values returned here), adr_exemption_calculator (1.1.3.6 small-load points), consignment_calculator (flags dangerous-goods lines by UN number).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNosearch / hazard_class only: rows per page (default and maximum 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".
un_numberNoExact UN number — 4 digits, optionally "UN"-prefixed; explosives keep their leading zero. Examples: "1203", "UN1203", "UN 1203", "0004".
hazard_classNoAll entries in an ADR class (Table A column (3a)). Examples: "3" (flammable liquids), "6.1" (toxic), "1" (explosives — the division and compatibility group are in classification_code, e.g. "1.4S").

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
resultYes
_sourceYes
citationYes
validityNo
warningsNo
confidenceYes
blocking_errorsNo
envelope_versionYes
normalized_inputNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.22.3
    • changedInput schema / properties / hazard_class / description
      Previous value: -"All entries in an ADR class or division. Examples: \"3\" (flammable liquids), \"6.1\" (toxic), \"1.4\" (an explosives division)."New value: +"All entries in an ADR class (Table A column (3a)). Examples: \"3\" (flammable liquids), \"6.1\" (toxic), \"1\" (explosives — the division and compatibility group are in classification_code, e.g. \"1.4S\")."
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "search / hazard_class only: rows per page (default and maximum 50 for a search, 100 for a 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"
      +}
    • 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}$"
    • changedOutput schema / properties / result / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "count": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "meta": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": {},
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "results": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "additionalProperties": true,
      -              "properties": {
      -                "carriage_prohibited": {
      -                  "type": [
      -                    "boolean",
      -                    "null"
      -                  ]
      -                },
      -                "class": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "classification_code": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "conditions_ref": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "excepted_quantity": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "hazard_identification_number": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "labels": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "limited_quantity": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "not_subject_to_adr": {
      -                  "type": [
      -                    "boolean",
      -                    "null"
      -                  ]
      -                },
      -                "packing_group": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "proper_shipping_name": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "special_provisions": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "table_a_remark": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "transport_category": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "tunnel_restriction_code": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "un_number": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "variant_count": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "variant_index": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": {},
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "count": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "limit": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "meta": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {},
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "next_offset": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "offset": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "results": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "additionalProperties": true,
      +              "properties": {
      +                "carriage_prohibited": {
      +                  "type": [
      +                    "boolean",
      +                    "null"
      +                  ]
      +                },
      +                "class": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "classification_code": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "conditions_ref": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "excepted_quantity": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "hazard_identification_number": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "labels": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "limited_quantity": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "not_subject_to_adr": {
      +                  "type": [
      +                    "boolean",
      +                    "null"
      +                  ]
      +                },
      +                "packing_group": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "proper_shipping_name": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "special_provisions": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "table_a_remark": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "transport_category": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "tunnel_restriction_code": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "un_number": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "variant_count": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "variant_index": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "total": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "truncated": {
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": {},
      +    "type": "object"
      +  }
      +]
  2. Changed6 schema fields changedv2.17.2
    • 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"
      +]
    • changedOutput schema / properties / result / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "count": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "meta": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": {},
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "results": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "additionalProperties": true,
      -              "properties": {
      -                "class": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "classification_code": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "excepted_quantity": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "hazard_identification_number": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "labels": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "limited_quantity": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "packing_group": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "proper_shipping_name": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "special_provisions": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "transport_category": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "tunnel_restriction_code": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "un_number": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "variant_count": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "variant_index": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": {},
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "count": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "meta": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {},
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "results": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "additionalProperties": true,
      +              "properties": {
      +                "carriage_prohibited": {
      +                  "type": [
      +                    "boolean",
      +                    "null"
      +                  ]
      +                },
      +                "class": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "classification_code": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "conditions_ref": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "excepted_quantity": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "hazard_identification_number": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "labels": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "limited_quantity": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "not_subject_to_adr": {
      +                  "type": [
      +                    "boolean",
      +                    "null"
      +                  ]
      +                },
      +                "packing_group": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "proper_shipping_name": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "special_provisions": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "table_a_remark": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "transport_category": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "tunnel_restriction_code": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "un_number": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "variant_count": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "variant_index": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": {},
      +    "type": "object"
      +  }
      +]
  3. Changed4 schema fields changedv2.11.0
    • changedInput schema / properties / hazard_class / description
      Previous value: -"Filter by hazard class (e.g., \"3\" for flammable liquids)"New value: +"All entries in an ADR class or division. Examples: \"3\" (flammable liquids), \"6.1\" (toxic), \"1.4\" (an explosives division)."
    • changedInput schema / properties / search / description
      Previous value: -"Search by substance name (min 2 characters)"New value: +"Case-insensitive partial match on the proper shipping name (min 2 characters). Example: \"acetone\"."
    • changedInput schema / properties / un_number / description
      Previous value: -"UN number (e.g., \"1203\", \"UN1203\")"New value: +"Exact UN number — 4 digits, optionally \"UN\"-prefixed; explosives keep their leading zero. Examples: \"1203\", \"UN1203\", \"0004\"."
    • 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": {},
      +                "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": {},
      +      "type": "object"
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "result": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": true,
      +          "properties": {
      +            "count": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "meta": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": {},
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "results": {
      +              "anyOf": [
      +                {
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "class": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "classification_code": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "excepted_quantity": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "hazard_identification_number": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "labels": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "limited_quantity": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "packing_group": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "proper_shipping_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "special_provisions": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "transport_category": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "tunnel_restriction_code": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "un_number": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "variant_count": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "variant_index": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": {},
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "validity": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "as_of": {
      +          "type": "string"
      +        },
      +        "effective_from": {
      +          "type": "string"
      +        },
      +        "effective_to": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "as_of"
      +      ],
      +      "type": "object"
      +    },
      +    "warnings": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "type": "string"
      +          },
      +          "details": {
      +            "additionalProperties": {},
      +            "type": "object"
      +          },
      +          "message": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "envelope_version",
      +    "ok",
      +    "result",
      +    "confidence",
      +    "_source",
      +    "citation"
      +  ],
      +  "type": "object"
      +}
  4. Changed2 schema fields changedv2.1.1
    • addedInput schema / properties / search / minLength
      Added value: +2
    • addedInput schema / properties / un_number / pattern
      Added value: +"^(UN)?\\d{4}$"
  5. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the read-only/idempotent annotations: discloses pagination shape (total, truncated, next_offset; 50 vs 100 page caps), that no-hit searches error with name suggestions, that 28 Table A scope rows return packing_group null plus not_subject_to_adr/carriage_prohibited, and rate-limit errors carrying reset_at. This is exactly the behavioral context annotations cannot supply.

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 clearly sectioned, but long, and the 'Returns:' block enumerates per-entry fields that are already carried by the output schema, so those sentences do not fully earn their place. The mode-selection and edge-case sentences do earn theirs.

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?

An output schema exists, so return values need not be re-described; the description nonetheless covers usage modes, error and edge-case behavior, normalization, and a legal-limitations caveat. Nothing an agent needs to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is already 100%, so the baseline is 3, but the description adds real meaning on top: the mutual-exclusivity constraint ('exactly ONE of') that the schema does not encode, and the normalization rule ('1203', 'UN1203', 'un 1203' are equivalent) plus leading-zero handling for explosives.

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

Purpose5/5

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

States a specific verb (look up) and resource (ADR 2025 European dangerous-goods reference data for a substance), and immediately enumerates the returned fields. It also distinguishes itself from siblings like adr_lq_eq_check and adr_exemption_calculator by naming them and their distinct roles.

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 states the selection rule: 'Provide exactly ONE of: un_number ... search ... or hazard_class', with the semantics of each mode (exact lookup returning all packing-group variants, partial name match, class-wide listing). The Related line routes the agent to the right alternative tools for adjacent tasks.

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