{
  "$type": "McpServer",
  "name": "api.villas",
  "version": "0.1.0",
  "protocolVersion": "2025-06-18",
  "transport": "streamable-http",
  "note": "POST JSON-RPC 2.0 to this address: initialize, tools/list, tools/call. Tool names are the canonical operationIds — the same identifiers the OpenAPI contract and the rate card key on.",
  "capabilities": {
    "tools": [
      {
        "name": "listBookings",
        "description": "Bookings — the branching Booking collection (the row's schema.org Offer/Reservation record position): typed OK | EMPTY | BLOCKED | OFFER on one pathname"
      },
      {
        "name": "getBooking",
        "description": "getBooking — one Booking record by id (data face read; same row the headless face operates on; seed ids look like BKG-952-0001)"
      },
      {
        "name": "listProperties",
        "description": "listProperties — the villa/short-stay inventory grain (labeled demo units; native binding — first-party inventory, never scraped rate data), filterable by type"
      },
      {
        "name": "getProperty",
        "description": "getProperty — one Property record by id (seed ids look like PRP-952-0001)"
      },
      {
        "name": "listNightAuditReports",
        "description": "listNightAuditReports — the typed operational artifact (generated binding: derived from the booking/folio corpus; the sector's wedge document), filterable by business date"
      },
      {
        "name": "getNightAuditReport",
        "description": "getNightAuditReport — one NightAuditReport by id (seed ids look like NAR-952-0001)"
      },
      {
        "name": "listFolios",
        "description": "listFolios — guest folio / guest-ledger records ([UNVERIFIED — inferred] data-ply item, flag carried from the row), filterable by booking"
      },
      {
        "name": "createBooking",
        "description": "createBooking — headless Booking/PMS door: capture a booking in the ephemeral anonymous sandbox workspace (isolate-lifetime retention, disclosed on every response; no real stay is reserved)"
      },
      {
        "name": "cancelBooking",
        "description": "cancelBooking — headless verb on the same collection: cancel a workspace booking (seed-tenant records are read-only and answer BLOCKED)"
      },
      {
        "name": "runNightAudit",
        "description": "runNightAudit — headless PMS door: run the night audit over the caller's ephemeral workspace bookings for a business date and mint the report (the process the PMS ply automates)"
      }
    ]
  }
}