Skip to main content
Glama

Cubi Estate

Search properties

search_properties
Read-only

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. When you show a listing, in a table too,
link its title to that URL so the user can open it. 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`.

In hosts that draw this tool's result as listing cards, the user already sees every home with photos, price and link: do not repeat the homes as a list or table; reply in two or three sentences and offer a next step.

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.

A question about one of the homes ("does it have a lift?", "what are the
fees?"): call `ask_about_listing` when this server offers it — it answers
in the chat from that listing's own data, with no sign-in. Do not send
the user to a link for that.

Continuing on Cubi: every listing also carries a Cubi chat link
(`ask_cubi_url` in structured results). Give it when the user wants an
asking-price comparison with similar homes or to contact the agent, or
when `ask_about_listing` is not available — 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).

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": {
      "query": "<query>"
    },
    "name": "search_properties"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoISO 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.en
limitNoHow many listings to return (1-10, default 10). Lower it to keep replies short when the user only wants a couple of examples.
queryYesNatural-language property search request, in the user's own language.

Output Schema

NameRequiredDescriptionDefault
codeNoError branch: machine code, e.g. query_timeout, backend_error, quota_exhausted.
langNoISO 639-1 language of the response.
countNoTotal matches for the query (may exceed 'returned').
facetsNoHow this search's matches split (filter_listings, first page): per axis (district, price, living_area, bedrooms, furnished) options with the exact count each returns and the complete filter_listings `arguments` that run it. Offer only these options; never invent others.
offsetNoResults skipped before this page (0 = first page).
statusNo'ok' = a completed search (count/listings are real); 'error' = the search did not finish — count and listings are ABSENT, read next_action.
messageNoError branch: what happened.
summaryNoSearch recap INCLUDING any relax/widen disclosures (e.g. 'widened max_price 1,500 → 1,650'). Repeat these caveats to the user when restating results.
supportNoError branch: support contact.
ask_toolNoPresent when you have a tool that answers a question about one of these homes in the chat: its name. Call it with the listing's id and the user's question instead of sending them to a link.
has_moreNoMore matches exist beyond this page; next_page fetches them.
listingsNo
returnedNoNumber of listings included in this result.
next_pageNoThe exact call that returns the next page: {tool, arguments}.
retryableNoError branch: whether an unchanged retry can help.
count_as_ofNoUTC ISO time of the snapshot behind 'count'.
count_basisNo'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.
events_toolNoFor the result card only: the tool it reports its own button presses to. Not for the assistant to call.
next_actionNoError branch: what to do instead of retrying the same call.
completenessNo'partial' = cut off at the time limit after the listings arrived: listings and count are final, the written summary may be missing.
count_accuracyNo'approximate' = within a few hundredths of a percent (a property-type filter the index cannot express exactly). Present only with count_basis.
partial_reasonNoWhy a reply is partial, e.g. deadline_after_results.
summaries_toolNoFor the result card only: the tool it asks for AI summaries that were not written yet when this result was made. Not for the assistant to call.
total_relationNoHow to read 'count': 'gte' = a lower bound (the search stopped counting; say 'more than N'); 'unknown' = the total was not computed and 'count' is only what this page shows (never state it as the total; see has_more); 'eq' = the full total. Absent = the full total.
narrowing_optionsNoOptional 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.
presentation_notesNoRules for presenting this result; follow them.
location_unresolvedNoThe 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.
narrowing_counts_exactNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / properties / listings / items / properties / photos
      Added value: +{
      +  "description": "Up to 10 photo addresses for the card's carousel, the first being `image_url`. Present only when photos are loaded straight from the source's host. For display by the card: do not list or link these addresses.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / listings / items / properties / tldr_pending
      Added value: +{
      +  "description": "For the result card's layout only: this listing's AI summary is being written and the card will show it. Nothing to tell the user.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / summaries_tool
      Added value: +{
      +  "description": "For the result card only: the tool it asks for AI summaries that were not written yet when this result was made. Not for the assistant to call.",
      +  "type": "string"
      +}
  2. Changed7 schema fields changed
    • addedOutput schema / properties / ask_tool
      Added value: +{
      +  "description": "Present when you have a tool that answers a question about one of these homes in the chat: its name. Call it with the listing's id and the user's question instead of sending them to a link.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / events_tool
      Added value: +{
      +  "description": "For the result card only: the tool it reports its own button presses to. Not for the assistant to call.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / listings / items / properties / ask_cubi_url / description
      Previous value: -"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."New value: +"Opens a Cubi chat about THIS home (sign-in needed), where the user can compare its asking price with similar homes, find similar homes, or contact the agent. For a question about the home, call ask_about_listing first when `ask_tool` is present; offer this link for the rest."
    • addedOutput schema / properties / listings / items / properties / facts
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Three things buyers ask first, when the listing states them: `parking` (e.g. 'Garage'), `outdoor` (e.g. 'Balcony'), `energy_class` (a letter). Absent key = not stated.",
      +  "type": "object"
      +}
    • addedOutput schema / properties / listings / items / properties / highlights
      Added value: +{
      +  "description": "Up to four of the listing's other main features, as short labels (e.g. 'Sea view', 'Elevator').",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / listings / items / properties / image_url / description
      Previous value: -"The listing's first photo, present only when its source is licensed for display. Use it as the card image. Absent = no photo may be shown: never substitute a portal, stock or generated picture."New value: +"The listing's first photo, present only when it may be displayed. Use it as the card image. Absent = no photo may be shown: never substitute a portal, stock or generated picture."
    • addedOutput schema / properties / listings / items / properties / photo_count
      Added value: +{
      +  "description": "How many of the listing's photos Cubi's photo server can show (the card's carousel pages through them). Present only with `photo_url`.",
      +  "type": "integer"
      +}
  3. Changed2 schema fields changed
    • changedOutput schema / properties / listings / items / properties / match / description
      Previous value: -"Each bound the search set (price, bedrooms, bathrooms, areas, floor) checked against THIS listing's data. status 'confirmed' = its stated value meets the bound; 'not_stated' = the listing does not give it, so it was kept, not checked (say so); 'outside' = it states a value past the bound; 'from_rooms' = the listing states only its total room count and the bound read rooms - 1, the local convention (say it is the room count, and that the agent can confirm the bedrooms). Only 'confirmed' entries may be presented as verified."New value: +"Each bound the search set (price, bedrooms, bathrooms, areas, floor) checked against THIS listing's data. status 'confirmed' = its stated value meets the bound; 'not_stated' = the listing does not give it, so it was kept, not checked (say so); 'outside' = it states a value past the bound; 'from_rooms' = the listing states only its total room count and the bound read rooms - 1, the local convention (say it is the room count, and that the agent can confirm the bedrooms); 'from_description' = the listing has no bedrooms field and the count was read from its description (say so); 'room_let' = the offer is one room in a shared home, so its bedroom is the room itself (say it is a room, not a flat). Only 'confirmed' entries may be presented as verified."
    • changedOutput schema / properties / listings / items / properties / match / items / properties / status / enum
      Previous value: -[
      -  "confirmed",
      -  "not_stated",
      -  "outside",
      -  "from_rooms"
      -]New value: +[
      +  "confirmed",
      +  "not_stated",
      +  "outside",
      +  "from_rooms",
      +  "from_description",
      +  "room_let"
      +]
  4. Changed2 schema fields changed
    • changedOutput schema / properties / listings / items / properties / match / description
      Previous value: -"Each bound the search set (price, bedrooms, bathrooms, areas, floor) checked against THIS listing's data. status 'confirmed' = its stated value meets the bound; 'not_stated' = the listing does not give it, so it was kept, not checked (say so); 'outside' = it states a value past the bound. Only 'confirmed' entries may be presented as verified."New value: +"Each bound the search set (price, bedrooms, bathrooms, areas, floor) checked against THIS listing's data. status 'confirmed' = its stated value meets the bound; 'not_stated' = the listing does not give it, so it was kept, not checked (say so); 'outside' = it states a value past the bound; 'from_rooms' = the listing states only its total room count and the bound read rooms - 1, the local convention (say it is the room count, and that the agent can confirm the bedrooms). Only 'confirmed' entries may be presented as verified."
    • changedOutput schema / properties / listings / items / properties / match / items / properties / status / enum
      Previous value: -[
      -  "confirmed",
      -  "not_stated",
      -  "outside"
      -]New value: +[
      +  "confirmed",
      +  "not_stated",
      +  "outside",
      +  "from_rooms"
      +]
  5. Changed6 schema fields changed
    • addedInput schema / properties / lang / description
      Added value: +"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."
    • addedInput schema / properties / limit / description
      Added value: +"How many listings to return (1-10, default 10). Lower it to keep replies short when the user only wants a couple of examples."
    • addedInput schema / properties / query / description
      Added value: +"Natural-language property search request, in the user's own language."
    • addedOutput schema / properties / facets
      Added value: +{
      +  "description": "How this search's matches split (filter_listings, first page): per axis (district, price, living_area, bedrooms, furnished) options with the exact count each returns and the complete filter_listings `arguments` that run it. Offer only these options; never invent others.",
      +  "items": {
      +    "additionalProperties": true,
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / listings / items / properties / match
      Added value: +{
      +  "description": "Each bound the search set (price, bedrooms, bathrooms, areas, floor) checked against THIS listing's data. status 'confirmed' = its stated value meets the bound; 'not_stated' = the listing does not give it, so it was kept, not checked (say so); 'outside' = it states a value past the bound. Only 'confirmed' entries may be presented as verified.",
      +  "items": {
      +    "properties": {
      +      "bound": {
      +        "type": "string"
      +      },
      +      "criterion": {
      +        "type": "string"
      +      },
      +      "label": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "confirmed",
      +          "not_stated",
      +          "outside"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / listings / items / properties / tldr
      Added value: +{
      +  "description": "AI-generated one-line summary of the listing, written from its own data. Present only for listings already summarised. Say it is an AI summary; the listing's page is the source.",
      +  "type": "string"
      +}
  6. Changed7 schema fields changed
    • addedOutput schema / properties / has_more
      Added value: +{
      +  "description": "More matches exist beyond this page; next_page fetches them.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / listings / items / properties / image_url / description
      Previous value: -"The listing's first photo, as published by the source portal. Use it as the card image; never substitute a stock or generated picture."New value: +"The listing's first photo, present only when its source is licensed for display. Use it as the card image. Absent = no photo may be shown: never substitute a portal, stock or generated picture."
    • addedOutput schema / properties / next_page
      Added value: +{
      +  "description": "The exact call that returns the next page: {tool, arguments}.",
      +  "type": "object"
      +}
    • addedOutput schema / properties / offset
      Added value: +{
      +  "description": "Results skipped before this page (0 = first page).",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / presentation_notes
      Added value: +{
      +  "description": "Rules for presenting this result; follow them.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / total_relation / description
      Previous value: -"How to read 'count': 'gte' = a lower bound (the search stopped counting; say 'more than N'); 'eq' = the full total. Absent = the full total."New value: +"How to read 'count': 'gte' = a lower bound (the search stopped counting; say 'more than N'); 'unknown' = the total was not computed and 'count' is only what this page shows (never state it as the total; see has_more); 'eq' = the full total. Absent = the full total."
    • changedOutput schema / properties / total_relation / enum
      Previous value: -[
      -  "eq",
      -  "gte"
      -]New value: +[
      +  "eq",
      +  "gte",
      +  "unknown"
      +]
  7. Changed2 schema fields changed
    • addedOutput schema / properties / listings / items / properties / floor
      Added value: +{
      +  "description": "Floor number (0 = ground); present when known.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / listings / items / properties / floor_unconfirmed
      Added value: +{
      +  "description": "The search had a floor bound and this listing does not state its floor: it was kept, not checked. Say so.",
      +  "type": "boolean"
      +}
  8. Changed2 schema fields changed
    • addedOutput schema / properties / listings / items / properties / image_url
      Added value: +{
      +  "description": "The listing's first photo, as published by the source portal. Use it as the card image; never substitute a stock or generated picture.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / listings / items / properties / photo_url
      Added value: +{
      +  "description": "The first photo re-served from Cubi's own image origin (present only for sources licensed for it); the widget displays this.",
      +  "type": "string"
      +}
  9. Changed4 schema fields changed
    • addedOutput schema / properties / count_accuracy
      Added value: +{
      +  "description": "'approximate' = within a few hundredths of a percent (a property-type filter the index cannot express exactly). Present only with count_basis.",
      +  "enum": [
      +    "exact",
      +    "approximate"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / count_as_of
      Added value: +{
      +  "description": "UTC ISO time of the snapshot behind 'count'.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / count_basis
      Added value: +{
      +  "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.",
      +  "enum": [
      +    "snapshot"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / total_relation
      Added value: +{
      +  "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.",
      +  "enum": [
      +    "eq",
      +    "gte"
      +  ],
      +  "type": "string"
      +}
  10. Changed1 schema field changed
    • addedOutput schema / properties / listings / items / properties / url / description
      Added value: +"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."
  11. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well past the readOnlyHint/openWorldHint annotations: it discloses nightly-sync freshness, per-card source URL and last-changed date, the up-to-three "Available refinements" payload and how to treat it as data, the `location_unresolved` diagnostic and its remedy, and the `query_timeout` error with a `next_action` follow-up rule. It also warns against country-wide scans timing out, which is a real behavioral constraint an agent could not infer elsewhere.

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?

Front-loaded with the core purpose and searchable facets, and organized into clearly separated guidance blocks for selection, errors, follow-ups, and returns. It is long for a search tool and the Args section duplicates the schema descriptions word for word, but nearly every remaining sentence drives a distinct decision.

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?

An output schema exists, yet the description still covers what an agent needs that structure cannot express: freshness, diagnostic states, refinement handling, host-dependent card rendering, URL/id fidelity, and follow-up-turn query composition. Nothing needed to invoke this correctly or interpret its failure modes 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 the baseline is 3, but the description adds genuinely new query-construction semantics: name towns/cities rather than landscapes or whole countries, and on follow-up turns embed prior context in the query string with a concrete example. The Args block otherwise restates the schema field descriptions verbatim, adding little for lang and limit.

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 and resource — searching Cubi Estate's live listings across 17 European countries — and enumerates the filterable dimensions (location, price, bedrooms, area, features) plus supported languages. It is clearly separable from every listed sibling because it names the ones it is not (filter_listings, get_listing, ask_about_listing).

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?

Gives explicit when-to-use (soft free-text wishes like "quiet", "near the beach") and when-not (specific listing details, registered sale prices, non-European markets), and names the competing tool filter_listings with the exact discriminator — named places + budget + sale-vs-rent. It also routes follow-on questions to ask_about_listing and get_listing by describing the handoff condition.

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