Compare Great Britain Postcodes Side-by-Side
compare_postcodesCompare 2–5 Great Britain postcodes side by side across affluence, safety, housing cost per m², broadband, and family suitability, with ranking and optional brief profiles for compact context.
Instructions
Use when you need to directly contrast 2 to 5 Great Britain postcodes across affluence, safety, housing cost per m², broadband, and family suitability. Returns full profiles by default; use view="brief" (~80 tokens per postcode) to keep context compact alongside the comparison ranking. Do not use for single postcode inspection (use lookup_postcode) or bulk batches of >5 postcodes (use enrich_postcodes).
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": {
"postcodes": "<postcodes>"
},
"name": "compare_postcodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | View slice for returned postcode profiles: "full" (complete profile per postcode, default), "brief" (or "summary"/"ai", ~80 tokens per postcode, recommended to minimize context usage alongside comparison ranking), "property", "demographics", "education", "healthcare", "transit", or "services". | full |
| postcodes | Yes | List of 2 to 5 distinct Great Britain postcodes to compare side-by-side (e.g. ["SW1A 1AA", "BB7 3BB"]). Must contain at least 2 distinct postcodes in England, Scotland, or Wales. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _billing | No | ||
| postcodes | Yes | ||
| _licensing | No | ||
| _disclaimer | No | ||
| _attribution | Yes | ||
| comparison_synthesis | Yes |