Skip to main content
Glama

Search Properties

hemmabo_search_properties
Read-onlyIdempotent

Search vacation rentals by location, dates, and guest count to find available stays, then verify the host's signed offer before quoting a price or booking link.

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 — call 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; never quote a final price or booking link from search alone. Do NOT use when the user already has a propertyId or host domain. Returns propertyId, host domain, live availability, host-source pricing, 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. Capacity misses are excluded; date-unavailable matches return separately in unavailableMatches with up to three alternative windows.

Input Schema

TableJSON 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. Provide at least one of region or country; omit only when country alone is sufficient.
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. Provide at least one of region or country; omit when region already narrows the destination.
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.

Output Schema

TableJSON 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, with live host-source pricing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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)."
  2. 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."
  3. 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"
      +}
  4. 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."
  5. 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."
  6. Addedv0.1.1

TDQS

A4.8/5.0
Behavior5/5

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

Adds rich context beyond annotations: read-only is covered by annotations, but the description adds that search alone must never quote a final price or booking link, that date-unavailable matches return separately in unavailableMatches with up to three alternative windows, and that capacity misses are excluded. This is exactly the behavioral detail annotations do not cover.

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?

Well front-loaded: purpose first, then usage, then behavioral warnings, then parameter mechanics. Dense but every clause carries information. Slightly long but justified by the multi-part semantics.

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?

Covers purpose, usage, routing to sibling, return fields (propertyId, host domain, availability, pricing, capacity), edge cases (capacity misses excluded, date-unavailable matches in unavailableMatches), and parameter interaction. An output schema exists but the description still appropriately summarizes returns. Nothing an agent needs to call this correctly 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 baseline is 3. The description still adds value by specifying how region and country combine (region matches broadly against region/city/country; country matches country alone; omitting both spans all properties), and that checkIn is strictly before checkOut. This is useful cross-parameter logic not fully captured in the schema.

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 (search) and resource (vacation rental properties) with scope (by location and travel dates). Explicitly distinguishes from siblings by naming get_verified_stay_offer as the required follow-up and stating this is discovery only.

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?

Front-loads when to use ('find or browse places to stay') and when not ('already has a propertyId or host domain'). Also names the mandatory alternative workflow (call get_verified_stay_offer before final answer), leaving nothing ambiguous.

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