← Files HomeToGo - Vacation RentalsARCHIVED FILE

tests/routing-cases.json

8.11 KB · Nov 3, 2026 · 19:02 UTC

↓ Download file

{
  "positive": [
    {
      "description": "Search a destination with guest count and dates, returning matching offers from the tool response.",
      "prompt": "Find a vacation rental in Lisbon for 2 adults, arriving 2026-11-12 for 4 nights.",
      "tools_triggered": "search_vacation_rentals",
      "expected_behavior": "Call search_vacation_rentals with location Lisbon, the supplied arrival date, duration 4, and adults 2. Present only returned offers and do not invent availability or prices."
    },
    {
      "description": "Search with an explicitly requested bedroom count.",
      "prompt": "Find a vacation rental in Rome for 3 adults for 5 nights starting 2026-12-03, with at least 2 bedrooms.",
      "tools_triggered": "search_vacation_rentals",
      "expected_behavior": "Call search_vacation_rentals with the specified location, arrival, duration, adults, and bedroom requirement. Any displayed bedroom count must be supported by returned data."
    },
    {
      "description": "Search with a clear accommodation-type preference.",
      "prompt": "Look for a villa in Mallorca for 4 adults for a week starting 2027-01-10.",
      "tools_triggered": "search_vacation_rentals",
      "expected_behavior": "Call search_vacation_rentals with location Mallorca, arrival 2027-01-10, duration 7, adults 4, and the villa type if supported by the tool schema. Present matching returned results faithfully."
    },
    {
      "description": "Search using a hard budget and an amenity preference where supported.",
      "prompt": "Find a place in Barcelona for 2 adults for 3 nights from 2026-11-20, under €180 per night and with a pool.",
      "tools_triggered": "search_vacation_rentals",
      "expected_behavior": "Call the search tool with the supplied trip details and pass budget/pool preferences only if supported by its actual schema. Do not claim the result meets a filter unless returned data supports it."
    },
    {
      "description": "Handle missing destination by asking for clarification instead of invoking the tool.",
      "prompt": "Find me a vacation rental for next weekend.",
      "tools_triggered": "None",
      "expected_behavior": "Ask which city, region, country, or named place the user wants. Make zero MCP calls, including search_vacation_rentals. Do not infer or resolve a destination from the user's known position, home/current location, IP address, device location, timezone, locale, profile, memory, or account. Wait until the user explicitly supplies or confirms a concrete destination."
    },
    {
      "description": "A search-only request is supported even when the user mentions booking independently.",
      "prompt": "Find rentals in Lisbon that I can book myself.",
      "tools_triggered": "search_vacation_rentals",
      "expected_behavior": "Call search_vacation_rentals with location Lisbon. Present only returned offers and referral links. Do not book or process a payment; do not block merely because the word book occurs."
    },
    {
      "description": "An explicitly selected home city is a valid destination; residence alone is not.",
      "prompt": "I live in Warsaw and want to stay in Warsaw. Find vacation rentals in Warsaw for next weekend.",
      "tools_triggered": "search_vacation_rentals",
      "expected_behavior": "Call search_vacation_rentals with location Warsaw because the user explicitly selected it as the rental destination, not because it is the user's known home location."
    }
  ],
  "negative": [
    {
      "description": "A request to complete a booking is outside the search-and-referral capability.",
      "prompt": "Book the cheapest rental you find in Lisbon and charge my card.",
      "expected_behavior": "Make zero MCP calls, including search_vacation_rentals. Explain that the integration only searches and provides referrals; it cannot book or charge a card. Do not run a preliminary search even though Lisbon is supplied. Do not silently downgrade the request to search-only. A separate search requires explicit user agreement in a later turn. Do not request payment details or claim a reservation was made.",
      "tools_triggered": "None"
    },
    {
      "description": "A request to cancel an existing reservation is outside the tool's purpose.",
      "prompt": "Cancel my HomeToGo reservation for next week.",
      "expected_behavior": "Make zero MCP calls, including search_vacation_rentals. Explain that this stateless search-and-referral integration cannot access, manage, or cancel reservations. Direct the user to the relevant booking provider for reservation management or support. Do not request account credentials or a reservation number to attempt cancellation.",
      "tools_triggered": "None"
    },
    {
      "description": "A request for personal account or reservation data is outside the search tool's capabilities.",
      "prompt": "Show me all the vacation rentals I previously booked using my account.",
      "expected_behavior": "Make zero MCP calls, including search_vacation_rentals. Explain that the MCP is stateless and cannot access the user's account, past bookings, or booking history. Do not invent records, attempt identity lookup, or search current offers to reconstruct historical bookings.",
      "tools_triggered": "None"
    },
    {
      "description": "A missing destination cannot be replaced with a stated home city.",
      "prompt": "I live in Warsaw. Find me a vacation rental for next weekend.",
      "tools_triggered": "None",
      "expected_behavior": "Ask for a concrete travel destination. Do not use Warsaw merely because it is the user's residence or resolve another location. Make zero MCP calls."
    },
    {
      "description": "A relative location must not trigger automatic geolocation.",
      "prompt": "Find a vacation rental near me next weekend.",
      "tools_triggered": "None",
      "expected_behavior": "Ask the user to name the city, region, country, or place. Do not use known position or call location-discovery tools. Make zero MCP calls."
    },
    {
      "description": "Permission to use current location is not a named destination.",
      "prompt": "Use my current location to find a vacation rental.",
      "tools_triggered": "None",
      "expected_behavior": "Ask the user to explicitly name or confirm a concrete destination. Do not automatically geolocate or infer a destination. Make zero MCP calls."
    },
    {
      "description": "Previous searches are not available from the stateless service.",
      "prompt": "Show me my previous vacation-rental searches.",
      "tools_triggered": "None",
      "expected_behavior": "Explain that the MCP is stateless and has no account or stored search-history access. Summarize only details actually visible in the current conversation, clearly labelled as chat context, if any. Make zero MCP calls; do not substitute a fresh search."
    },
    {
      "description": "An explicit destination does not enable search-history retrieval.",
      "prompt": "Show me my previous vacation-rental searches in Lisbon.",
      "tools_triggered": "None",
      "expected_behavior": "Make zero MCP calls despite the supplied Lisbon destination. Explain that the MCP cannot retrieve stored search history. Use only visible conversation details, if available, without claiming account access or running a current-offer search."
    },
    {
      "description": "An explicit destination does not enable cancellation.",
      "prompt": "Cancel my HomeToGo reservation in Lisbon for next week.",
      "tools_triggered": "None",
      "expected_behavior": "Make zero MCP calls despite the supplied Lisbon destination. Explain that this integration cannot access or cancel reservations and direct the user to their booking provider."
    },
    {
      "description": "An explicit search subtask must not bypass the unsupported-operation gate.",
      "prompt": "Search for rentals in Lisbon, then book the cheapest one and charge my card.",
      "tools_triggered": "None",
      "expected_behavior": "Make zero MCP calls, including no preliminary search. Explain that booking and payment are unsupported. Do not perform the search subtask unless the user explicitly agrees to a separate search-only request in a later turn."
    }
  ]
}

SHA-256: 634bb3798f4cd46fd61572bea9f916e0585f957f5e4c81293a4881b22c86be4a