Skip to main content
Glama

IleM² – ceny nieruchomości w Polsce

Pytanie po polsku na filtry / Natural-language question

zapytaj
Read-onlyIdempotent

Zamienia zwykłe pytanie („3 pokoje do 700 tys. w Poznaniu blisko szkoły”, „kawalerka do 400 tys.”, „do 7 tys. za metr blisko lasu”, „szeregowce Murowana Goślina”) na obszar i filtry rynku pierwotnego: pokoje, cena, zł/m², „blisko” (szkoła, przedszkole, las, park, kolej, tramwaj, morze, sklep), deweloper, rodzaj (dom, szeregowiec), ogród, balkon oraz obniżki z okresem („potaniały w ostatnim miesiącu”). Zwraca rozpoznane filtry, to, czego nie zrozumiał (pominiete), liczbę pasujących inwestycji i lokali oraz gotowe wywołanie nastepny_krok (narzędzie obnizki, mieszkania albo inwestycje z argumentami; przy pytaniu o ceny transakcyjne, zmianę cen albo wartość nieruchomości - ceny_obszaru albo szacunek_*, a przeczenie przy nazwie, np. „bez Białołęki”, idzie do pominiete). Użyj, gdy pytanie jest swobodne; gdy znasz już obszar i liczby - wołaj inwestycje albo mieszkania od razu. Samej nazwy inwestycji szukaj w inwestycja (nazwa). / Turns a free-form Polish question into an area and new-build filters, with the next tool call to make.

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": {
      "pytanie": "<pytanie>"
    },
    "name": "zapytaj"
  }
}

Input Schema

NameRequiredDescriptionDefault
pytanieYespytanie albo fraza po polsku, np. „3 pokoje do 700 tys. w Poznaniu blisko szkoły”
kontekstNoopcjonalnie: obszar, o którym jest mowa, gdy pytanie go nie podaje (np. krakow)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, but the description adds real behavioral context: the return payload (recognized filters, `pominiete`, matching investment/property counts, a ready `nastepny_krok` call) and a fallback rule for negations like "bez Białołęki". It stops short of describing ambiguity handling or limits on how many filters it can resolve.

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 transformation, then routing rules; no filler sentences and every clause adds information. It is a single dense run-on with many parenthetical asides, which is hard to scan but not wasteful.

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?

With no output schema, the description carries the burden of explaining returns and does so: filters, `pominiete`, counts, and the suggested next call. The exact shape of `nastepny_krok` (fields/arguments) is only sketched, so an agent still has to inspect the response to chain calls.

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% and both parameters carry their own examples, so the schema does the heavy lifting. The description enriches the domain vocabulary of `pytanie` (the supported filter phrases) but never mentions the optional `kontekst` argument or how it interacts with an area stated in the question.

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 precise transformation (free-form Polish question → area + new-build filters) and enumerates the filter families it recognizes: rooms, price, zł/m², proximity amenities, developer, type, garden, balcony, price drops. It also explicitly distinguishes itself from inwestycje/mieszkania (known area/numbers), inwestycja (name lookup), and ceny_obszaru/szacunek_* (valuation questions).

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 ("Użyj, gdy pytanie jest swobodne"), explicit when-not ("gdy znasz już obszar i liczby - wołaj inwestycje albo mieszkania od razu"), and names the correct sibling for each adjacent case, including name-only queries and price/valuation questions.

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