Skip to main content
Glama

Ukplanning Search

ukplanning_search
Read-onlyIdempotent

Filter UK planning entities by dataset, typology, publisher reference, curie or publishing organisation. NOTE: planning.data.gov.uk has NO free-text search, its documented q parameter is silently ignored upstream and returns the whole 25-million-row platform, so this tool does not accept one. To find a designation by place, use ukplanning_entities_at_point instead. Use this for "list the conservation areas published by organisation X", "which entity has reference CA18", "how many brownfield-land records exist". Example: ukplanning_search({ dataset: "conservation-area", reference: "CA18" })

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 3,
      "dataset": "conservation-area",
      "reference": "CA18"
    },
    "name": "ukplanning_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
curieNoPrefixed reference in "prefix:reference" form, e.g. "conservation-area:CA18"
limitNoMaximum rows to return (default 25, max 100)
offsetNoRow offset for paging (default 0)
datasetNoDataset slug from ukplanning_datasets, e.g. "conservation-area", "listed-building", "green-belt"
typologyNoTypology filter, e.g. "geography", "category", "organisation"
referenceNoThe publisher's own reference for the entity, e.g. "CA18". NOT unique across councils, pair with organisation_entity
entry_date_yearNoRestrict to records first entered in this year, e.g. 2026
include_geometryNoInclude the full WKT boundary of each row (default false)
organisation_entityNoEntity id of the publishing organisation (a local planning authority), e.g. 278

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / reference / description
      Previous value: -"The publisher's own reference for the entity, e.g. \"CA18\". NOT unique across councils — pair with organisation_entity"New value: +"The publisher's own reference for the entity, e.g. \"CA18\". NOT unique across councils, pair with organisation_entity"
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint. The description adds non-obvious behavioral context the annotations can't: the upstream `q` parameter is silently ignored and would return the whole 25-million-row platform. It doesn't discuss paging/limit behavior or rough result volume, so not 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-loads purpose, then the critical no-q caveat, then the alternative tool, then use cases. The narrative use-case list and the trailing example call are somewhat redundant with each other, costing a little density.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter, all-optional filter tool with rich annotations, the description covers purpose, pitfalls, and routing to a sibling. Because there is no output schema, a brief note on what a row looks like (or the scale of results with default limit) would have closed the remaining gap.

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%, including the important caveat that `reference` is not unique across councils and should be paired with organisation_entity. The description's field list ('dataset, typology, publisher reference, curie or publishing organisation') adds little beyond the schema and omits limit, offset, entry_date_year and include_geometry, 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?

Specific verb and resource: 'Filter UK planning entities by dataset, typology, publisher reference, curie or publishing organisation.' It also explicitly negates a capability (no free-text search) and names a sibling for the place-based case, so an agent can distinguish it without opening any 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?

Gives explicit when-to-use examples ('list the conservation areas published by organisation X', 'which entity has reference CA18'), names the alternative tool ukplanning_entities_at_point for finding a designation by place, and warns against a free-text request the upstream ignores.

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.