Skip to main content
Glama

Official Records Hub: UK & US Property and Location Data

uk_crime_summary

Read-onlyIdempotent

UK crime by postcode for property and relocation AI agents. Send a postcode in England or Wales and get the latest month of police-recorded street crime within about 1 mile: total, counts by category (violence, burglary, anti-social behaviour, etc.), streets with most incidents and case outcomes, as JSON. For home-buying, lettings, insurance and 'is this area safe?' questions. Official data.police.uk open data (OGL). Errors never charged. Not Scotland. Use this when the user asks how safe a UK area is or what crime happened near a postcode last month. Not for: crime trends over time (use uk_crime_trend) or crime outside England, Wales and Northern Ireland police data. Price: $0.02 USDC per call (x402).

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": {
      "q": "<q>"
    },
    "name": "uk_crime_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesPostcode in England or Wales, e.g. L35 1QA. Example: L35 1QA

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety bar is low; the description still adds substantial context beyond them — data provenance (official data.police.uk open data, OGL), freshness (latest month only), a ~1 mile radius, an error policy ('Errors never charged') and a price ($0.02 USDC per call via x402). It also discloses the coverage boundary that the annotations do not.

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?

The purpose and payload are front-loaded and the exclusion guidance comes last, which is the right order. Some redundancy exists: England/Wales coverage is restated three times ('England or Wales', 'Not Scotland', 'outside England, Wales and Northern Ireland police data').

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?

No output schema exists, but the description explicitly enumerates the returned fields, so the agent knows what comes back. Coverage limits, freshness, cost, and error policy are all stated, leaving nothing essential missing for a single-parameter lookup tool.

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?

With one parameter at 100% schema coverage, the schema already documents 'q' with an example. The description adds the geographic validity constraint ('England or Wales', 'Not Scotland'), which meaningfully narrows what a valid postcode input is beyond the schema text.

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 ('Send a postcode ... get the latest month of police-recorded street crime within about 1 mile') plus the exact payload (total, category counts, top streets, outcomes) and format (JSON). This is clearly distinguishable from uk_crime_trend, which covers trends over time.

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 use cases are given ('home-buying, lettings, insurance and is this area safe? questions'; 'when the user asks how safe a UK area is or what crime happened near a postcode last month'), along with an explicit exclusion routing to a named alternative ('Not for: crime trends over time (use uk_crime_trend)') and a geographic exclusion ('Not Scotland').

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