Skip to main content
Glama

Cenogram - Polish Real Estate Data

get_flood_risk

Read-only

EXPERIMENTAL (beta): this tool may change or be withdrawn without notice; do not build critical workflows on it. Report what share of a Polish county's real-estate transactions sit on land in a mapped flood-hazard zone, broken down by severity, from the RCN registry. Severity bands are return periods: high = most frequent flooding (~1-in-10-year), medium (~1-in-100-year), low = rarest (~1-in-500-year). Counts land in a mapped hazard zone only; absence of a zone is never asserted as 'safe' (an area may be unmapped). Address by location (city/county name → resolves to a county; a gmina name is answered at county level, with a note) OR teryt (4-digit county code; longer codes truncate to the county; a district code resolves to its county — exposure is reported at county level; teryt wins when both are given). Aggregated over the whole transaction history (all-time, no date window). Suppressed below 5 assessed transactions. Coverage is county-level. Unless the location is a major city you already know is covered, call list_flood_risk_locations FIRST to get valid names, or pass a 4-digit county TERYT.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
terytNoTERYT code. 4 digits = county (e.g. 1465 = Warszawa). Longer codes (gmina/precinct/district) are truncated/resolved to the county. Wins over location when both are provided.
locationNoCounty-level city/county name (e.g. 'Warszawa', 'Kraków', 'Gdańsk'). District names are accepted (a Warszawa district or another city's delegatura, e.g. 'Kraków-Podgórze'), and so are gmina names (e.g. 'Wieliczka'), but coverage is county-level, so the answer is the parent county with a note. A gmina name shared by counties returns the candidates with their codes. A town within a larger powiat or an osiedle may 404 — check the catalog or use teryt first. Use this OR teryt.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / location / description
      Previous value: -"County-level city/county name (e.g. 'Warszawa', 'Kraków', 'Gdańsk'). District names are accepted (a Warszawa district or another city's delegatura, e.g. 'Kraków-Podgórze'), but coverage is county-level, so the answer is the parent county with a note. A town within a larger powiat or an osiedle may 404 — check the catalog or use teryt first. Use this OR teryt."New value: +"County-level city/county name (e.g. 'Warszawa', 'Kraków', 'Gdańsk'). District names are accepted (a Warszawa district or another city's delegatura, e.g. 'Kraków-Podgórze'), and so are gmina names (e.g. 'Wieliczka'), but coverage is county-level, so the answer is the parent county with a note. A gmina name shared by counties returns the candidates with their codes. A town within a larger powiat or an osiedle may 404 — check the catalog or use teryt first. Use this OR teryt."
  2. Changed1 schema field changed
    • changedInput schema / properties / location / description
      Previous value: -"County-level city/county name (e.g. 'Warszawa', 'Kraków', 'Gdańsk'). A town within a larger powiat or an osiedle may 404 — check the catalog or use teryt first. Use this OR teryt."New value: +"County-level city/county name (e.g. 'Warszawa', 'Kraków', 'Gdańsk'). District names are accepted (a Warszawa district or another city's delegatura, e.g. 'Kraków-Podgórze'), but coverage is county-level, so the answer is the parent county with a note. A town within a larger powiat or an osiedle may 404 — check the catalog or use teryt first. Use this OR teryt."
  3. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only cover the read-only/safe profile, but the description adds substantial extra context: an EXPERIMENTAL/beta stability warning, all-time aggregation with no date window, suppression below 5 assessed transactions, and the important caveat that absence of a mapped zone is not asserted as 'safe'. These are real behavioral traits not derivable from the structured fields.

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?

The beta notice is front-loaded appropriately, and severity-band calibration and suppression rules are each stated once and compactly. It is on the longer side, with the teryt-precedence rule appearing in both description and schema, but every sentence carries distinct information.

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 return semantics and does so well: it defines the severity bands via return periods, the assessed-transaction threshold, the county-level granularity, and the all-time window. The exact output shape (shares vs counts, field names) is only implied, which is the remaining gap.

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 description coverage is 100% and the parameter descriptions already state the truncation, district, gmina-candidate and 'teryt wins' rules, so the description largely restates them. It does tie the parameters to a routing decision (when to prefer the catalog lookup), but adds little syntax or format detail beyond the schema, so the baseline of 3 applies.

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: the share of a Polish county's real-estate transactions falling in a mapped flood-hazard zone, broken down by severity, sourced from the RCN registry. This is clearly distinguishable from sibling assets like get_transaction_flood (transaction-level) and list_flood_risk_locations (catalog). An agent can select it without opening another 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 prerequisite workflow: call list_flood_risk_locations FIRST unless the location is a known-covered major city, or pass a 4-digit county TERYT. It also spells out the alternatives (location vs teryt), the precedence rule, and the dry-run case for ambiguous gmina names, leaving nothing to inference.

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