{
 "$schema": "https://static.modelcontextprotocol.io/schemas/mcp-server-card/v1.json",
 "version": "1.0",
 "protocolVersion": "2025-11-25",
 "serverInfo": {
  "name": "touley-booking",
  "title": "Touley tour booking",
  "version": "1.0.0"
 },
 "description": "Books private and shared tours (Toast Tours: wine, brewery, distillery and Hearst Castle tours in Paso Robles, CA) through Touley. Flow: list_tours → get_tour → check_availability → quote (show it to the guest) → book with the quote_id once the guest says yes. book returns a Stripe payment link for the guest; never take card details. Prices are in USD and always come from these tools.",
 "documentationUrl": "https://touley.com/agents",
 "transport": {
  "type": "streamable-http",
  "endpoint": "https://ffadyoayuqszjlcsdtpj.supabase.co/functions/v1/agent/mcp"
 },
 "endpoints": [
  {
   "type": "streamable-http",
   "url": "https://ffadyoayuqszjlcsdtpj.supabase.co/functions/v1/agent/mcp"
  }
 ],
 "capabilities": {
  "tools": {
   "listChanged": false
  }
 },
 "authentication": {
  "required": false
 },
 "tools": [
  {
   "name": "list_tours",
   "title": "List tours",
   "description": "The tours that can be booked online: what each is, its price basis (per hour, per person, or by quote), price from, length, the days and start times, and its booking page. Start here."
  },
  {
   "name": "get_tour",
   "title": "Tour details",
   "description": "One tour in full: description, what is included, the price rules (rate table, per-person tiers, deposit, gratuity), add-ons with ids, the booking questions (ids, types, options, required), the cancellation policy and the tour's FAQ."
  },
  {
   "name": "check_availability",
   "title": "Check availability",
   "description": "Whether the company can take the group on a date: for one tour (or every tour) whether it runs that day, the start times still free (null = no set times, any start), and the price for that group and day. Saturdays and bigger groups have their own rates; low-season and last-minute discounts show here."
  },
  {
   "name": "quote",
   "title": "Quote a booking",
   "description": "The exact price for a booking, worked out like the booking page: the tour, pickup & drop-off, add-ons, priced booking answers, gratuity, the total, what is paid today (the deposit, or everything for per-person tours) and the balance later, with the cancellation policy. Checks the date and start time are still free. Returns a quote_id for book (valid 60 minutes, same choices). Show the guest the quote before booking. Tours priced by quote return request_quote instead of a price."
  },
  {
   "name": "book",
   "title": "Book (get the payment link)",
   "description": "Books the quoted tour for the guest once they have seen the quote and said yes: makes the booking with the guest's contact details and answers and returns the deposit's secure Stripe payment link (payment_url). Give the guest that link: they agree to the terms and pay on Stripe's page; the date is held once paid. Never ask for or type card details. Tours priced by quote send a quote request to the office instead (no payment). Use a real guest's own email and phone (the company emails them about the booking)."
  },
  {
   "name": "faq_search",
   "title": "Search the FAQ",
   "description": "The company's own answers to common questions (policies, kids, dogs, tasting fees, what to bring, accessibility, lodging, groups, areas served…). Answer guests only from what it returns; prices there are general, for a booking use quote."
  }
 ]
}