Enrich Bulk Great Britain Postcodes Cohort
enrich_postcodesBatch-enrich 1–50 Great Britain postcodes with demographic, economic, and spatial profiles, returning brief summaries by default to limit context; request full metrics when needed.
Instructions
Bulk demographic, economic, and spatial lookup for 1 to 50 Great Britain postcodes. Returns brief profile by default (~80 tokens per postcode) to prevent context blow-up; use view="full" when all 113 metrics are needed. Cost-effective for 6 to 50 postcodes ($0.050 flat fee). For 1 postcode use lookup_postcode ($0.005); for 2 to 5 postcodes use compare_postcodes ($0.010). Do not use when detailed side-by-side comparative rankings are required (use compare_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": "enrich_postcodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | View slice for each postcode in the batch results: "brief" (or "summary"/"ai", ~80 tokens per postcode, default for batch calls to prevent context blow-up), "full" (complete 113-metric dataset per postcode, explicitly requested when all metrics needed), "property", "demographics", "education", "healthcare", "transit", or "services". | brief |
| postcodes | Yes | Array of 1 to 50 Great Britain postcodes to enrich. Cost-effective for 6 to 50 postcodes ($0.050 flat fee). For 1 postcode use lookup_postcode ($0.005); for 2 to 5 postcodes use compare_postcodes ($0.010). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | ||
| _billing | No | ||
| _licensing | No | ||
| _disclaimer | No | ||
| _attribution | Yes | ||
| cohort_summary | Yes |