Skip to main content
Glama

UK Postcodes Crime Risk MCP

Reverse geocode UK coordinates to postcodes

reverse_geocode_uk_postcode
Read-onlyIdempotent

Find the nearest UK postcodes and administrative metadata for a given UK latitude and longitude.

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": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "reverse_geocode_uk_postcode"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesUK latitude (e.g. 51.501009).
lonYesUK longitude (e.g. -0.141588).
limitNoMaximum postcodes to return (1-20, default 5).
radiusNoSearch radius in meters (10-2000, default 500).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds that results are 'nearest' (distance-ranked) and include administrative metadata, but says nothing about how radius/limit shape results or what happens when nothing is found within the radius.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; the core action and inputs appear immediately and nothing is redundant.

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 simple read-only tool with full schema coverage and complete annotations, the description is mostly sufficient. The notable gap is that 'administrative metadata' is never expanded and there is no output schema, so the agent cannot tell what fields the response actually contains.

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 description coverage is 100%, with ranges, defaults and examples for lat, lon, limit and radius, so the baseline is 3. The description contributes the 'nearest ... for a given lat/lon' framing that explains why limit and radius exist at all, nudging it slightly above baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource: 'Find the nearest UK postcodes and administrative metadata' for a lat/lon pair. This clearly separates it from a forward lookup like lookup_uk_postcode, though it never names that sibling to make the contrast explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by 'for a given UK latitude and longitude' — the reverse-geocoding direction is clear. However, there is no statement of when to prefer this over lookup_uk_postcode or get_street_crime_by_coords, and no exclusions or prerequisites.

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.