{
  "name": "assess-my-hair",
  "title": "Assess My Hair — Cosmetic Hair-Care Decision Engine",
  "vendor": "Rich Mom Recommends",
  "version": "1.0.0",
  "description": "A cosmetic hair-care decision engine. Given hair type, condition, goals, and routine, it returns cosmetic hair-care approaches and product categories. Cosmetic and educational only — it does not diagnose, treat, or advise on any medical or scalp condition, does not prescribe medication, and routes anything concerning to a qualified professional.",
  "homepage": "https://assessmyhair.com",
  "documentation": "https://assessmyhair.com/docs",
  "openapi": "https://assessmyhair.com/openapi.json",
  "capability": {
    "id": "assess_hair_needs",
    "kind": "cosmetic-decision-support",
    "inputs": ["hairType", "condition", "goals", "routine"],
    "outputs": ["cosmeticApproaches", "productCategories", "routineGuidance", "suggestedProducts", "whenToConsultAProfessional", "disclaimer"]
  },
  "doors": [
    {
      "type": "rest",
      "endpoint": "https://assessmyhair.com/api/v1/assess-hair-needs",
      "methods": ["GET", "POST", "OPTIONS"],
      "cors": "*"
    },
    {
      "type": "mcp",
      "endpoint": "https://assessmyhair.com/api/mcp",
      "protocol": "Model Context Protocol (JSON-RPC 2.0)",
      "protocolVersion": "2024-11-05",
      "methods": ["initialize", "tools/list", "tools/call", "ping"],
      "tool": "assess_hair_needs",
      "cors": "*"
    },
    {
      "type": "browser-webmcp",
      "registration": "navigator.modelContext.registerTool",
      "tool": "assess_hair_needs",
      "fallback": "Degrades gracefully to REST + MCP when no WebMCP host is present."
    },
    {
      "type": "human",
      "endpoint": "https://assessmyhair.com/quiz",
      "description": "Interactive human web assessment sharing the same canonical engine."
    }
  ],
  "safety": {
    "cosmeticOnly": true,
    "noMedicalDiagnosis": true,
    "noTreatmentOrMedication": true,
    "noConsequentialActions": true,
    "routesConcerningSymptomsToProfessional": true,
    "disclaimer": "Cosmetic guidance only. Not medical advice. Does not diagnose, treat, cure, or assess any scalp or medical condition, and does not replace a qualified professional."
  },
  "privacy": {
    "storesRawInputs": false,
    "analytics": "Interface-distinguishing invocation counts only; no raw or sensitive inputs are stored."
  }
}
