Skip to main content
Glama

UK planning applications

query_uk_planning
Read-onlyIdempotent

Planning applications from the official planning.data.gov.uk feed, normalized to one schema. Blind Mode: no applicant personal data. Filters combine with AND; q searches all text fields. Costs 1 credit(s) per call with an API key; without one, a preview of up to 5 rows (30 calls/day). Origin notice: Origin paused: planning.data.gov.uk emptied its planning-application dataset on 2026-10-10 (entity-count 0, phase alpha, no replacement named). Paused since then on every surface: the API, the MCP tool, x402 and the Apify actor answer this notice and no records until the platform republishes.

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

Input Schema

NameRequiredDescriptionDefault
qNo
pageNo
per_pageNo
authorityNo
referenceNo
decision_date_afterNo
decision_date_beforeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description only needs to add context — and it does: PII-blind output, credit cost, preview throttling, and the critical upstream pause with a date and reason. What it omits is any description of the response shape (fields, envelope, pagination behavior) despite having no output schema; 'normalized to one schema' gestures at it without specifying.

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?

Sentences are dense and each conveys distinct information — source, PII posture, filter logic, cost model, availability. The one structural weakness is ordering: an agent skimming only the opening clause would believe the tool returns records, when the pause notice (the single most actionable fact) sits at the end.

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

Completeness3/5

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

For a 7-parameter query tool with no schema descriptions and no output schema, the definition covers availability, cost, privacy, and filter combination well but leaves most parameters and the returned record shape unexplained. It is adequate to know whether to call the tool, but not fully adequate to call it correctly once the feed is restored.

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 0% across 7 parameters, so the description carries the full burden. It does explain that filters combine with AND and that q searches all text fields, which is real added meaning. However, authority (typed as a bare number — an ID? a name?), reference, and the two decision-date bounds receive no explanation, and page/per_page are only inferable from the schema's defaults.

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 opening sentence names a specific verb and resource — planning applications from the official planning.data.gov.uk feed, normalized to one schema — which cleanly separates it from the sibling datasets (charities, companies, schools, etc.). It also states the scope constraint (Blind Mode, no applicant personal data) that defines what the returned records contain.

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?

It gives operational guidance an agent needs before selecting it: 1 credit per call with a key, a 5-row/30-calls-per-day preview without one, and AND semantics across filters. Most importantly it discloses that the origin is paused and every surface returns a notice instead of records, which effectively tells the agent not to rely on it. There is no explicit routing to a sibling alternative, but the dataset scope already implies the choice.

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