{
  "schema_version": "0.1.0",
  "name": "Coachdrift",
  "description": "The all-in-one operating system for sports academies and fitness coaches. Offline-first mobile app, smart check-ins, zero-commission payments.",
  "url": "https://coachdrift.fit",
  "logo": "https://coachdrift.fit/favicon.svg",
  "contact": {
    "email": "support@coachdrift.fit",
    "whatsapp": "https://wa.me/201556969498"
  },
  "tools": [
    {
      "name": "get_platform_info",
      "description": "Get an overview of the Coachdrift platform — what it is, who it serves, key differentiators, and supported regions.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    },
    {
      "name": "get_pricing_plans",
      "description": "Get all Coachdrift subscription plans with pricing in EGP, SAR, and USD. Optionally filter by client capacity or currency.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "currency": {
            "type": "string",
            "enum": ["EGP", "SAR", "USD"],
            "description": "Filter prices by currency"
          },
          "min_clients": {
            "type": "number",
            "description": "Minimum number of active clients needed"
          },
          "billing_cycle": {
            "type": "string",
            "enum": ["monthly", "yearly"],
            "description": "Show monthly or yearly pricing"
          }
        }
      }
    },
    {
      "name": "recommend_plan",
      "description": "Get a personalized plan recommendation based on number of clients, coaches needed, and budget.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "num_clients": {
            "type": "number",
            "description": "How many active clients the coach has or expects"
          },
          "num_coaches": {
            "type": "number",
            "description": "How many coaches/assistants needed"
          },
          "currency": {
            "type": "string",
            "enum": ["EGP", "SAR", "USD"]
          },
          "budget_monthly": {
            "type": "number",
            "description": "Maximum monthly budget"
          }
        },
        "required": ["num_clients"]
      }
    },
    {
      "name": "get_features",
      "description": "Get the full list of Coachdrift platform features and capabilities.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "description": "Filter: training, nutrition, payments, management, mobile, or analytics"
          }
        }
      }
    },
    {
      "name": "answer_faq",
      "description": "Search Coachdrift frequently asked questions by topic.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "A question or topic to search for (e.g. commission, offline, trial)"
          }
        }
      }
    },
    {
      "name": "get_coach_storefront",
      "description": "Get the public storefront URL for a coach by their slug to view packages and subscribe.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "description": "The coach's unique identifier/slug"
          }
        },
        "required": ["slug"]
      }
    },
    {
      "name": "get_download_links",
      "description": "Get download links for the Coachdrift mobile and desktop applications.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "platform": {
            "type": "string",
            "enum": ["android", "ios", "windows", "macos", "linux", "web"]
          }
        }
      }
    },
    {
      "name": "get_contact_info",
      "description": "Get Coachdrift contact and support information including WhatsApp, email, and social links.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": ["sales", "support", "partnership", "general"]
          }
        }
      }
    },
    {
      "name": "compare_plans",
      "description": "Compare two or more Coachdrift plans side by side.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "plan_ids": {
            "type": "array",
            "items": { "type": "string" },
            "description": "Plan IDs to compare (e.g. free, ind-50, corp-unlimited)"
          },
          "currency": {
            "type": "string",
            "enum": ["EGP", "SAR", "USD"]
          }
        },
        "required": ["plan_ids"]
      }
    },
    {
      "name": "start_free_trial",
      "description": "Navigate to free trial registration with setup steps and requirements.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "plan_id": {
            "type": "string",
            "description": "Optional preferred plan ID to pre-select"
          }
        }
      }
    },
    {
      "name": "get_legal_info",
      "description": "Get links to terms, privacy, and refund policy documents.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "document": {
            "type": "string",
            "enum": ["terms", "privacy", "refund", "all"]
          }
        }
      }
    },
    {
      "name": "get_current_page_context",
      "description": "Get structured context about the current page — homepage, coach storefront, checkout, or download.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    },
    {
      "name": "register_coach_academy",
      "description": "Register a new sports academy or fitness coach account for the 14-day free trial on Coachdrift.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "coachName": {
            "type": "string",
            "description": "Full name of the coach or academy owner"
          },
          "academyName": {
            "type": "string",
            "description": "Name of the sports academy or training brand"
          },
          "slug": {
            "type": "string",
            "description": "Unique handle identifier for the coach storefront (e.g. coach-ahmed)"
          },
          "email": {
            "type": "string",
            "description": "Valid email address for login and notifications"
          },
          "phone": {
            "type": "string",
            "description": "Phone or WhatsApp number with country code"
          },
          "planTier": {
            "type": "string",
            "enum": ["free", "ind-10", "ind-15", "ind-25", "ind-50", "ind-75", "ind-100", "ind-150", "ind-250", "corp-300", "corp-500", "corp-unlimited"],
            "description": "Selected subscription tier (default: ind-50)"
          }
        },
        "required": ["coachName", "academyName", "email"]
      }
    }
  ]
}
