Skip to main content
Glama

Ukplanning Datasets

ukplanning_datasets
Read-onlyIdempotent

List the datasets published on planning.data.gov.uk, the UK government's national planning data platform (MHCLG). Each row gives the dataset slug you pass to the other tools, its plain-English name, typology, licence and the number of entities it holds. AUTHORITATIVE for "what UK planning designations can I look up", conservation areas, listed buildings, article 4 directions, green belt, brownfield land, flood risk zones, tree preservation zones and ~70 more. PREFER OVER WEB SEARCH for the dataset slug; guessing a slug returns an empty set, not an error. Example: ukplanning_datasets({ query: "conservation" })

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": {
      "query": "conservation"
    },
    "name": "ukplanning_datasets"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoOptional case-insensitive substring matched against the dataset slug, name and description (filtered here, not upstream)
typologyNoOptional typology filter, e.g. "geography", "category", "organisation", "document"
headline_onlyNoOnly return the ~17 designations most used for property and site due diligence (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world, so the bar is lower. The description earns credit by disclosing a non-obvious behavior: an invalid slug yields an empty result set rather than an error, and it documents the per-row payload in the absence of an output schema.

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 the core purpose and keeps the slug-routing guidance and example at the end where they are most actionable. The long designation enumeration (conservation areas, listed buildings, article 4 directions, etc.) is slightly padded but plausibly aids recall; otherwise little waste.

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 zero-required-parameter discovery tool with no output schema, the description covers purpose, what each row contains, why the slugs matter to downstream tools, and the failure mode. An agent has everything needed to call it correctly without further inference.

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 all three parameters (query, typology, headline_only) are already documented upstream. The description adds only an example invocation and the empty-set failure note; it does not explain matching semantics or the tradeoff of headline_only beyond what the schema states, so 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?

Opens with a specific verb and resource ("List the datasets published on planning.data.gov.uk") and names the platform owner (MHCLG). It also spells out the shape of each row (slug, name, typology, licence, entity count), which tells an agent exactly what it gets back and how it differs from the entity/search siblings.

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?

Explicitly routes the agent here to obtain dataset slugs and states a clear preference over web search, plus the failure mode for guessing ("guessing a slug returns an empty set, not an error"). It does not say when to prefer ukplanning_search or ukplanning_entity instead, so it stops short of full alternative coverage.

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.