Skip to main content
Glama

Live planning constraints on a building plot

site_constraints
Read-onlyIdempotent

Looks up, live from official open data, what applies at the customer's postcode before an extension, loft, porch, outbuilding or groundworks: Article 4 directions (permitted development removed), listed buildings, conservation areas, World Heritage Sites, National Landscapes, scheduled monuments, flood risk zones and Tree Preservation Orders (planning.data.gov.uk, England, councils that publish). Returns each constraint found with its source link, what it means for the build, and the designations to pass straight to check_permitted_development. A constraint not found is not proof of none: the answer says so. Example: {"postcode":"YO1 7HH"}.

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": {
      "postcode": "<postcode>"
    },
    "name": "site_constraints"
  }
}

Input Schema

NameRequiredDescriptionDefault
postcodeYesThe property's full UK postcode.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/openWorld/non-destructive, and the description adds genuinely new behavioral context beyond them: the upstream data source (planning.data.gov.uk), the geographic limit (England, councils that publish), and the return composition (source link, what it means for the build, `designations`). Most importantly it discloses the key caveat that 'a constraint not found is not proof of none,' which an agent could not infer from annotations.

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 purpose, then coverage caveat, then example — a sensible order with each sentence doing work. The long enumeration of constraint types is dense but justified because it tells the agent what it will and will not get back. Slightly heavy for a single-parameter lookup, preventing a 5.

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 explain return values, and it does: each constraint with its source link, plain-language build impact, and a `designations` field for downstream use. Combined with the explicit England/publishing-council coverage limits and the false-negative caveat, an agent has everything needed to call it and interpret the result 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?

Schema coverage is 100% and the single parameter is documented as 'The property's full UK postcode', so the schema carries the semantics. The description adds only a concrete example ('{"postcode":"YO1 7HH"}') that illustrates expected formatting — useful but marginal, matching the baseline-3 case for high-coverage single-param tools.

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?

The description opens with a specific verb and resource ('Looks up, live from official open data, what applies at the customer's postcode') and then enumerates the concrete constraint classes returned (Article 4 directions, listed buildings, conservation areas, flood zones, TPOs). It distinguishes itself from siblings by positioning check_permitted_development as the downstream consumer rather than a substitute.

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?

Usage timing is explicit and concrete: 'before an extension, loft, porch, outbuilding or groundworks.' It also describes the workflow handoff ('the `designations` to pass straight to check_permitted_development'), which tells the agent where this sits in a sequence. No explicit when-not-to-use case is given, so it falls short of a 5.

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.