Skip to main content
Glama

Search listings

kl_search_listings
Read-onlyIdempotent

Search Kilid sale and rental listings by price, area, rooms, property type, city and district. Returns matching listings with deposit and monthly rent so you can filter Iranian real estate fast.

Instructions

Search Kilid sale and rental listings with price, area, room and place filters.

Prices are Toman. Rentals carry price_toman = deposit and rent_toman = monthly rent. Get ids from kl_cities and kl_districts, then open one result with kl_listing. url in the answer is the Kilid search page. Featured (paid) listings can appear on top even when they fall outside the filters; rent_toman 0 means deposit-only.

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": "kl_search_listings"
  }
}

Input Schema

NameRequiredDescriptionDefault
dealNobuy = for sale, rent = rental (rahn and monthly rent).buy
pageNoPage number, 25-28 listings per page.
sortNoResult order.newest
limitNoMax listings returned from the page.
roomsNoExact bedroom count (0 = studio).
city_idNoCity id from kl_cities. Omit for all of Iran.
max_areaNoFloor area cap in m2.
max_rentNoMonthly rent cap in Toman (rent only).
min_areaNoFloor area floor in m2.
min_rentNoMonthly rent floor in Toman (rent only).
max_priceNoSale price cap in Toman; for rent, the deposit cap.
min_priceNoSale price floor in Toman; for rent, the deposit floor.
min_roomsNoAt least this many bedrooms.
region_idsNoDistrict or neighborhood ids from kl_districts.
property_typeNoProperty types; omit for all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover the read-only/open-world profile, but the description adds genuinely non-obvious behavior: currency is Toman, featured (paid) listings can appear on top even when they fall outside the filters, and rent_toman 0 signals a deposit-only listing. Those quirks directly affect result interpretation and would not be inferable from the schema or annotations.

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?

Purpose and units are front-loaded, and the caveat about featured listings is placed where it matters. The middle sentences are dense with backticked field names and could be split for readability, but no sentence is filler.

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 15-parameter, zero-required search tool with no output schema, it usefully explains the key return fields (url, price_toman, rent_toman) and the featured-listing anomaly. It does not describe result ordering guarantees or what an empty result means, which leaves a small gap for an agent composing multi-step retrieval.

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 every parameter is already documented, including the deposit/rent split for min_price/max_price. The description restates the price_toman/rent_toman mapping rather than adding new syntax, ranges, or interaction rules (e.g. how min_rooms and rooms combine), so the baseline of 3 applies.

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 resource ("Search Kilid sale and rental listings") plus the filter dimensions it supports. It also implicitly distinguishes itself from kl_listing ("open one result with kl_listing") and kl_cities/kl_districts (id sources), so an agent can place it in the catalog immediately.

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 an explicit workflow: fetch ids from kl_cities and kl_districts first, then use kl_listing to open a result. That is real routing guidance rather than implied usage. It stops short of stating when NOT to use this tool (e.g. for aggregate price questions better served by kl_price_stats or kl_neighborhood_prices).

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