Skip to main content
Glama

finwire.pl - Polish financial data

Flat prices in Polish cities: ranking from notarial deeds

get_city_flat_prices
Read-onlyIdempotent

Use for the cheapest or the most expensive cities to buy a flat in Poland, and for flat prices per m2 in a city that is not one of the 17 large cities, for example Gliwice, Toruń or Częstochowa. For districts of a large city, use get_housing_prices. Median flat transaction price per m² from notarial deeds (RCN) in Polish cities with at least 200 deeds in the last 4 full quarters and no quarter gaps, from the cheapest: quartiles, median flat area and price, secondary and primary market, year-over-year change and the median asking price per m² in developer price lists (dane.gov.pl) in the same city. Without city: the cheapest and the most expensive cities, the number of cities and all cities with their median. With city: that city with its rank and quarterly medians (all markets, secondary, primary). Aggregates only, no individual deeds.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_city_flat_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoCity name or slug (e.g. "Kraków" or "krakow") for one city with its rank and quarterly medians; omit for the ranking.

Output Schema

NameRequiredDescriptionDefault
urlYes
asOfNo
dataNo
titleYes
sourceYes
docsUrlYes
licenseYes
summaryYes
citationYes
datasetIdYes
sourceUrlNo
truncatedNo
serverDateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare read-only/idempotent/closed-world; the description adds substantive behavior beyond them: the data source (notarial deeds RCN, plus developer asking prices from dane.gov.pl), inclusion criteria, quarter-gap requirements, and the explicit 'aggregates only, no individual deeds' limitation. It also discloses what is returned in each mode.

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 usage before the data-provenance detail, and every segment carries information. The second and third sentences are long and clause-heavy, and the title/name is effectively restated, so it is dense rather than tight.

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?

Given one optional parameter, full annotation coverage and a declared output schema, the description supplies everything needed to call it correctly: mode selection, city naming examples, data vintage rules, and the aggregate-only constraint. Nothing essential 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%, and the description still adds value by spelling out the two-mode semantics: omitting city yields the cheapest/most expensive cities, the count of cities and every city's median, while supplying city yields that city with its rank and quarterly medians by market segment. Only minor format detail (slug handling) is left entirely to the schema.

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+resource (flat transaction prices per m² in Polish cities) plus scope: notarial deeds (RCN), coverage rules (≥200 deeds, last 4 full quarters, no quarter gaps), and both query modes (ranking vs. single city). It explicitly routes district queries to get_housing_prices, so an agent can distinguish it from the sibling 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete when-to-use triggers: cheapest/most expensive cities, or a single non-top-17 city such as Gliwice, Toruń or Częstochowa, and names get_housing_prices as the alternative for districts. The gap is that it implies large-city city-level queries belong elsewhere but never names that alternative, leaving one routing decision ambiguous.

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.