Skip to main content
Glama

Deprivation, rural-urban class and nearest rail, bus and school

neighbourhood
Read-onlyIdempotent
What a neighbourhood is like on the official area measures: deprivation rank
and decile, rural-urban class, output-area (OAC) class, and the nearest rail,
bus and school distance. Use it for "what is the area like" questions about
one postcode or one UPRN. Give `place` as {postcode} or {uprn}.

England is ranked on the English index (rank of 33,755, decile 1 = most
deprived). Wales is on its own Welsh index (rank of 1,917) and is NOT
comparable with English ranks or deciles: never compare the two. Scotland,
Northern Ireland, the Channel Islands and the Isle of Man are covered=false,
which is not "no deprivation". Distances are straight-line metres and are held
only for a UPRN that resolves to one land parcel; for a postcode, or a UPRN
with no parcel, those fields are covered=false with the reason.

It holds NO crime, school quality (Ofsted or results), demographics (age,
income, ethnicity, tenure) or broadband data: say so rather than imply it.
Do NOT use it to value, estimate or appraise anything. Postcode or uprn only:
area and geometry places are refused, and free text is refused (call
resolve_place first). Free.

UK only. Exactly one record, no travel time. Free; covered=false or an upstream
failure is not charged.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "place": "<place>"
    },
    "name": "neighbourhood"
  }
}

Input Schema

NameRequiredDescriptionDefault
placeYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Goes well past the read-only/idempotent annotations: it explains that English and Welsh indices have different denominators and must never be compared, that covered=false for Scotland/NI/CI/IoM is not 'no deprivation', that distances are straight-line metres only when a UPRN resolves to a single land parcel, and that covered=false or upstream failure is not charged.

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 purpose, then caveats, then exclusions — good ordering. Slightly redundant: 'Free' appears twice, and the UK-only/one-record/no-travel-time line overlaps with earlier scope statements.

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?

An output schema exists, so return values need no explanation; the description instead covers what an agent cannot infer — cross-national index incomparability, covered=false semantics, distance provenance, and refusal behavior. Nothing needed to call it correctly is missing.

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

Parameters5/5

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

Schema coverage is reported at 0%, so the description carries the burden, and it does: it narrows the permissive PlaceArg union down to {postcode} or {uprn}, declares area and geometry places refused, and points free text at `resolve_place`. That is a decisive semantic constraint an agent would otherwise get wrong.

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?

Names the exact resource set: deprivation rank and decile, rural-urban class, OAC class, and nearest rail/bus/school distance, framed as a 'what is the area like' lookup for one postcode or one UPRN. The one-record scope and the required `place` shape make it distinguishable from broader area/report siblings.

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?

Explicit when-to-use ("what is the area like" for one postcode or UPRN) and explicit when-not (no crime, Ofsted/results, demographics, broadband; never for valuation/appraisal). It also routes the agent to `resolve_place` for free text and states that area/geometry places are refused.

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