Skip to main content
Glama

Ukplanning Entity

ukplanning_entity
Read-onlyIdempotent

Fetch one UK planning entity by its numeric entity id (from ukplanning_search or ukplanning_entities_at_point). Returns the full record, name, dataset, publisher reference, start/end dates, the publisher's documentation URL, and the WKT boundary when asked for. Example: ukplanning_entity({ entity: 44000001, include_geometry: false })

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": {
      "entity": 44002870
    },
    "name": "ukplanning_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
entityYesNumeric planning.data.gov.uk entity id, e.g. 44000001
include_geometryNoInclude the full WKT boundary (default false, can be tens of KB)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / include_geometry / description
      Previous value: -"Include the full WKT boundary (default false — can be tens of KB)"New value: +"Include the full WKT boundary (default false, can be tens of KB)"
  2. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description adds useful context by enumerating what the record contains and noting geometry is returned only on request; it does not cover behavior on an unknown id (error vs. empty result) or any rate limits, so it adds moderate value beyond the annotations rather than rich detail.

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 the core purpose, then return contents, then an inline example call — no wasted preamble. The example call mostly duplicates the schema's own examples entries, which is a small redundancy, but the structure aids fast scanning.

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?

With no output schema, the description correctly compensates by listing the returned fields (name, dataset, publisher reference, dates, documentation URL, WKT). For a two-parameter read tool that is close to complete; only not-found behavior is left unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with per-parameter descriptions and examples, so the baseline is met by the schema. The description still contributes meaning by identifying the id's provenance (a planning.data.gov.uk entity id obtained from the sibling search tools) and by tying include_geometry to the WKT boundary in the returned record.

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?

States a specific verb and resource ('Fetch one UK planning entity') qualified by the exact identifier type ('numeric entity id'), which cleanly separates it from the search and point-query siblings. An agent can tell this is a single-record lookup without opening the schema.

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 tells the agent where the required id comes from ('from ukplanning_search or ukplanning_entities_at_point'), which is the key precondition for calling it. It does not explicitly state the inverse (use search when you don't already have an id), so routing is clear but not fully closed.

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.