Skip to main content
Glama

Search Properties

hemmabo_search_properties
Read-only

Search vacation rental properties by location, travel dates, guest count, and required amenities to find available stays and host booking links for verified offers.

Instructions

Search available vacation rental properties by location and travel dates. Use when the user wants to find or browse places to stay. Discovery only, and price-free: call vrp_get_verified_stay_offer with the host domain and same dates before the final answer so the client can render the verified stay offer widget; the price and the signed booking link come only from that offer. Do NOT use when the user already has a propertyId or host domain. Returns propertyId, host domain, the host's booking_url, live availability and capacity. Parameters combine as one filter with guests and the checkIn/checkOut range (checkIn strictly before checkOut): region matches broadly against region, city, and country names, while country matches the country field alone — omit both and the search spans every published property. Required amenities (amenities) are a match condition decided by the host's own declaration: only a declared yes matches, and each result then carries amenityFacts for exactly those amenities. Capacity misses are excluded; date-unavailable matches return separately in unavailableMatches with up to three alternative windows. Booking and payment happen only on the host's own domain, at the signed direct_booking_url. The agent never books, pays, cancels or changes a booking.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "guests": "<guests>",
      "checkIn": "<checkIn>",
      "checkOut": "<checkOut>"
    },
    "name": "hemmabo_search_properties"
  }
}

Input Schema

NameRequiredDescriptionDefault
guestsYesTotal guest count as a positive integer (e.g. 2, 4, 6). Used for capacity filtering and staircase pricing tiers. Properties with maxGuests below this value are excluded from search results.
regionNoRegion, area, or destination to search within (e.g. 'Skåne', 'Kävlinge', 'Toscana', 'Bavaria'). Partial case-insensitive match against region, city, and country. Optional — omit both region and country and the search spans every published property.
checkInYesArrival date in ISO 8601 calendar format YYYY-MM-DD (e.g. '2026-07-15'). Must be today or later in the property's timezone. Must be strictly before checkOut; together they define the stay length used for pricing and availability.
countryNoCountry name to filter by (e.g. 'Sweden', 'Italy', 'Morocco'). Partial case-insensitive match against the country field. Optional — omit both region and country and the search spans every published property.
checkOutYesDeparture date in ISO 8601 calendar format YYYY-MM-DD (e.g. '2026-07-22'). Must be strictly after checkIn on the same calendar. The guest does not stay the departure night.
amenitiesNoOptional. Amenities the guest REQUIRES, as canonical names, e.g. ['hot_tub'] for 'with a hot tub' / 'med spabad', ['sauna'], ['pool'], ['wifi'], ['fireplace'], ['ev_charging']. A property matches only when its host has declared every one of them (affirmed); a host's no or an unanswered amenity is not a match. Put an amenity here only when the guest wants it — 'without a hot tub' / 'utan spabad' is NOT a hot-tub requirement (see excludedAmenities), and 'sauna or pool' is not a requirement for both: ask which. Omit for no amenity requirement.
excludedAmenitiesNoOptional. Amenities the stay MUST BE WITHOUT, as canonical names, e.g. ['hot_tub'] for 'it must not have a hot tub'. A property matches only when its host has declared the amenity absent (negated); an unanswered amenity is not a match, because no answer does not prove absence. Use only when the guest requires the absence. 'A hot tub is not needed' / 'spabad är inget krav' is NO condition at all: leave the amenity out of both lists. If the guest's wording is ambiguous, ask before filtering.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent only when isError=true.
guestsNoEchoed guest count.
checkInNoEchoed check-in date (YYYY-MM-DD).
checkOutNoEchoed check-out date (YYYY-MM-DD).
propertiesNoAvailable properties matching the search criteria: each host domain and its own booking URL, without a price.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv7.1.0
    • addedInput schema / properties / amenities
      Added value: +{
      +  "description": "Optional. Amenities the guest REQUIRES, as canonical names, e.g. ['hot_tub'] for 'with a hot tub' / 'med spabad', ['sauna'], ['pool'], ['wifi'], ['fireplace'], ['ev_charging']. A property matches only when its host has declared every one of them (affirmed); a host's no or an unanswered amenity is not a match. Put an amenity here only when the guest wants it — 'without a hot tub' / 'utan spabad' is NOT a hot-tub requirement (see excludedAmenities), and 'sauna or pool' is not a requirement for both: ask which. Omit for no amenity requirement.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / excludedAmenities
      Added value: +{
      +  "description": "Optional. Amenities the stay MUST BE WITHOUT, as canonical names, e.g. ['hot_tub'] for 'it must not have a hot tub'. A property matches only when its host has declared the amenity absent (negated); an unanswered amenity is not a match, because no answer does not prove absence. Use only when the guest requires the absence. 'A hot tub is not needed' / 'spabad är inget krav' is NO condition at all: leave the amenity out of both lists. If the guest's wording is ambiguous, ask before filtering.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / properties / items / properties / amenityFacts
      Added value: +{
      +  "additionalProperties": {
      +    "enum": [
      +      "affirmed",
      +      "negated",
      +      "unknown"
      +    ],
      +    "type": "string"
      +  },
      +  "description": "Present when the search carried required amenities: the host's declared state for each of them — 'affirmed' (yes), 'negated' (no) or 'unknown' (the host has not answered).",
      +  "type": "object"
      +}
    • changedOutput schema / properties / properties / items / properties / signals / description
      Previous value: -"Optional. Host-declared canonical discovery flags for matching requests like dog-friendly, hot tub, crib, or hen party. Grouped: amenities / policies / suitability / setting (arrays of canonical English keys, e.g. 'allows_dogs', 'has_hot_tub', 'crib_available', 'bachelorette_party_friendly') plus bestForOccasions / targetAudience, plus policies_negated: the host's EXPLICIT NOs from the claims ledger (e.g. 'pets_cats' there means cats are not allowed — relay as a clear, friendly no). Canonical keys — render them in the user's language. Match signals, not verified guarantees: the signed verified-stay-offer and the property page are authoritative; absence of a flag from both the affirmed groups and policies_negated means UNKNOWN, not 'no' — recommend asking the host."New value: +"Optional. Host-declared canonical discovery flags for matching requests like dog-friendly, hot tub, crib, or hen party. Grouped: amenities / policies / suitability / setting (arrays of canonical English keys, e.g. 'allows_dogs', 'has_hot_tub', 'crib_available', 'bachelorette_party_friendly') plus bestForOccasions / targetAudience, plus policies_negated and amenities_negated: the host's EXPLICIT NOs from the claims ledger (e.g. 'pets_cats' there means cats are not allowed, 'hot_tub' in amenities_negated means there is no hot tub — relay as a clear, friendly no). Canonical keys — render them in the user's language. Match signals, not verified guarantees: the signed verified-stay-offer and the property page are authoritative; absence of a flag from both the affirmed groups and the negated lists means UNKNOWN, not 'no' — recommend asking the host."
  2. Changed13 schema fields changedv7.0.5
    • changedInput schema / properties / country / description
      Previous value: -"Country name to filter by (e.g. 'Sweden', 'Italy', 'Morocco'). Partial case-insensitive match. Provide at least one of region or country; omit when region already narrows the destination."New value: +"Country name to filter by (e.g. 'Sweden', 'Italy', 'Morocco'). Partial case-insensitive match against the country field. Optional — omit both region and country and the search spans every published property."
    • changedInput schema / properties / region / description
      Previous value: -"Region, area, or destination to search within (e.g. 'Skåne', 'Kävlinge', 'Toscana', 'Bavaria'). Partial case-insensitive match. Provide at least one of region or country; omit only when country alone is sufficient."New value: +"Region, area, or destination to search within (e.g. 'Skåne', 'Kävlinge', 'Toscana', 'Bavaria'). Partial case-insensitive match against region, city, and country. Optional — omit both region and country and the search spans every published property."
    • changedOutput schema / properties / properties / description
      Previous value: -"Available properties matching the search criteria, with live host-source pricing."New value: +"Available properties matching the search criteria: each host domain and its own booking URL, without a price."
    • removedOutput schema / properties / properties / items / properties / currency
      Removed value: -{
      -  "description": "ISO 4217 currency code (e.g. 'SEK', 'EUR').",
      -  "type": "string"
      -}
    • removedOutput schema / properties / properties / items / properties / directBookingDiscountPercent
      Removed value: -{
      -  "description": "Legacy internal field. Do not present this as a guest-facing discount, savings, or comparison.",
      -  "type": "integer"
      -}
    • removedOutput schema / properties / properties / items / properties / directBookingTotal
      Removed value: -{
      -  "description": "Preferred field for user-facing copy: direct host-source total, in minor currency units.",
      -  "type": "integer"
      -}
    • removedOutput schema / properties / properties / items / properties / federationDiscountPercent
      Removed value: -{
      -  "description": "Legacy internal field. Do not present this as a guest-facing discount, savings, or comparison.",
      -  "type": "integer"
      -}
    • removedOutput schema / properties / properties / items / properties / federationTotal
      Removed value: -{
      -  "description": "Legacy field: direct host-source total, in minor currency units. Do not label this as a HemmaBo platform, federation, OTA, marketplace, comparison, discount, or savings price in user-facing copy.",
      -  "type": "integer"
      -}
    • removedOutput schema / properties / properties / items / properties / hostSourcePublicTotal
      Removed value: -{
      -  "description": "Preferred field for user-facing copy: public host-source total for the date range, in minor currency units.",
      -  "type": "integer"
      -}
    • removedOutput schema / properties / properties / items / properties / packageApplied
      Removed value: -{
      -  "description": "Package applied (e.g. week or two_weeks), if any.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / properties / items / properties / propertyId / description
      Previous value: -"Stable UUID. Pass to subsequent tools (availability)."New value: +"Stable property UUID."
    • removedOutput schema / properties / properties / items / properties / publicTotal
      Removed value: -{
      -  "description": "Standard website total for the date range, in minor currency units.",
      -  "type": "integer"
      -}
    • changedOutput schema / properties / properties / items / required
      Previous value: -[
      -  "propertyId",
      -  "name",
      -  "maxGuests",
      -  "federationTotal"
      -]New value: +[
      +  "propertyId",
      +  "name",
      +  "maxGuests"
      +]
  3. Changed2 schema fields changedv5.0.0
    • addedOutput schema / properties / properties / items / properties / booking_url
      Added value: +{
      +  "description": "The host's own booking URL: https:// plus the host-owned domain. Null when the property has no domain.",
      +  "format": "uri",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / properties / items / properties / propertyId / description
      Previous value: -"Stable UUID. Pass to subsequent tools (availability, quote, checkout)."New value: +"Stable UUID. Pass to subsequent tools (availability)."
  4. Changed1 schema field changedv0.1.11
    • changedOutput schema / properties / properties / items / properties / signals / description
      Previous value: -"Optional. Host-declared canonical discovery flags for matching requests like dog-friendly, hot tub, crib, or hen party. Grouped: amenities / policies / suitability / setting (arrays of canonical English keys, e.g. 'allows_dogs', 'has_hot_tub', 'crib_available', 'bachelorette_party_friendly') plus bestForOccasions / targetAudience. Canonical keys — render them in the user's language. Match signals, not verified guarantees: the signed verified-stay-offer and the property page are authoritative; absence of a flag means 'not detected', not 'no'."New value: +"Optional. Host-declared canonical discovery flags for matching requests like dog-friendly, hot tub, crib, or hen party. Grouped: amenities / policies / suitability / setting (arrays of canonical English keys, e.g. 'allows_dogs', 'has_hot_tub', 'crib_available', 'bachelorette_party_friendly') plus bestForOccasions / targetAudience, plus policies_negated: the host's EXPLICIT NOs from the claims ledger (e.g. 'pets_cats' there means cats are not allowed — relay as a clear, friendly no). Canonical keys — render them in the user's language. Match signals, not verified guarantees: the signed verified-stay-offer and the property page are authoritative; absence of a flag from both the affirmed groups and policies_negated means UNKNOWN, not 'no' — recommend asking the host."
  5. Changed4 schema fields changedv0.1.6
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / guests / maximum
      Removed value: -9007199254740991
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "checkIn": {
      +      "description": "Echoed check-in date (YYYY-MM-DD).",
      +      "type": "string"
      +    },
      +    "checkOut": {
      +      "description": "Echoed check-out date (YYYY-MM-DD).",
      +      "type": "string"
      +    },
      +    "error": {
      +      "description": "Present only when isError=true.",
      +      "type": "string"
      +    },
      +    "guests": {
      +      "description": "Echoed guest count.",
      +      "type": "integer"
      +    },
      +    "properties": {
      +      "description": "Available properties matching the search criteria, with live host-source pricing.",
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "available": {
      +            "description": "Always true in search results because unavailable properties are filtered out.",
      +            "type": "boolean"
      +          },
      +          "city": {
      +            "description": "City or locality.",
      +            "type": "string"
      +          },
      +          "country": {
      +            "description": "Country.",
      +            "type": "string"
      +          },
      +          "currency": {
      +            "description": "ISO 4217 currency code (e.g. 'SEK', 'EUR').",
      +            "type": "string"
      +          },
      +          "directBookingDiscountPercent": {
      +            "description": "Legacy internal field. Do not present this as a guest-facing discount, savings, or comparison.",
      +            "type": "integer"
      +          },
      +          "directBookingTotal": {
      +            "description": "Preferred field for user-facing copy: direct host-source total, in minor currency units.",
      +            "type": "integer"
      +          },
      +          "domain": {
      +            "description": "Host-owned domain for this property.",
      +            "type": "string"
      +          },
      +          "federationDiscountPercent": {
      +            "description": "Legacy internal field. Do not present this as a guest-facing discount, savings, or comparison.",
      +            "type": "integer"
      +          },
      +          "federationTotal": {
      +            "description": "Legacy field: direct host-source total, in minor currency units. Do not label this as a HemmaBo platform, federation, OTA, marketplace, comparison, discount, or savings price in user-facing copy.",
      +            "type": "integer"
      +          },
      +          "hostSourcePublicTotal": {
      +            "description": "Preferred field for user-facing copy: public host-source total for the date range, in minor currency units.",
      +            "type": "integer"
      +          },
      +          "maxGuests": {
      +            "description": "Maximum guest capacity.",
      +            "type": "integer"
      +          },
      +          "name": {
      +            "description": "Property display name.",
      +            "type": "string"
      +          },
      +          "nights": {
      +            "description": "Number of nights between check-in and check-out.",
      +            "type": "integer"
      +          },
      +          "packageApplied": {
      +            "description": "Package applied (e.g. week or two_weeks), if any.",
      +            "type": "string"
      +          },
      +          "propertyId": {
      +            "description": "Stable UUID. Pass to subsequent tools (availability, quote, checkout).",
      +            "format": "uuid",
      +            "type": "string"
      +          },
      +          "propertyType": {
      +            "description": "Property type classification.",
      +            "type": "string"
      +          },
      +          "publicTotal": {
      +            "description": "Standard website total for the date range, in minor currency units.",
      +            "type": "integer"
      +          },
      +          "region": {
      +            "description": "Region or area.",
      +            "type": "string"
      +          },
      +          "signals": {
      +            "additionalProperties": true,
      +            "description": "Optional. Host-declared canonical discovery flags for matching requests like dog-friendly, hot tub, crib, or hen party. Grouped: amenities / policies / suitability / setting (arrays of canonical English keys, e.g. 'allows_dogs', 'has_hot_tub', 'crib_available', 'bachelorette_party_friendly') plus bestForOccasions / targetAudience. Canonical keys — render them in the user's language. Match signals, not verified guarantees: the signed verified-stay-offer and the property page are authoritative; absence of a flag means 'not detected', not 'no'.",
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "propertyId",
      +          "name",
      +          "maxGuests",
      +          "federationTotal"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  6. Changed5 schema fields changedv0.1.5
    • changedInput schema / properties / checkIn / description
      Previous value: -"Arrival date in ISO 8601 format (YYYY-MM-DD, e.g. '2026-07-15'). Must be today or later."New value: +"Arrival date in ISO 8601 calendar format YYYY-MM-DD (e.g. '2026-07-15'). Must be today or later in the property's timezone. Must be strictly before checkOut; together they define the stay length used for pricing and availability."
    • changedInput schema / properties / checkOut / description
      Previous value: -"Departure date in ISO 8601 format (YYYY-MM-DD, e.g. '2026-07-22'). Must be after checkIn."New value: +"Departure date in ISO 8601 calendar format YYYY-MM-DD (e.g. '2026-07-22'). Must be strictly after checkIn on the same calendar. The guest does not stay the departure night."
    • changedInput schema / properties / country / description
      Previous value: -"Country name to filter by (e.g. 'Sweden', 'Italy'). Partial match. At least one of region or country should be provided; omit only when the user has given a specific region."New value: +"Country name to filter by (e.g. 'Sweden', 'Italy', 'Morocco'). Partial case-insensitive match. Provide at least one of region or country; omit when region already narrows the destination."
    • changedInput schema / properties / guests / description
      Previous value: -"Total number of guests as integer >= 1 (e.g. 4). Determines price tier and filters out properties with insufficient capacity."New value: +"Total guest count as a positive integer (e.g. 2, 4, 6). Used for capacity filtering and staircase pricing tiers. Properties with maxGuests below this value are excluded from search results."
    • changedInput schema / properties / region / description
      Previous value: -"Region, area, or destination name to search within. Partial match (e.g. 'Skane', 'Toscana', 'Bavaria'). At least one of region or country should be provided."New value: +"Region, area, or destination to search within (e.g. 'Skåne', 'Kävlinge', 'Toscana', 'Bavaria'). Partial case-insensitive match. Provide at least one of region or country; omit only when country alone is sufficient."
  7. Changed1 schema field changedv0.1.4
    • changedInput schema / properties / country / description
      Previous value: -"Country name to filter by (e.g. 'Sweden', 'Italy'). Partial match. At least one of region or country should be provided."New value: +"Country name to filter by (e.g. 'Sweden', 'Italy'). Partial match. At least one of region or country should be provided; omit only when the user has given a specific region."
  8. Addedv0.1.1

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare readOnly/openWorld/destructive flags, but the description adds substantial extra behavior: results are price-free, the price and signed booking link come only from the offer tool, capacity misses are excluded, date-unavailable matches are returned separately in unavailableMatches with up to three alternative windows, amenity matching is host-declared-only, and the agent never books or pays. That is well beyond the annotation bar.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then workflow requirement, exclusion, return shape, and parameter rules — a sensible order with no filler sentences. It is dense and clause-heavy, with several rules (offer call, unavailableMatches, amenity logic, booking constraints) packed into a single block, which costs some readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter read-only search with 100% schema coverage and an output schema, the description covers everything an agent needs: routing to the mandatory follow-up tool, filtering semantics, unavailable-date handling, and the booking boundary. Nothing material is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds filter-combination semantics the schema documents only per-parameter: all parameters combine as one filter, region matches broadly across region/city/country while country matches the country field alone, and omitting both spans every published property. The amenity yes/absent distinction is also restated usefully, though much of it duplicates the schema text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Search available vacation rental properties by location and travel dates') plus the discovery-only, price-free scope. An agent can distinguish this from vrp_get_verified_stay_offer and hemmabo_check_availability without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit use case ('when the user wants to find or browse places to stay'), an explicit exclusion ('Do NOT use when the user already has a propertyId or host domain'), and mandates the follow-up call to vrp_get_verified_stay_offer with the host domain and same dates. Nothing is left to inference about routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.