Skip to main content
Glama

Find applications near a place

search_applications_nearby
Read-onlyIdempotent

Find historic UK planning applications near a location. Give a point (WGS84), a UK postcode, or a UPRN plus a radius (default 1 mile, max 5 km); returns applications whose site falls within that radius, nearest first, or most recent first with sort 'valid_date_desc' or 'decision_date_desc' (for 'the latest application at …'), filterable by date, application type, decision (the council's words, or an outcome: ['Refused'] finds every refusal however it is worded), outcome, status, appeal and LPA, and by the scheme facts: development category, kind of work (work_kind, e.g. new_building), major development and net new homes (min/max; read by a model from the description; null until read). Each result carries its normalised outcome, distance, the council's own reference, site address, the development category, homes, unit mix, floorspace and change of use, decision and geocoding provenance; the coverage block discloses the per-LPA geocoded denominator for this growing national index; totals says how many applications the radius holds and how many match, and returned how many of them this answer lists.

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": "search_applications_nearby"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoresult ordering: 'distance' (nearest first, the default), 'valid_date_desc' (most recent applications first, by validation date) or 'decision_date_desc' (most recent decisions first).distance
uprnNoUPRN (resolved to a centroid).
limitNoHow many results to return: 1 to 10 (default 10).
pointNoWGS84 search centre.
cursorNoopaque keyset cursor from a prior page.
filtersNooptional, AND-combined filters: date windows (validated/decided), application type, development category, kind of work, major, net new homes, decision or outcome, status, appeal, and LPA.
postcodeNoUK postcode (resolved to a centroid).
radius_mNosearch radius in metres; default 1609 (=1 mile), max 5000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive and closed-world, so the safety profile is covered; the description adds real context beyond that: default and maximum radius, default ordering ('nearest first'), the meaning of `totals` vs `returned`, the per-LPA coverage denominator, and the important caveat that applications 'not yet read' by the scheme-facts model never match scheme-fact filters. It stops short of describing pagination/cursor behaviour or the magic 10-result limit.

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 the spatial inputs are front-loaded, and almost every clause carries information about inputs, ordering or return payload. The weakness is structure rather than length: the whole definition is one semicolon-chained sentence dense with parentheticals, which makes it harder to scan than a few short sentences would.

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 no output schema, the description steps in and enumerates the result payload (normalised outcome, distance, council reference, address, homes, unit mix, floorspace, decision, geocoding provenance) plus the totals/returned counts and coverage block. Combined with the input guidance and the 'unread applications never match' caveat, an agent has enough to call this correctly and interpret the answer.

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%, so the schema already carries the parameter detail and a 3 baseline applies. The description does add modest value by mapping sort values to user intent ('for the latest application at …') and by warning that model-derived facts are null until read, but the decision/outcome, work_kind and development_category explanations largely restate the schema.

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?

States a specific verb and resource ('Find historic UK planning applications') plus a precise scope ('near a location', with point/postcode/UPRN as the centre), which separates it in practice from the non-spatial sibling search_applications. It never names an alternative tool, so the differentiation is implicit rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the required spatial input ('Give a point (WGS84), a UK postcode, or a UPRN plus a radius') and by the sort guidance framed as 'for the latest application at …'. There is no explicit when-to-use / when-not statement and no named alternative (e.g. search_applications) for non-spatial queries, leaving the agent to infer the routing.

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.