{
  "x402Version": 1,
  "name": "MMM TradeCost + HS Code Helper",
  "description": "Low-cost machine-to-machine import tools: landed-cost arithmetic from rates supplied by the caller and a cautious AI-generated preliminary HS6 suggestion. No live tariff database or official customs advice.",
  "resources": [
    {
      "resource": "https://mmm-engine-v2.opportunity-hunter.workers.dev/api/tradecost",
      "description": "Calculate customs-value inputs, illustrative duty/VAT and target selling margin from caller-supplied rates.",
      "tags": [
        "trade",
        "landed-cost",
        "import-cost",
        "duty-calculator",
        "vat-calculator",
        "margin-calculator",
        "finance"
      ],
      "serviceTags": [
        "trade",
        "calculation",
        "data-transformation"
      ],
      "inputSchema": {
        "type": "object",
        "required": [
          "itemCost",
          "dutyRatePct"
        ],
        "properties": {
          "itemCost": {
            "type": "number",
            "minimum": 0
          },
          "shippingCost": {
            "type": "number",
            "minimum": 0,
            "default": 0
          },
          "insuranceCost": {
            "type": "number",
            "minimum": 0,
            "default": 0
          },
          "dutyRatePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "vatRatePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "default": 0
          },
          "otherCosts": {
            "type": "number",
            "minimum": 0,
            "default": 0
          },
          "quantity": {
            "type": "integer",
            "minimum": 1,
            "default": 1
          },
          "targetMarginPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 99.99,
            "default": 0
          },
          "currency": {
            "type": "string",
            "default": "USD"
          }
        }
      },
      "outputSchema": {
        "type": "object"
      },
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0xeFD11F24cF9ec329c7345C3a3352f68d5c021C99",
          "maxAmountRequired": "5000"
        }
      ]
    },
    {
      "resource": "https://mmm-engine-v2.opportunity-hunter.workers.dev/api/hs-code",
      "description": "Suggest a preliminary six-digit HS classification from product description, material and intended use; flags uncertainty and alternatives. Not an official customs classification.",
      "tags": [
        "hs-code",
        "hs6",
        "harmonized-system",
        "tariff-classification",
        "customs",
        "import-export",
        "trade-compliance",
        "product-classification"
      ],
      "serviceTags": [
        "trade",
        "classification",
        "research"
      ],
      "inputSchema": {
        "type": "object",
        "required": [
          "productDescription"
        ],
        "properties": {
          "productDescription": {
            "type": "string",
            "minLength": 4,
            "maxLength": 600
          },
          "countryOfImport": {
            "type": "string",
            "maxLength": 80
          },
          "material": {
            "type": "string",
            "maxLength": 200
          },
          "intendedUse": {
            "type": "string",
            "maxLength": 200
          }
        }
      },
      "outputSchema": {
        "type": "object"
      },
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0xeFD11F24cF9ec329c7345C3a3352f68d5c021C99",
          "maxAmountRequired": "10000"
        }
      ]
    }
  ]
}