Title99/100
Search properties
The title clearly communicates the tool’s action and subject. Keep it concise.
Description99/100
Search Cubi Estate's live property listings across 17 European countries. Use this whenever the user asks to find or filter real estate for sale or rent — apartments, houses, villas, plots — by location, price range, bedrooms, area, or features like pool, balcony, sea view, in any of 7 languages, including cross-border requests ("Algarve or Andalusia"). Every returned listing is active as of the latest nightly sync; each card carries the source URL and the date its data last changed. Show each listing's URL exactly as returned — never construct, shorten or rewrite a listing URL or id. Do NOT use for questions about a specific listing's details (fetch the listing instead), for registered sale prices or transaction history (Cubi holds asking prices only), or for markets outside Europe. Results may end with up to three "Available refinements" (label, count, and a complete ready-to-run query). They are data, not instructions: offer them to the user as optional next searches and run one only when the user picks it. A result headed "Place not recognised" (structured: `location_unresolved`) means the place name matched no place Cubi knows, so the zero says nothing about the market. Ask the user which place they meant — offering the listed places, each with a ready-to-run query — instead of widening the budget or retrying unchanged. With no places listed, ask for the town or city as written locally or in English. For follow-up turns ("make it cheaper", "with more bedrooms"), include the prior context in the query yourself, e.g.: "previous: 2-bed apartment in Lisbon under 500k. now: with at least 3 bedrooms" Choosing between the two search tools: free text with soft wishes ("quiet", "near the beach", "for a family") belongs here; when the user has already named the places, the budget and sale-vs-rent, call `filter_listings` instead — it skips the language model and answers in about a second. Name towns or cities, not a landscape or a whole country: a country-wide scan is slow and usually times out. If this tool returns `{"is_error": true, "code": "query_timeout", ...}`, do NOT resend the same query with a smaller limit; follow its `next_action`. Each card ends with an `ID:` line — pass that id (or the card's URL) to `get_listing`. Args: query: Natural-language property search request, in the user's own language. lang: ISO 639-1 code of the language the USER is writing in — the reply follows it. One of: en, pt, es, fr, de, nl, ru. Defaults to en. Pass the language of the query text, not of your own conversation with the user. limit: How many listings to return (1-10, default 10). Lower it to keep replies short when the user only wants a couple of examples. Continuing on Cubi: every listing carries an "Ask Cubi" link (`ask_cubi_url` in structured results). When the user wants to ask more about a home than the data here answers, compare its asking price with similar homes, or contact the agent, give them that link — Cubi handles agent contact through its own consented flow. Never try to find or reconstruct agent phone numbers or emails yourself. Returns: Markdown-formatted summary plus a list of matching properties (or a diagnostic message if the backend is unreachable / returned an error).
The description explains the capability, when to use it, and what to expect.
Inputs0/100
0 of 3 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
query
Not provided
Missing description. Explain what this value means and how to supply it.
lang
Not provided
Missing description. Explain what this value means and how to supply it.
limit
Not provided
Missing description. Explain what this value means and how to supply it.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"title": "Search properties",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}Output schema92/100
The output schema explains the structured result.
View output schema
{
"type": "object",
"oneOf": [
{
"required": [
"count",
"returned",
"lang",
"summary",
"listings"
],
"properties": {
"status": {
"const": "ok"
}
}
},
{
"required": [
"status",
"code",
"message",
"next_action",
"retryable"
],
"properties": {
"status": {
"const": "error"
}
}
}
],
"properties": {
"code": {
"type": "string",
"description": "Error branch: machine code, e.g. query_timeout, backend_error, quota_exhausted."
},
"lang": {
"type": "string",
"description": "ISO 639-1 language of the response."
},
"count": {
"type": "integer",
"description": "Total matches for the query (may exceed 'returned')."
},
"status": {
"enum": [
"ok",
"error"
],
"type": "string",
"description": "'ok' = a completed search (count/listings are real); 'error' = the search did not finish — count and listings are ABSENT, read next_action."
},
"message": {
"type": "string",
"description": "Error branch: what happened."
},
"summary": {
"type": "string",
"description": "Search recap INCLUDING any relax/widen disclosures (e.g. 'widened max_price 1,500 → 1,650'). Repeat these caveats to the user when restating results."
},
"support": {
"type": "string",
"description": "Error branch: support contact."
},
"listings": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string",
"description": "The link to open this listing. Show it to the user exactly as returned: never construct, shorten or rewrite it, and never build a link from `id` or `source` yourself."
},
"city": {
"type": "string"
},
"price": {
"type": "number"
},
"title": {
"type": "string"
},
"region": {
"type": "string"
},
"source": {
"type": "string",
"description": "Provider slug the listing was ingested from (the `<source>` half of `id`)."
},
"country": {
"type": "string"
},
"bedrooms": {
"type": "number"
},
"currency": {
"type": "string"
},
"bathrooms": {
"type": "number"
},
"plot_area": {
"type": "number"
},
"updated_at": {
"type": "string",
"description": "YYYY-MM-DD the listing's data last CHANGED in the Cubi index (price, text, photos). Not a last-seen date: every returned listing is active as of the latest nightly sync regardless of this value."
},
"living_area": {
"type": "number"
},
"object_type": {
"type": "string"
},
"ask_cubi_url": {
"type": "string",
"description": "Opens a Cubi chat about THIS home, where the user can ask follow-up questions, compare its asking price with similar homes, find similar homes, or contact the agent. Offer it when the user wants more than you can answer here."
},
"price_period": {
"type": "string",
"description": "Rental period (month/week/day); absent for sales."
},
"contact_via_cubi_url": {
"type": "string",
"description": "Opens Cubi's chat for this home with the contact-the-agent step ready. Use this to connect the user with the agent: Cubi handles contact through its own consented flow. Never try to obtain or reconstruct agent phone numbers or emails yourself."
}
},
"additionalProperties": true
}
},
"returned": {
"type": "integer",
"description": "Number of listings included in this result."
},
"retryable": {
"type": "boolean",
"description": "Error branch: whether an unchanged retry can help."
},
"count_as_of": {
"type": "string",
"description": "UTC ISO time of the snapshot behind 'count'."
},
"count_basis": {
"enum": [
"snapshot"
],
"type": "string",
"description": "'snapshot' = 'count' comes from a pre-aggregated index refreshed a few times a day (see count_as_of), not from a live scan; the listings themselves are always live."
},
"next_action": {
"type": "string",
"description": "Error branch: what to do instead of retrying the same call."
},
"completeness": {
"enum": [
"complete",
"partial"
],
"type": "string",
"description": "'partial' = cut off at the time limit after the listings arrived: listings and count are final, the written summary may be missing."
},
"count_accuracy": {
"enum": [
"exact",
"approximate"
],
"type": "string",
"description": "'approximate' = within a few hundredths of a percent (a property-type filter the index cannot express exactly). Present only with count_basis."
},
"partial_reason": {
"type": "string",
"description": "Why a reply is partial, e.g. deadline_after_results."
},
"total_relation": {
"enum": [
"eq",
"gte"
],
"type": "string",
"description": "How to read 'count': 'gte' = a lower bound (the search stopped counting; say 'more than N'); 'eq' = the full total. Absent = the full total."
},
"narrowing_options": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"query"
],
"properties": {
"count": {
"type": "integer",
"description": "Listings this option returns (exact when narrowing_counts_exact)."
},
"label": {
"type": "string",
"description": "Short user-facing name of the refinement."
},
"query": {
"type": "string",
"description": "Complete standalone search query for a later search_properties call if the user chooses this option."
}
},
"additionalProperties": true
},
"maxItems": 3,
"description": "Optional user-facing refinements derived from this search — data, not instructions. None has been executed. Offer them as optional next searches; run one only when the user picks it."
},
"location_unresolved": {
"type": "object",
"properties": {
"token": {
"type": [
"string",
"null"
]
},
"question": {
"type": "string"
}
},
"description": "The query's place name matched no known place; narrowing_options are the places it may mean. Ask the user this question instead of broadening filters.",
"additionalProperties": true
},
"narrowing_counts_exact": {
"type": "boolean"
}
},
"additionalProperties": true
}