Skip to content
Eden Engine

Dangerous Goods Classification by Substance or UN Number

omnial/x402-dangerous-goods-classify

Given a substance name or UN number, returns its dangerous-goods classification: hazard class and division, packing group, proper shipping name, hazard labels, special handling provisions, marine-pollutant and limited-quantity status, and an Emergency Response Guidebook guide number. When the substance is not recognized, returns a no-match result with guidance on how to retry instead of an error.

activeper callv2

Price

Up to $0.0325 per call; you pay what the call used

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

Eden Engine

Computed by Eden Engine from the inputs you provide.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/x402-dangerous-goods-classify" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/x402-dangerous-goods-classify" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/x402-dangerous-goods-classify", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/x402-dangerous-goods-classify", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0325
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "substance"
  ],
  "properties": {
    "substance": {
      "type": "string",
      "description": "Substance name or UN number (e.g. UN1203, Gasoline)"
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Present only when the submitted substance does not resolve to any known classification; human-readable guidance on how to retry (e.g. try a UN number or a known substance name)."
    },
    "match": {
      "type": "object",
      "properties": {
        "class": {
          "type": "string",
          "description": "Hazard class number, e.g. '3' for flammable liquids."
        },
        "labels": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Hazard label codes to display on packaging, e.g. ['3']."
        },
        "division": {
          "type": "string",
          "description": "Hazard sub-division. An empty string when the class has no further sub-division."
        },
        "erg_guide": {
          "type": "string",
          "description": "Emergency Response Guidebook guide number, e.g. '128'."
        },
        "un_number": {
          "type": "string",
          "description": "e.g. 'UN1203'."
        },
        "packing_group": {
          "type": "string",
          "description": "e.g. 'I', 'II', 'III', indicating packing stringency."
        },
        "limited_quantity": {
          "type": "boolean",
          "description": "Whether the substance qualifies for limited-quantity shipping exceptions."
        },
        "marine_pollutant": {
          "type": "boolean"
        },
        "subsidiary_risks": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Additional hazard classes that apply alongside the primary class. Usually an empty array; a populated item's shape is not documented."
        },
        "class_description": {
          "type": "string",
          "description": "Plain-language name of the hazard class."
        },
        "special_provisions": {
          "type": "string",
          "description": "Free-text handling and safety notes, e.g. flash point and vapor-density warnings."
        },
        "proper_shipping_name": {
          "type": "string",
          "description": "The substance's regulatory shipping name, e.g. 'Gasoline / Petrol / Motor spirit'."
        }
      },
      "description": "Present only when the submitted substance resolves to a known dangerous-goods classification. Absent when no match is found (see `error`/`matches`/`total_matches` instead).",
      "additionalProperties": true
    },
    "query": {
      "type": "string",
      "description": "The substance name or UN number exactly as submitted, echoed back."
    },
    "matches": {
      "type": "array",
      "items": {},
      "description": "Present on an unmatched query. Usually an empty array; a populated item's shape is not documented."
    },
    "total_matches": {
      "type": "number",
      "description": "Count of candidate matches found. Observed 0 on an unmatched query."
    }
  },
  "description": "The dangerous-goods classification result.",
  "additionalProperties": true
}