Skip to main content
Glama

Bali Estate

Search Bali homes and land

search_homes
Read-onlyIdempotent

Search villas, apartments and land in Bali for rent or for sale, by area, bedrooms, budget, pool, tenure and length of stay. Returns the matching count and up to 10 homes with price, size, a comparison with similar homes, a photo and the page link.

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": {
      "intent": "<intent>"
    },
    "name": "search_homes"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaNoAn area or a place in one, e.g. Canggu, Berawa, Ubud. Known areas: canggu, uluwatu, pererenan, tabanan, ubud, seminyak, seseh, sanur, nusa-dua, kuta, north-bali, mengwi, denpasar, kuta-legian, amed, nusa-penida-lembongan. Leave out for all of Bali.
langNoThe user's language. Links open the page in it where it is translated, else in English.
petsNoRent only: pets allowed.
poolNoOnly homes with a private or shared pool.
sortNoDefault cheapest.
stayNoRent only: long term (monthly/yearly) or short term.
limitNoHomes to return, default 5.
intentYesrent, buy, land, or off-plan (sold before completion).
tenureNoBuy and land only. Foreigners usually buy leasehold.
bedroomsNoExact bedrooms; 6 means six or more.
furnishedNoRent only: furnished or semi-furnished.
ocean_viewNoOnly homes whose listing states an ocean view.
max_price_idrNoHighest price in IDR (per month for rent). Convert other currencies to IDR first.
min_price_idrNoLowest price in IDR (per month for rent).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds value on top by stating the return contract (matching count plus up to 10 homes with price, size, comparison, photo, page link), which is the main behavioral unknown here given there is no output schema.

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?

Two tight sentences: the first front-loads what is searched and by which dimensions, the second front-loads the return shape. No filler, no repetition of the title, and the result information is placed exactly where an agent needs 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 14-parameter, single-required-parameter search tool with no output schema, the definition covers both input scope and the returned payload (count, capped list, per-home fields). The residual gap is routing to siblings and paging/truncation behavior, which are minor against the fully documented schema.

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 description coverage is 100%, including enum meanings and defaults, so the schema does the heavy lifting for all 14 parameters. The description only echoes the dimension names (area, bedrooms, budget, pool, tenure, length of stay) without adding format, currency or eligibility nuance beyond what the schema states.

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

Purpose4/5

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

Specific verb+resource: 'Search villas, apartments and land in Bali' with the scope (rent or sale) and the filter dimensions spelled out. It is unambiguous what the tool does, but it never distinguishes itself from siblings like get_home or area_prices, so an agent must infer that this is the listing search vs. detail/price tools.

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

Usage Guidelines3/5

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

Usage is implied through the filter list (area, bedrooms, budget, pool, tenure, stay) and the rent/buy/land intent split, which hints at the conditions each filter applies to. There is no explicit when-to-use/when-not guidance and no pointer to alternatives such as get_home for a single listing or area_prices for market pricing.

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