Skip to main content
Glama

Cubi Estate

Find similar homes in another city

find_similar_elsewhere
Read-only

Homes like one listing, in another city, side by side with it.

Use when the user likes a home and asks what something similar costs, or
looks like, elsewhere ("homes like #2 in Lisbon"). Returns the listing and
up to 2 matches in `city`, each with asking price, price per m², stated
features, environment readings (quiet, clean air, leafy, coastal, flood /
wildfire / seismic / ground-motion screening), walk and drive minutes, and
the region's climate.

Matches have the same bedrooms and a living area within 15%, and are
picked on features and environment — never on price — so the price
difference is a finding, not how they were chosen. Relay it as asking
prices, never as a saving, a valuation or a "city premium". A feature
marked "not_stated" means the listing doesn't say, not that the home lacks
it; an environment value "unknown" means there is no reading. When
`matches` is empty, say no documented match was found; do not loosen it.

With `compare_with` (a second listing id) instead of `city`, no search
runs: the two listings come back side by side on the same rows — e.g.
the top home of each city in a comparison, feature by feature.

Args:
    listing_id: Source-prefixed id of a listing already shown (e.g.
        `remax:12345`). Do not invent one.
    city: The other city to search in, e.g. "Lisboa".
    compare_with: A second listing id already shown, to compare the two.
    lang: ISO 639-1 code (en/pt/es/fr/de/nl/ru).

Returns:
    JSON: seed and matches[] with price, eur_per_m2, features, environment
    {axis: {state, value, unit}}, minutes, climate, and a `card` with the
    listing link; or a not-found / same-city message.

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": {
      "listing_id": "<listing_id>"
    },
    "name": "find_similar_elsewhere"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoThe other city to search in, e.g. "Lisboa".
langNoISO 639-1 code (en/pt/es/fr/de/nl/ru).en
listing_idYesSource-prefixed id of a listing already shown (e.g. `remax:12345`). Do not invent one.
compare_withNoA second listing id already shown, to compare the two.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / city / description
      Added value: +"The other city to search in, e.g. \"Lisboa\"."
    • addedInput schema / properties / compare_with / description
      Added value: +"A second listing id already shown, to compare the two."
    • addedInput schema / properties / lang / description
      Added value: +"ISO 639-1 code (en/pt/es/fr/de/nl/ru)."
    • addedInput schema / properties / listing_id / description
      Added value: +"Source-prefixed id of a listing already shown (e.g. `remax:12345`). Do not invent one."
  2. Changed5 schema fields changed
    • addedInput schema / properties / city / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / city / default
      Added value: +null
    • removedInput schema / properties / city / type
      Removed value: -"string"
    • addedInput schema / properties / compare_with
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Compare With"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "listing_id",
      -  "city"
      -]New value: +[
      +  "listing_id"
      +]
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only cover safety (readOnly, non-destructive), while the description supplies the substantive behavior: match criteria (same bedrooms, living area within 15%), that price is deliberately excluded from selection, the 'not_stated' / 'unknown' semantics, and how to relay price differences without framing them as savings or a city premium.

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 purpose and usage before the mechanical sections, and the interpretive rules (not_stated, unknown, empty matches) are placed close to where they matter. It loses a little to the Args and Returns blocks, which duplicate the 100%-covered schema and the output schema nearly verbatim.

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?

For a four-parameter tool with two execution modes, an output schema, and interpretive output fields, the description covers everything an agent needs: selection method, mode switch, failure/empty handling, and output-rendering caveats about price framing.

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 already 100%, so the baseline is 3, but the description adds meaning the schema cannot express: `city` and `compare_with` are mutually exclusive modes with different execution paths, and `listing_id` must be an id already shown rather than invented. The Args section largely restates the schema, so it stops short of 5.

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 concrete verb+resource+scope: 'Homes like one listing, in another city, side by side with it.' This cleanly separates it from find_similar_homes (same-city) and compare_inventory, and the second mode triggered by `compare_with` is named in the same paragraph.

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?

States the trigger condition with a quoted user utterance ('homes like #2 in Lisbon'), spells out the alternative mode ('With `compare_with` ... instead of `city`, no search runs'), and gives explicit when-not guidance by forbidding loosening the search when `matches` is empty.

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