Skip to main content
Glama

Rentoplan

Search listings

search_listings
Read-onlyIdempotent

Find homes, rooms and hotels to rent (long-term or by the night) or homes to buy. Give "query" in the person's own words, any language and slang («трешка на Бали с бассейном», «2br condo in Da Nang under $800», «villa or bungalow in Canggu for a week in March»), and/or exact filters. Exact filters win over what the words say. With stay "daily" and dates, hotels are checked live and priced for those dates. Results are pages of up to 24; each has its address on rentoplan.com.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_listings"
  }
}

Input Schema

NameRequiredDescriptionDefault
dealNorent = to rent; buy = to buy. Leave out to get both.
langNoLanguage of the pages we link to (and of names where we have them). Default en.
nameNoName of a hotel, resort or residential complex.
nearNoAround a point instead of a place.
pageNoPage of results, from 1.
sortNoOrder of results: price_asc = cheapest first; price_desc = most expensive first; new = newest first; size = largest first; rated = best rated first; liked = most liked first; reviews = most reviewed first; sea = closest to the sea first.
stayNodaily = by the night (holiday, trip); long_term = monthly rent.
placeNoCity, island, province or district in English, e.g. "Bali", "Canggu".
queryNoWhat the person asked for, as they said it.
guestsNoHow many people will stay; only places that sleep them are returned.
countryNoCountry in English, e.g. "Indonesia".
lodgingNoKind of place priced by the night (with stay daily).
categoryNoapartment (flat, condo); house (villa, cottage, bungalow, townhouse); room (studio); hotel (any place priced by the night).
check_inNoWith stay daily.
currencyNoISO 4217 of the budget; default USD.
new_onlyNoOnly listings added in the last days.
per_pageNoResults per page. Default 10.
size_maxNoSquare metres, at most.
size_minNoSquare metres, at least.
amenitiesNoAll of them must be there: furnished = furnished; pets = pets allowed; parking = parking; pool = swimming pool; gym = gym; balcony = balcony; ac = air conditioning; washer = washing machine; wifi = Wi-Fi or internet; dishwasher = dishwasher; sea = up to 1 km from the sea, the beach or the ocean.
breakfastNoHotels on dates only.
check_outNoWith stay daily.
budget_maxNoHighest price, in currency, for budget_period.
budget_minNoLowest price, in currency, for budget_period.
price_dropNoOnly listings whose price was cut.
rating_minNoGuest rating out of 5, at least.
video_tourNoOnly listings with a video or 3D tour.
reviews_minNoGuest reviews, at least.
bedrooms_maxNoAt most this many bedrooms.
bedrooms_minNoAt least this many bedrooms; 0 = a studio counts.
bathrooms_minNoAt least this many bathrooms.
budget_periodNoWhat the budget pays for: a night, a month, or the whole price of a purchase. Default: a night by the night, a month for rent, the whole price to buy.
free_cancellationNoHotels on dates only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed20 schema fields changed
    • addedInput schema / properties / amenities / description
      Added value: +"All of them must be there: furnished = furnished; pets = pets allowed; parking = parking; pool = swimming pool; gym = gym; balcony = balcony; ac = air conditioning; washer = washing machine; wifi = Wi-Fi or internet; dishwasher = dishwasher; sea = up to 1 km from the sea, the beach or the ocean."
    • addedInput schema / properties / bathrooms_min / description
      Added value: +"At least this many bathrooms."
    • addedInput schema / properties / bedrooms_max / description
      Added value: +"At most this many bedrooms."
    • addedInput schema / properties / bedrooms_min / description
      Added value: +"At least this many bedrooms; 0 = a studio counts."
    • addedInput schema / properties / budget_max / description
      Added value: +"Highest price, in currency, for budget_period."
    • addedInput schema / properties / budget_min / description
      Added value: +"Lowest price, in currency, for budget_period."
    • addedInput schema / properties / budget_period / description
      Added value: +"What the budget pays for: a night, a month, or the whole price of a purchase. Default: a night by the night, a month for rent, the whole price to buy."
    • addedInput schema / properties / deal / description
      Added value: +"rent = to rent; buy = to buy. Leave out to get both."
    • addedInput schema / properties / guests / description
      Added value: +"How many people will stay; only places that sleep them are returned."
    • addedInput schema / properties / near / properties / lat / description
      Added value: +"Latitude."
    • addedInput schema / properties / near / properties / lon / description
      Added value: +"Longitude."
    • addedInput schema / properties / near / properties / radius_km / description
      Added value: +"Kilometres around the point. Default 5."
    • addedInput schema / properties / page / description
      Added value: +"Page of results, from 1."
    • changedInput schema / properties / per_page / description
      Previous value: -"Default 10."New value: +"Results per page. Default 10."
    • addedInput schema / properties / rating_min / description
      Added value: +"Guest rating out of 5, at least."
    • addedInput schema / properties / reviews_min / description
      Added value: +"Guest reviews, at least."
    • addedInput schema / properties / size_max / description
      Added value: +"Square metres, at most."
    • changedInput schema / properties / size_min / description
      Previous value: -"Square metres."New value: +"Square metres, at least."
    • addedInput schema / properties / sort / description
      Added value: +"Order of results: price_asc = cheapest first; price_desc = most expensive first; new = newest first; size = largest first; rated = best rated first; liked = most liked first; reviews = most reviewed first; sea = closest to the sea first."
    • addedInput schema / properties / video_tour / description
      Added value: +"Only listings with a video or 3D tour."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered; the description adds genuinely new behavior: results are paged, up to 24 per page, each page has an address on rentoplan.com, and hotel availability is checked live for the requested dates. It does not mention rate limits, result caps beyond paging, or what happens when zero results match.

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

Conciseness5/5

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

Five tightly packed sentences, front-loaded with purpose, then query guidance, then the filter-precedence rule, then the daily/dates live-pricing note, then paging. The three multilingual examples are dense but directly illustrate the 'any language and slang' instruction rather than decorating it.

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

Completeness4/5

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

For a 33-parameter, zero-required search tool with no output schema, the description covers the highest-risk ambiguities: query-vs-filter precedence, the daily+dates trigger for live pricing, and the paging shape including a domain where results live. What remains unaddressed is how results relate to the other tools (booking requests, listing detail), which an agent would still need to work out.

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

Parameters3/5

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

Schema coverage is 100%, so the 33 parameters are already documented and the baseline is 3. The description does add two things the schema lacks: the query parameter should carry the person's own words in any language including slang, and exact filters take precedence over query text — a conflict-resolution rule not encoded anywhere 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?

Opens with a specific verb and the full resource scope: 'Find homes, rooms and hotels to rent (long-term or by the night) or homes to buy.' The parenthetical distinguishes the two rental modes and the buy case, so an agent knows exactly which inventory this tool reaches without inspecting the schema.

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

Usage Guidelines4/5

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

Gives concrete usage rules — put the request in 'query' in the user's own words and/or pass exact filters — and resolves the conflict case with 'Exact filters win over what the words say.' It also scopes live hotel pricing to stay 'daily' plus dates. It never names a sibling tool or says when to prefer get_search_options or search_places instead, so routing between tools is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources