Skip to main content
Glama

Poland Land Parcels API – Official ULDK Zoning

polish-land-parcels-uldk-zoning
Read-onlyIdempotent

Look up Polish land parcels by full ID, precinct name plus number, or GPS point and optionally retrieve MPZP/POG zoning with building limits.

Instructions

Looks up Polish land parcels (działki) in the official GUGiK ULDK service by full parcel ID, precinct name plus number, or GPS point, returning location, area and an optional GeoJSON boundary; includeZoning adds local zoning plans (MPZP) and general plan zones (POG) with building limits from Rejestr Urbanistyczny (charged at a higher rate). No owner data; with no input it looks up three example parcels. Use it for one parcel's geometry and zoning; for building permits use polish-building-permits-gunb. Read-only: it only queries the public source and never writes to the registry; onlyNew merely keeps a stateKey memory in your own Apify account. Each call needs the APIFY_TOKEN env var and starts one paid run of the Apify Actor enterprising_hamster/polish-land-parcels-uldk-zoning on your Apify account, billed pay-per-event per delivered item plus any Apify platform usage; the server waits up to 300 s for the run and returns JSON {items, truncated} with at most maxItems (max 100) items and 256 KiB.

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": "polish-land-parcels-uldk-zoning"
  }
}

Input Schema

NameRequiredDescriptionDefault
pointsNoCoordinates in decimal degrees, latitude first, for example "52.2297,21.0122" (as copied from Google Maps). Returns the parcel that contains each point.
onlyNewNoSkip parcels delivered by an earlier run with the same state key unless something about them changed (for example a new local plan or a plan entering into force). Skipped parcels are not charged. Use with a schedule to monitor zoning.
maxItemsNoHard cap on delivered (and charged) parcels in this run.
stateKeyNoName of the memory used by 'Only new or changed'. Use one key per watch list.
parcelIdsNoFull parcel identifiers from the Polish land register (EGiB), for example 141201_1.0001.6509 or 306401_1.0051.AR_26.32. If you leave parcel IDs, names and points all empty, the Actor looks up three example parcels in the municipality of Szemud and in Mińsk Mazowiecki.
parcelNamesNoA precinct (obręb) name followed by a parcel number, for example "Krzewina 134". Names repeat across Poland, so one entry can match several parcels; see 'Matches per name'.
includeZoningNoCheck each parcel against Rejestr Urbanistyczny: local zoning plans (MPZP) and general plan zones (POG) with building limits. Parcels with zoning found are charged as 'Parcel with zoning'.
minCoveragePctNoIgnore plans and zones that cover less than this share of the parcel. Plan boundaries and parcel boundaries come from different maps, so slivers below 1% are usually drawing noise.
includeGeometryNoAdd the parcel boundary as GeoJSON in WGS84 (longitude, latitude) to each item.
maxMatchesPerNameNoThe most parcels returned for one 'precinct name and number' entry. Extra matches are listed in the run summary, not delivered or charged.
maxRequestsPerSecondNoPolite request rate towards each public service (ULDK and the planning register).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the readOnly/openWorld/idempotent annotations: it discloses that no owner data is returned, that includeZoning triggers a higher billing rate, that onlyNew is just a local stateKey memory, that each call starts a paid Apify run needing APIFY_TOKEN, that the server blocks up to 300 s, and that results are capped by maxItems and 256 KiB. The only gap is that the exact failure modes (what happens on timeout or an unroutable parcel) are not stated.

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?

Purpose and variant (geometry vs zoning) are front-loaded before the billing and auth caveats, and the sibling hand-off is placed early. It is a single very dense block, though — the pricing/actor/run-mechanics clauses could be separated so a scanning agent can stop reading after the first clause.

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?

With 11 optional parameters, no required fields, and no output schema, the description carries real weight: it explains the at-least-one-input expectation, the effective return envelope ({items, truncated}), the per-call cap, and the paid-run side effect. Nothing an agent needs to invoke this correctly 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 description coverage is 100%, so the baseline is 3, and the description does add a layer on top: it flags that precinct names repeat across Poland (hence multi-match behavior), that onlyNew is a state key rather than a filter on the source, and that includeZoning changes the billed event type. It stops short of tying any of this to specific parameter names, so it is value-additive rather than fully compensating.

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 (looks up), a specific resource (Polish land parcels / działki in GUGiK ULDK), and the three accepted input modes (parcel ID, precinct name + number, GPS point). It also names the sibling it is *not* (polish-building-permits-gunb), so an agent can route correctly without opening a 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?

Explicitly scopes the tool to "one parcel's geometry and zoning", names the alternative for permits (polish-building-permits-gunb), and documents the degenerate case ("with no input it looks up three example parcels"). When-to-use, when-to-use-something-else, and edge behavior are all covered.

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