Skip to main content
Glama

Official Records Hub: UK & US Property and Location Data

uk_planning_constraints

Read-onlyIdempotent

UK planning constraints for property checks, for AI agents. Send an England postcode and get conservation area, Article 4 direction (incl. HMO rules), tree preservation zone, green belt, AONB, world heritage site, scheduled monument, SSSI, ancient woodland and planning flood zone, plus listed buildings within 100 m with grades, as JSON. For conveyancing, extensions, landlords and home-buying tools. Official planning.data.gov.uk data (OGL). Errors never charged. Use this when the user asks if a UK location is in a conservation area, green belt, Article 4 area or near listed buildings before buying, extending or converting. Not for: checking whether planning permission was granted. Price: $0.03 USDC per call (x402).

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": {
      "q": "<q>"
    },
    "name": "uk_planning_constraints"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesPostcode in England, e.g. YO1 9QL. Example: YO1 9QL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world and non-destructive behavior. The description adds real context beyond them: x402 payment at $0.03 USDC per call, a no-charge-on-error policy, OGL provenance from planning.data.gov.uk, and the 100 m search radius for listed buildings. It does not cover response shape detail or rate/limit behavior, so not quite a 5.

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 purpose, then the returned fields, then audience, provenance, pricing and usage triggers. The comma-delimited dataset list and the audience clause ('for conveyancing, extensions, landlords and home-buying tools') are dense but each carries selection value; there is little outright waste.

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?

There is no output schema, so the description must carry the return contents — and it does, enumerating each constraint type and noting listed buildings come with grades within 100 m. Combined with annotations covering safety and the description covering cost and errors, an agent has everything needed to call this correctly.

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?

With a single parameter at 100% schema description coverage, the schema already documents the postcode format and example. The description reinforces the England-only constraint but adds no syntax, normalization, or ambiguity handling beyond that, so the baseline 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?

States a specific verb and resource — send an England postcode, get back an enumerated set of UK planning constraints as JSON — and lists exactly which datasets are returned. It is unmistakably distinct from siblings like uk_flood_check or uk_house_prices.

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 trigger ('when the user asks if a UK location is in a conservation area, green belt, Article 4 area or near listed buildings before buying, extending or converting') and an explicit exclusion ('Not for: checking whether planning permission was granted'). Nothing is left to inference about scope.

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