Skip to main content
Glama
MBratkowski

deweloperuch-mcp

by MBratkowski

Statystyki rynku miasta

get_market_statistics
Read-only

Get one Polish city's new-build market statistics: counts of offers, investments and developers, price and area distributions, and top developers, with optional price/area filters.

Instructions

Zwraca statystyki rynku ofert deweloperskich w jednym mieście: liczbę ofert, inwestycji i deweloperów, rozkład cen (PLN), cen za m² (PLN/m²) i metraży (m²) jako min, p25, median, p75 i max oraz największych deweloperów wg liczby ofert (developer_slug, offers, investments, median_price_per_m2, developer_url; developer_slug to identyfikator, a nazwę dewelopera daje get_developer). Opcjonalnie tylko oferty z zakresu ceny i metrażu. Użyj, gdy pytanie dotyczy rynku miasta (typowe ceny, kto ma najwięcej ofert), a nie konkretnych mieszkań (search_offers).

Ograniczenia: tylko aktywne oferty (bez archiwalnych) i tylko jedno miasto (city_slug z search_locations; polska nie działa). Liczby mogą się nieco różnić od total w search_offers. Pojedynczych ofert tu nie ma: list_url to lista tych ofert na deweloperuch.pl z tymi samymi filtrami, a developer_url profil dewelopera: podawaj je użytkownikowi jako linki.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityYescity_slug jednego miasta z search_locations, np. krakow (nie polska).
area_maxNoNajwiększy metraż w m².
area_minNoNajmniejszy metraż w m².
price_maxNoNajwyższa cena oferty w PLN.
price_minNoNajniższa cena oferty w PLN.
top_developersNoIlu największych deweloperów pokazać, 1–30, domyślnie 10.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hintNo
priceNoCeny w PLN: min, kwartyle, mediana, max.
offersYesPasujące aktywne oferty.
area_m2NoMetraże w m².
list_urlNoLista tych ofert na deweloperuch.pl (te same filtry ceny i metrażu): podaj ją użytkownikowi jako link.
city_slugYes
truncatedYestrue: deweloperów jest więcej niż w top_developers.
developersYesWszyscy deweloperzy z pasującymi ofertami.
investmentsYes
price_per_m2NoCeny za m² w PLN.
top_developersYesDeweloperzy z największą liczbą pasujących ofert, malejąco.
developers_omittedYes
developers_returnedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and openWorldHint, but the description adds substantial behavior beyond that: only active (non-archived) offers, exactly one city, counts that may diverge from search_offers totals, no individual offers, and guidance that list_url/developer_url should be surfaced as links. This is unusually rich scoping and output-behavior disclosure.

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, then usage, then limitations — a sensible order. It is dense and somewhat long, with a heavy parenthetical enumerating return fields that is partly redundant with the output schema, but every sentence still carries routing or constraint information.

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 so return values need not be explained, yet the description still covers purpose, routing, filtering scope, data-source caveats, and exactly one city. For a 6-parameter read-only statistics tool, an agent has everything needed to invoke it and interpret constraints correctly.

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. The description adds value beyond the schema by clarifying that the price/area filters are optional and applied to offers, that city must be a city_slug from search_locations, and that 'polska' will not work — meaning not captured in the schema field text.

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 ('Zwraca statystyki rynku ofert deweloperskich w jednym mieście') and enumerates exactly what is returned: offer/investment/developer counts, price and price-per-m² distributions, area percentiles, and top developers. It explicitly distinguishes itself from search_offers ('a nie konkretnych mieszkań'), so an agent can route without opening either schema.

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 an explicit when-to-use rule ('Użyj, gdy pytanie dotyczy rynku miasta... typowe ceny, kto ma najwięcej ofert') and names the alternative tool for the contrasting case ('a nie konkretnych mieszkań (search_offers)'). Limitations are also spelled out (active offers only, single city, counts may differ).

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