Skip to main content
Glama

Designations and risks at a place

constraints
Read-onlyIdempotent
Every planning designation and environmental risk at a place as one flat
list of {kind, applies, detail, source, as_of, covered}: flood zone, listed
building, conservation area, Article 4, TPO, Green Belt, AONB, national park,
SSSI, ancient woodland, brownfield, nutrient catchment, coal. `applies` is
true, false, or null; null means that layer was not read (covered=false) and
is NOT the same as "no". Use it to answer "what constraints apply here".

Flood is Flood Zone 1, 2 or 3 only (Environment Agency). Surface-water,
river and sea (RoFRS) and defence detail are NOT held, so never describe a
place as low flood risk from this tool; quote the zone and say surface water
is not held. Do NOT use it to say a site is buildable, safe or developable.
Free.
`include_risk` (uprn places only) also reads the property risk report for
coal and nutrient catchment; that read costs the /property/risk price and is
charged only when it returns data. Without it those two items are covered=false.

`place` is exactly one of {uprn}, {postcode}, {area: {type, code}} or {geometry}
(point + radius_m up to 2000, bbox up to 5 km, polygon up to 200 vertices); free text is refused, call resolve_place first.
UK only. Limits: at most 40 items (`limit`), one page, cut to 8 KB. A call with covered=false or an upstream failure is not charged.

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": {
      "place": "<place>"
    },
    "name": "constraints"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
placeYes
includeNo
include_riskNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description adds substantial behavior beyond that: the three-valued applies/covered semantics (null ≠ 'no'), explicit non-coverage of surface water, RoFRS and defence data, a warning never to describe a place as low flood risk, the fact that the risk read is charged only when it returns data, no charge on covered=false or upstream failure, and hard output limits (40 items, one page, 8 KB).

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?

Despite its density, it is front-loaded with the core statement and organized into short paragraphs covering output shape, flood caveat, pricing, place forms and limits. A few clauses restate the same idea (the flood-risk warning spans two sentences), but essentially every sentence carries operational value and nothing is padding.

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?

For a four-parameter read tool with an output schema and read-only annotations, the description covers everything an agent needs: what is returned, what is not covered, how nulls behave, how to supply a place, cost behavior, and failure/limit behavior. Return-value explanation is kept brief as appropriate given the output schema exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is reported at 0% at the top level, so the description carries the burden and does so thoroughly: place must be exactly one of uprn/postcode/area/geometry, with radius_m up to 2000, bbox up to 5 km and polygons up to 200 vertices, plus the meaning of include_risk (uprn only, charged on data return) and the limit cap of 40. This is meaning well beyond what the raw schema conveys.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a precise verb+resource: it returns every planning designation and environmental risk at a place as a flat list with named fields, then enumerates the exact layers (flood zone, listed building, conservation area, Article 4, TPO, Green Belt, AONB, SSSI, etc.). Scope is unusually concrete, but it never names when to prefer it over the sibling constraints_for_geometry or planning_designations, so sibling differentiation is implied rather than stated.

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?

It states the intended question ('what constraints apply here'), explicitly forbids misuse ('Do NOT use it to say a site is buildable, safe or developable'), and instructs that free text is refused so resolve_place must be called first. It also flags the precondition for include_risk (uprn places only) and its cost implication, which is exactly the kind of selection guidance an agent needs.

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