{
  "name": "subba",
  "description": "AI receptionist for small businesses: answers website contact forms and books appointments, classes, and jobs.",
  "url": "https://subba.pro",
  "provider": { "organization": "Polarize Ltd", "url": "https://polarize.ltd" },
  "version": "1.0.0",
  "documentationUrl": "https://subba.pro/AGENTS.md",
  "transport": "rest",
  "capabilities": { "streaming": false, "pushNotifications": false, "stateTransitionHistory": false },
  "defaultInputModes": ["application/json"],
  "defaultOutputModes": ["application/json"],
  "mcp": { "url": "https://api.subba.pro/mcp", "transport": "streamable-http", "tools": ["list_services", "check_availability", "create_booking"] },
  "skills": [
    {
      "id": "submit-enquiry",
      "name": "Submit enquiry",
      "description": "POST an enquiry to a business's contact form; subba replies in the business's voice and books a meeting when asked.",
      "tags": ["contact", "enquiry"],
      "examples": ["Ask a salon whether they have Saturday availability for a cut and colour"],
      "endpoint": { "method": "POST", "url": "https://api.subba.pro/f/{formId}" }
    },
    {
      "id": "list-services",
      "name": "List services",
      "description": "List a business's bookable services with duration, price, and whether payment is required.",
      "tags": ["booking"],
      "endpoint": { "method": "GET", "url": "https://api.subba.pro/api/b/{slug}/services" }
    },
    {
      "id": "get-availability",
      "name": "Get availability",
      "description": "Get open appointment slots or class sessions for a service on a date.",
      "tags": ["booking", "calendar"],
      "endpoint": { "method": "GET", "url": "https://api.subba.pro/api/b/{slug}/slots?service={serviceId}&date=YYYY-MM-DD" }
    },
    {
      "id": "create-booking",
      "name": "Create booking",
      "description": "Book a slot or class. Returns a Stripe checkout URL when the service requires payment; funds settle to the business's own Stripe account.",
      "tags": ["booking", "payment"],
      "endpoint": { "method": "POST", "url": "https://api.subba.pro/api/b/{slug}/book" }
    }
  ]
}
