Close Knit is an MCP server published by com.getcloseknit, hosted at getcloseknit.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 18 tools, including find_areas, open_shared_search, find_similar_areas, assess_listing, describe_data.
Neighbourhood and home evidence for England, London in depth: prices, rents, schools, crime, travel.
Nothing else in the archive shares these values.
Inferred from the host name and headers: what a server runs on, not who runs it.
Shortlist neighbourhoods in England (London in depth) for a household: budget, bedrooms, weighted priorities (crime, station access, price level, official deprivation decile, noise, disorder, energy rating, leasehold share, good primaries) and optional stations or local authorities to live near (regions narrows to English regions, e.g. ['london']; with no regions, stations or boroughs all of England is searched). Returns areas in one order (orderedBy): tier (every must met, then unverified), budget band (within, stretch, over, unknown), then standing 0-100 (with property_type every within-budget area first); present them in that order, never by score (mapScore, the map's colour). meets ('4 of 5') and aheadBecause explain it; budgetLabel says the budget in words ('within budget' only for the type's own figure); factor values with a typed fact (quality measured, modelled, estimate or unknown; range; verifyUrl), typicalPrice (the median recent sale), estimatedPrice and budgetFit (with property_type the type's own figure, priceBasis says which; else a ballpark for the bedroom count), postcode districts and website links. A deal-breaker needs must true (a range or place without it only ranks); tier unverified (mustStatus unknown, verified false, tierReasons) marks a must on an estimate, National Rail beside the routed lines or modelled minutes inside the margin: open the factor's fact.verifyUrl or check that journey on the web before calling it met; a must on a coverage gap leaves the area out (gapLeftOut). A ranked criterion an area has no data for (no crime is published for Greater Manchester) counts as half a fit and is named in that area's notScored: say so. Pass rejected areas in exclude_area_ids when refining after the user's feedback (LSOA, MSOA or local authority ids). The first tool for 'where should we live?'; query sorts by one metric only, match_areas scores a ready preference-profile.v2, search_places only turns names into ids. Answers big to small. value.levels holds up to 3 lists for the user's scope (London: boroughs, neighbourhoods, then value.areas; England: regions, local authorities, then areas). Each list ranks the whole scope at its own level and has at most 5 items. fits/total = areas in the group that meet every must within budget (share = fits/total in %). Lead with the level the user asked about, then drill down with boroughs=[id]. value.standouts names top areas inside groups that rank low: always mention one. value.nearby is one group just outside the scope that scores higher: one sentence at most. Each item's f holds facts as [value, rating 1-10 within factScope]. value.defs says once what each key counts, its unit, period, level, reference (ref, the scope median) and source. Quote a rating with its value and ref ('crime 8/10: 44 vs London 78 per 1,000'), never alone. Name a neighbourhood by near and outcode ('around Highams Park station, E4'). detail='full' adds every fact; get has the rest.
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Schema too large to show here (22,146 characters).
{
"name": "find_areas",
"title": "Find areas",
"description": "Shortlist neighbourhoods in England (London in depth) for a household: budget, bedrooms, weighted priorities (crime, station access, price level, official deprivation decile, noise, disorder, energy rating, leasehold share, good primaries) and optional stations or local authorities to live near (regions narrows to English regions, e.g. ['london']; with no regions, stations or boroughs all of England is searched). Returns areas in one order (orderedBy): tier (every must met, then unverified), budget band (within, stretch, over, unknown), then standing 0-100 (with property_type every within-budget area first); present them in that order, never by score (mapScore, the map's colour). meets ('4 of 5') and aheadBecause explain it; budgetLabel says the budget in words ('within budget' only for the type's own figure); factor values with a typed fact (quality measured, modelled, estimate or unknown; range; verifyUrl), typicalPrice (the median recent sale), estimatedPrice and budgetFit (with property_type the type's own figure, priceBasis says which; else a ballpark for the bedroom count), postcode districts and website links. A deal-breaker needs must true (a range or place without it only ranks); tier unverified (mustStatus unknown, verified false, tierReasons) marks a must on an estimate, National Rail beside the routed lines or modelled minutes inside the margin: open the factor's fact.verifyUrl or check that journey on the web before calling it met; a must on a coverage gap leaves the area out (gapLeftOut). A ranked criterion an area has no data for (no crime is published for Greater Manchester) counts as half a fit and is named in that area's notScored: say so. Pass rejected areas in exclude_area_ids when refining after the user's feedback (LSOA, MSOA or local authority ids). The first tool for 'where should we live?'; query sorts by one metric only, match_areas scores a ready preference-profile.v2, search_places only turns names into ids. Answers big to small. value.levels holds up to 3 lists for the user's scope (London: boroughs, neighbourhoods, then value.areas; England: regions, local authorities, then areas). Each list ranks the whole scope at its own level and has at most 5 items. fits/total = areas in the group that meet every must within budget (share = fits/total in %). Lead with the level the user asked about, then drill down with boroughs=[id]. value.standouts names top areas inside groups that rank low: always mention one. value.nearby is one group just outside the scope that scores higher: one sentence at most. Each item's f holds facts as [value, rating 1-10 within factScope]. value.defs says once what each key counts, its unit, period, level, reference (ref, the scope median) and source. Quote a rating with its value and ref ('crime 8/10: 44 vs London 78 per 1,000'), never alone. Name a neighbourhood by near and outcode ('around Highams Park station, E4'). detail='full' adds every fact; get has the rest.",
"inputSchema": {
"truncated": true,
"chars": 22146
},
"outputSchema": {
"type": "object",
"title": "find_areasDictOutput",
"additionalProperties": true
},
"annotations": {
"title": "Find areas",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Open a search the user shared from the Close Knit site (a link with #profile=v1., v2. or v3.): their budget, priorities, places (gym, work, schools…), liked and ruled-out areas and private notes, re-ranked now with the same shortlist as find_areas. Use it when the user pastes such a link or says 'discuss my search'.
| Parameter | Type | Description |
|---|---|---|
| link * | string | [input value] A Close Knit link the user shared (…#profile=v1.…, v2. or v3.), e.g. from 'Discuss with Claude' on the site. |
| top_n | integer | [paging] How many areas to return. |
{
"name": "open_shared_search",
"title": "Open shared search",
"description": "Open a search the user shared from the Close Knit site (a link with #profile=v1., v2. or v3.): their budget, priorities, places (gym, work, schools…), liked and ruled-out areas and private notes, re-ranked now with the same shortlist as find_areas. Use it when the user pastes such a link or says 'discuss my search'.",
"inputSchema": {
"type": "object",
"title": "open_shared_searchArguments",
"required": [
"link"
],
"properties": {
"link": {
"type": "string",
"title": "Link",
"maxLength": 8000,
"minLength": 20,
"description": "[input value] A Close Knit link the user shared (…#profile=v1.…, v2. or v3.), e.g. from 'Discuss with Claude' on the site."
},
"top_n": {
"type": "integer",
"title": "Top N",
"default": 8,
"maximum": 20,
"minimum": 1,
"description": "[paging] How many areas to return."
}
}
},
"outputSchema": {
"type": "object",
"title": "open_shared_searchDictOutput",
"additionalProperties": true
},
"annotations": {
"title": "Open shared search",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Neighbourhoods like one the user liked (crime, deprivation, income, price level and station access percentiles), optionally only cheaper ones (cheaper_by_percent lower £/m², crime no more than 10 points worse) and within max_budget for bedrooms: 'like this but cheaper / elsewhere'.
| Parameter | Type | Description |
|---|---|---|
| top_n | integer | [paging] How many areas to return. |
| area_id * | string | [id] A neighbourhood (LSOA) the user liked. |
| cheaper | boolean | [option] Only areas with a £/m² price level at least cheaper_by_percent lower, and crime no more than 10 percentile points worse. |
| bedrooms | any | [input value] Adds a ballpark price for this size. |
| max_budget | any | [filter: range] With bedrooms or property_type: only areas whose price (the type's figure, else the ballpark) is within it. |
| property_type | any | [option] The home type: estimatedPrice and the max_budget filter read the type's typical price, all sizes (the figure find_areas and get quote for it). |
| cheaper_by_percent | integer | [filter: range] With cheaper: how much lower the £/m² level is. |
{
"name": "find_similar_areas",
"title": "Find similar areas",
"description": "Neighbourhoods like one the user liked (crime, deprivation, income, price level and station access percentiles), optionally only cheaper ones (cheaper_by_percent lower £/m², crime no more than 10 points worse) and within max_budget for bedrooms: 'like this but cheaper / elsewhere'.",
"inputSchema": {
"type": "object",
"title": "find_similar_areasArguments",
"required": [
"area_id"
],
"properties": {
"top_n": {
"type": "integer",
"title": "Top N",
"default": 6,
"maximum": 10,
"minimum": 1,
"description": "[paging] How many areas to return."
},
"area_id": {
"type": "string",
"title": "Area Id",
"pattern": "^uk:lsoa:E\\d{8}$",
"description": "[id] A neighbourhood (LSOA) the user liked."
},
"cheaper": {
"type": "boolean",
"title": "Cheaper",
"default": false,
"description": "[option] Only areas with a £/m² price level at least cheaper_by_percent lower, and crime no more than 10 percentile points worse."
},
"bedrooms": {
"anyOf": [
{
"type": "integer",
"maximum": 8,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Bedrooms",
"default": null,
"description": "[input value] Adds a ballpark price for this size."
},
"max_budget": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"title": "Max Budget",
"default": null,
"description": "[filter: range] With bedrooms or property_type: only areas whose price (the type's figure, else the ballpark) is within it."
},
"property_type": {
"anyOf": [
{
"enum": [
"house",
"flat",
"detached",
"semi-detached",
"terraced"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Property Type",
"default": null,
"description": "[option] The home type: estimatedPrice and the max_budget filter read the type's typical price, all sizes (the figure find_areas and get quote for it)."
},
"cheaper_by_percent": {
"type": "integer",
"title": "Cheaper By Percent",
"default": 15,
"maximum": 60,
"minimum": 1,
"description": "[filter: range] With cheaper: how much lower the £/m² level is."
}
}
},
"outputSchema": {
"type": "object",
"title": "find_similar_areasDictOutput",
"additionalProperties": true
},
"annotations": {
"title": "Find similar areas",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Check one listing the user found against local evidence: asking price vs the same home type's recorded £/m² (with floor area or a bedroom-based ballpark) or median price, the LSOA then its MSOA (all types only as indicative-only), typicalPrice, a flood line, turnover, growth, the local authority's official HPI, costs (stamp duty on the asking price, the council tax by band), crime with its offence mix, noise, schools (state and independent counts), planning rules (home: conservation, Article 4, listed buildings), listed buildings recorded at or near the postcode (listedNearby), the IMD decile, and the questions to ask the agent (lease, service charge, EWS1, listing). Not a valuation.
| Parameter | Type | Description |
|---|---|---|
| market | string | [option] For sale or to rent. |
| tenure | string | [input value] Tenure if the listing states it; lease questions are hedged ('If leasehold') when unknown and skipped for freehold. |
| bedrooms | any | [input value] Bedrooms in the listing. |
| postcode * | string | [input value] Full postcode of the listing, e.g. W5 2NU. |
| listing_url | any | [input value] Echoed back for citation only. |
| rent_period | string | [option] The rent's period: month = £ per calendar month, week = £ per week (converted ×52/12 for the comparison). |
| asking_price * | integer | [input value] £ (buy) or the rent in its rent_period (rent). |
| property_type | any | [input value] Property type if the listing states it; used for a same-type comparison. |
| share_percent | any | [input value] Shared-ownership share for sale, e.g. 25: the asking price is compared as asking_price ÷ share against whole-home prices. Omit when the listing does not state it (the verdict stays unknown). |
| floor_area_sqm | any | [input value] Floor area in m² if the listing states it. |
| floor_area_sqft | any | [input value] Floor area in sq ft if the listing states it; converted server-side (1 sq ft = 0.092903 m²). |
{
"name": "assess_listing",
"title": "Assess listing",
"description": "Check one listing the user found against local evidence: asking price vs the same home type's recorded £/m² (with floor area or a bedroom-based ballpark) or median price, the LSOA then its MSOA (all types only as indicative-only), typicalPrice, a flood line, turnover, growth, the local authority's official HPI, costs (stamp duty on the asking price, the council tax by band), crime with its offence mix, noise, schools (state and independent counts), planning rules (home: conservation, Article 4, listed buildings), listed buildings recorded at or near the postcode (listedNearby), the IMD decile, and the questions to ask the agent (lease, service charge, EWS1, listing). Not a valuation.",
"inputSchema": {
"type": "object",
"title": "assess_listingArguments",
"required": [
"postcode",
"asking_price"
],
"properties": {
"market": {
"enum": [
"buy",
"rent"
],
"type": "string",
"title": "Market",
"default": "buy",
"description": "[option] For sale or to rent."
},
"tenure": {
"enum": [
"freehold",
"leasehold",
"share-of-freehold",
"shared-ownership",
"unknown"
],
"type": "string",
"title": "Tenure",
"default": "unknown",
"description": "[input value] Tenure if the listing states it; lease questions are hedged ('If leasehold') when unknown and skipped for freehold."
},
"bedrooms": {
"anyOf": [
{
"type": "integer",
"maximum": 8,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Bedrooms",
"default": null,
"description": "[input value] Bedrooms in the listing."
},
"postcode": {
"type": "string",
"title": "Postcode",
"pattern": "^\\s*[A-Za-z]{1,2}\\d[A-Za-z\\d]?\\s*\\d[A-Za-z]{2}\\s*$",
"description": "[input value] Full postcode of the listing, e.g. W5 2NU."
},
"listing_url": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
],
"title": "Listing Url",
"default": null,
"description": "[input value] Echoed back for citation only."
},
"rent_period": {
"enum": [
"month",
"week"
],
"type": "string",
"title": "Rent Period",
"default": "month",
"description": "[option] The rent's period: month = £ per calendar month, week = £ per week (converted ×52/12 for the comparison)."
},
"asking_price": {
"type": "integer",
"title": "Asking Price",
"description": "[input value] £ (buy) or the rent in its rent_period (rent).",
"exclusiveMinimum": 0
},
"property_type": {
"anyOf": [
{
"enum": [
"detached",
"semi-detached",
"terraced",
"flat"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Property Type",
"default": null,
"description": "[input value] Property type if the listing states it; used for a same-type comparison."
},
"share_percent": {
"anyOf": [
{
"type": "number",
"maximum": 100,
"minimum": 1
},
{
"type": "null"
}
],
"title": "Share Percent",
"default": null,
"description": "[input value] Shared-ownership share for sale, e.g. 25: the asking price is compared as asking_price ÷ share against whole-home prices. Omit when the listing does not state it (the verdict stays unknown)."
},
"floor_area_sqm": {
"anyOf": [
{
"type": "number",
"exclusiveMaximum": 2000,
"exclusiveMinimum": 5
},
{
"type": "null"
}
],
"title": "Floor Area Sqm",
"default": null,
"description": "[input value] Floor area in m² if the listing states it."
},
"floor_area_sqft": {
"anyOf": [
{
"type": "number",
"exclusiveMaximum": 22000,
"exclusiveMinimum": 50
},
{
"type": "null"
}
],
"title": "Floor Area Sqft",
"default": null,
"description": "[input value] Floor area in sq ft if the listing states it; converted server-side (1 sq ft = 0.092903 m²)."
}
}
},
"outputSchema": {
"type": "object",
"title": "assess_listingDictOutput",
"additionalProperties": true
},
"annotations": {
"title": "Assess listing",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}The map of Close Knit's data; call it first, and whenever you are unsure of a metric, path or category name. No arguments: a summary (themes with metric counts and 2-3 headline metrics, Census in one line, places in one line, the entity kinds). theme='crime' lists that theme's metrics: unit, levels, period, coverage (England or London only), better end, what each measures and is not (name the metric you use; say when it differs from the question). query='trees' finds metrics with ranked within, source, own-row levels and England and region refs, paths, place categories and brands by words. kind='place' lists place categories with counts and brands; kind='school' the school measures; kind='lsoa' (or msoa, lad, rgn, pc, uprn, sector) the sections and select paths of that kind; kind='custom' the place presets; kind='ranking' the saved rankings for query(saved:); kind='guide' the site's guide articles, read with get(ids: ['guide:crime']).
| Parameter | Type | Description |
|---|---|---|
| kind | any | [option] what to describe: metric (default), place categories, school measures, custom presets, saved rankings, guides, the guided questions, or an entity kind's sections and paths |
| page | integer | [paging] Page of a theme's metrics; next gives the following one. |
| query | any | [search: contains] Any of the words, any case, in ids, labels, categories, brands and paths |
| theme | any | [filter: exact] one theme (nature, census, ...) |
{
"name": "describe_data",
"title": "Describe data",
"description": "The map of Close Knit's data; call it first, and whenever you are unsure of a metric, path or category name. No arguments: a summary (themes with metric counts and 2-3 headline metrics, Census in one line, places in one line, the entity kinds). theme='crime' lists that theme's metrics: unit, levels, period, coverage (England or London only), better end, what each measures and is not (name the metric you use; say when it differs from the question). query='trees' finds metrics with ranked within, source, own-row levels and England and region refs, paths, place categories and brands by words. kind='place' lists place categories with counts and brands; kind='school' the school measures; kind='lsoa' (or msoa, lad, rgn, pc, uprn, sector) the sections and select paths of that kind; kind='custom' the place presets; kind='ranking' the saved rankings for query(saved:); kind='guide' the site's guide articles, read with get(ids: ['guide:crime']).",
"inputSchema": {
"type": "object",
"title": "describe_dataArguments",
"properties": {
"kind": {
"anyOf": [
{
"enum": [
"metric",
"place",
"school",
"custom",
"ranking",
"guide",
"questions",
"rgn",
"lad",
"msoa",
"lsoa",
"sector",
"pc",
"uprn"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Kind",
"default": null,
"description": "[option] what to describe: metric (default), place categories, school measures, custom presets, saved rankings, guides, the guided questions, or an entity kind's sections and paths"
},
"page": {
"type": "integer",
"title": "Page",
"default": 1,
"maximum": 100,
"minimum": 1,
"description": "[paging] Page of a theme's metrics; next gives the following one."
},
"query": {
"anyOf": [
{
"type": "string",
"maxLength": 80
},
{
"type": "null"
}
],
"title": "Query",
"default": null,
"description": "[search: contains] Any of the words, any case, in ids, labels, categories, brands and paths"
},
"theme": {
"anyOf": [
{
"type": "string",
"maxLength": 60
},
{
"type": "null"
}
],
"title": "Theme",
"default": null,
"description": "[filter: exact] one theme (nature, census, ...)"
}
}
},
"outputSchema": {
"type": "object",
"title": "describe_dataDictOutput",
"additionalProperties": true
},
"annotations": {
"title": "Describe data",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Everything about 1-10 things by typed id: uk:lsoa:E01…, uk:msoa:E02…, uk:lad:E09…, uk:rgn:E12…, sector:e17-4, pc:E17 4PP, uprn:<digits>, school:<URN>, place:osm:n123 (search_places finds ids from names), or a guide article, guide:crime, in a call of its own (describe_data(kind: 'guide') lists them): the page's text, how a figure is made and what it cannot say. No select: a summary and an index of sections. select takes plain dotted paths (safety.rate, layers.air-no2, flood, rents); an unknown path answers didYouMean and the valid paths. sections='all' gives every section's headline facts; sections=['layers'] the headline map layers (Census only with theme or query); detail='full' adds series by year. Two or more ids add a compare view: a row per fact with each id's value and who leads. An unknown id among others is its own entry in errors; the rest are answered. Each item has nav (up, inside, nearby, act) and the site page url. Figures equal the site's pages; flags as on the site.
| Parameter | Type | Description |
|---|---|---|
| ids * | array | [id] 1-10 typed ids: uk:lsoa:…, uk:msoa:…, uk:lad:…, uk:rgn:…, sector:…, pc:…, uprn:…, school:…, place:…, or guide:… in a call of their own |
| query | any | [search: contains] narrow layers to metrics with any of the words, any case |
| theme | any | [filter: exact] narrow layers to one theme (census too) |
| detail | string | [option] full adds series by year. |
| period | any | [input value] YYYY-MM for the profile section: each figure's latest on or before it. Default: this month. |
| select | any | [select fields] plain dotted paths, e.g. safety.rate, layers.air-no2 |
| sections | any | [select fields] "all" or section names |
{
"name": "get",
"title": "Get",
"description": "Everything about 1-10 things by typed id: uk:lsoa:E01…, uk:msoa:E02…, uk:lad:E09…, uk:rgn:E12…, sector:e17-4, pc:E17 4PP, uprn:<digits>, school:<URN>, place:osm:n123 (search_places finds ids from names), or a guide article, guide:crime, in a call of its own (describe_data(kind: 'guide') lists them): the page's text, how a figure is made and what it cannot say. No select: a summary and an index of sections. select takes plain dotted paths (safety.rate, layers.air-no2, flood, rents); an unknown path answers didYouMean and the valid paths. sections='all' gives every section's headline facts; sections=['layers'] the headline map layers (Census only with theme or query); detail='full' adds series by year. Two or more ids add a compare view: a row per fact with each id's value and who leads. An unknown id among others is its own entry in errors; the rest are answered. Each item has nav (up, inside, nearby, act) and the site page url. Figures equal the site's pages; flags as on the site.",
"inputSchema": {
"type": "object",
"title": "getArguments",
"required": [
"ids"
],
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
},
"title": "Ids",
"minItems": 1,
"description": "[id] 1-10 typed ids: uk:lsoa:…, uk:msoa:…, uk:lad:…, uk:rgn:…, sector:…, pc:…, uprn:…, school:…, place:…, or guide:… in a call of their own"
},
"query": {
"anyOf": [
{
"type": "string",
"maxLength": 80
},
{
"type": "null"
}
],
"title": "Query",
"default": null,
"description": "[search: contains] narrow layers to metrics with any of the words, any case"
},
"theme": {
"anyOf": [
{
"type": "string",
"maxLength": 60
},
{
"type": "null"
}
],
"title": "Theme",
"default": null,
"description": "[filter: exact] narrow layers to one theme (census too)"
},
"detail": {
"enum": [
"compact",
"full"
],
"type": "string",
"title": "Detail",
"default": "compact",
"description": "[option] full adds series by year."
},
"period": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9]{4}-(0[1-9]|1[0-2])$"
},
{
"type": "null"
}
],
"title": "Period",
"default": null,
"description": "[input value] YYYY-MM for the profile section: each figure's latest on or before it. Default: this month."
},
"select": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Select",
"default": null,
"description": "[select fields] plain dotted paths, e.g. safety.rate, layers.air-no2"
},
"sections": {
"anyOf": [
{
"type": "string",
"const": "all"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Sections",
"default": null,
"description": "[select fields] \"all\" or section names"
}
}
},
"outputSchema": {
"type": "object",
"title": "getDictOutput",
"additionalProperties": true
},
"annotations": {
"title": "Get",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Analyse many areas or schools with a JSON query (never SQL). kind='area' (default): level lsoa, msoa, lad or rgn; scope england, london, a region or typed area ids; filters by value {metric, min, max}, percentile in scope {metric, pct_min}, vs the scope's reference {metric, vs: above}, change over N years {metric, change: {years, min}}, places inside {places: {category, brand, min}} or within_m; sort by a metric, a group stat {stat: median, metric} or deviation; above the metric's carrier level rows are groups: each metric is the group's own figure (its own row where the metric holds one at the level: crime, crime-<category>, green-share, gross-yield; official where the publisher gives the council's or region's; else the weighted mean of all its areas; items[].method says which), with median, p25-p75, best tenth, count and fit share of the passing areas when asked, and group_filters filter them. defs say what each metric measures and is not, with England and region refs. kind='school' ranks schools (phase, ofsted, measure, near). saved='metric:<id>' or 'custom:<preset>' runs a named ranking (describe_data(kind: 'ranking')). Pages of 10 (next.release flags moved rows) and a CSV download link. A London-only metric with an England scope is the coverage error with a hint; people metrics (Census) are never filtered or ranked.
| Parameter | Type | Description |
|---|---|---|
| kind | string | [option] What the rows are. |
| page | integer | [paging] Page; next gives the following one. |
| sort | any | [sort] {metric, dir?} | {stat, metric, dir?} | {deviation: metric, dir?} | {standing: [metrics], dir?}. Default: the first filter's metric, better end first. One key: a list sorts by its first entry, the rest named in caveats. |
| level | any | [option] Row level. Above the metrics' carrier, rows are groups: each metric is the group's own figure (official, else the weighted mean of all its rows; defs and items[].method say which), with fit counts, the best row and stats of the passing rows when asked. |
| saved | any | [id] A named query: metric:<id>, custom:<preset>, lens:<preset>, school:<axis>; the other params refine it. |
| scope | any | [scope] england | london | a region name | a typed area id | a list of up to 10 ids. Where rows come from, the reference and the ranking population. Default: what the service covers. |
| fields | any | [select fields] Facts per row: metric ids, or group stats {stat, metric}. Default: the filter and sort metrics. |
| period | any | [filter: exact] YYYY-MM; default each metric's latest. |
| filters | any | [filter: range] Row conditions, ANDed: {metric, min?, max?} | {metric, pct_min?, pct_max?} | {metric, vs: above|below, ref?: scope|london|england, by?} | {metric, change: {years, min?, max?, unit?: abs|pct}} | {places: {category?, brand?, min?, max?, within_m?}} | {in: [ids]} | {not_in: [ids]} | {cu… |
| release | any | [paging] From next.release: a caveat says if rows moved between pages. |
| page_size | integer | [paging] Rows per page, at most 50 (limit reads as page_size). |
| standouts | any | [option] Groups: up to 3 best rows from groups not on the page. |
| group_filters | any | [filter: range] Group conditions (HAVING): {stat: value|median|mean|p25|p75|best10|count|fit_share, metric?, min?, max?}; value is the group's own figure. |
{
"name": "query",
"title": "Query",
"description": "Analyse many areas or schools with a JSON query (never SQL). kind='area' (default): level lsoa, msoa, lad or rgn; scope england, london, a region or typed area ids; filters by value {metric, min, max}, percentile in scope {metric, pct_min}, vs the scope's reference {metric, vs: above}, change over N years {metric, change: {years, min}}, places inside {places: {category, brand, min}} or within_m; sort by a metric, a group stat {stat: median, metric} or deviation; above the metric's carrier level rows are groups: each metric is the group's own figure (its own row where the metric holds one at the level: crime, crime-<category>, green-share, gross-yield; official where the publisher gives the council's or region's; else the weighted mean of all its areas; items[].method says which), with median, p25-p75, best tenth, count and fit share of the passing areas when asked, and group_filters filter them. defs say what each metric measures and is not, with England and region refs. kind='school' ranks schools (phase, ofsted, measure, near). saved='metric:<id>' or 'custom:<preset>' runs a named ranking (describe_data(kind: 'ranking')). Pages of 10 (next.release flags moved rows) and a CSV download link. A London-only metric with an England scope is the coverage error with a hint; people metrics (Census) are never filtered or ranked.",
"inputSchema": {
"type": "object",
"title": "queryArguments",
"properties": {
"kind": {
"enum": [
"area",
"school"
],
"type": "string",
"title": "Kind",
"default": "area",
"description": "[option] What the rows are."
},
"page": {
"type": "integer",
"title": "Page",
"default": 1,
"maximum": 4000,
"minimum": 1,
"description": "[paging] Page; next gives the following one."
},
"sort": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Sort",
"default": null,
"description": "[sort] {metric, dir?} | {stat, metric, dir?} | {deviation: metric, dir?} | {standing: [metrics], dir?}. Default: the first filter's metric, better end first. One key: a list sorts by its first entry, the rest named in caveats."
},
"level": {
"anyOf": [
{
"enum": [
"lsoa",
"msoa",
"lad",
"borough",
"rgn"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Level",
"default": null,
"description": "[option] Row level. Above the metrics' carrier, rows are groups: each metric is the group's own figure (official, else the weighted mean of all its rows; defs and items[].method say which), with fit counts, the best row and stats of the passing rows when asked."
},
"saved": {
"anyOf": [
{
"type": "string",
"maxLength": 80
},
{
"type": "null"
}
],
"title": "Saved",
"default": null,
"description": "[id] A named query: metric:<id>, custom:<preset>, lens:<preset>, school:<axis>; the other params refine it."
},
"scope": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Scope",
"default": null,
"description": "[scope] england | london | a region name | a typed area id | a list of up to 10 ids. Where rows come from, the reference and the ranking population. Default: what the service covers."
},
"fields": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"additionalProperties": true
}
]
},
"maxItems": 12
},
{
"type": "null"
}
],
"title": "Fields",
"default": null,
"description": "[select fields] Facts per row: metric ids, or group stats {stat, metric}. Default: the filter and sort metrics."
},
"period": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}$"
},
{
"type": "null"
}
],
"title": "Period",
"default": null,
"description": "[filter: exact] YYYY-MM; default each metric's latest."
},
"filters": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"maxItems": 12
},
{
"type": "null"
}
],
"title": "Filters",
"default": null,
"description": "[filter: range] Row conditions, ANDed: {metric, min?, max?} | {metric, pct_min?, pct_max?} | {metric, vs: above|below, ref?: scope|london|england, by?} | {metric, change: {years, min?, max?, unit?: abs|pct}} | {places: {category?, brand?, min?, max?, within_m?}} | {in: [ids]} | {not_in: [ids]} | {custom, min?, max?}. Schools: {phase} | {ofsted: [grades]} | {measure, min?, max?} | {near, within_m?}."
},
"release": {
"anyOf": [
{
"type": "string",
"maxLength": 80
},
{
"type": "null"
}
],
"title": "Release",
"default": null,
"description": "[paging] From next.release: a caveat says if rows moved between pages."
},
"page_size": {
"type": "integer",
"title": "Page Size",
"default": 10,
"minimum": 1,
"description": "[paging] Rows per page, at most 50 (limit reads as page_size)."
},
"standouts": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Standouts",
"default": null,
"description": "[option] Groups: up to 3 best rows from groups not on the page."
},
"group_filters": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"maxItems": 6
},
{
"type": "null"
}
],
"title": "Group Filters",
"default": null,
"description": "[filter: range] Group conditions (HAVING): {stat: value|median|mean|p25|p75|best10|count|fit_share, metric?, min?, max?}; value is the group's own figure."
}
}
},
"outputSchema": {
"type": "object",
"title": "queryDictOutput",
"additionalProperties": true
},
"annotations": {
"title": "Query",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}The places themselves (2.58 m: shops, gyms, cafes, parks, pubs, GPs, ... in 234 categories) near a typed id or {lat, lon} (radius_m 100-3000) or inside an area, by category (describe_data(kind: 'place') lists them) and brand (PureGym, Waitrose). Each: name, category, brand, metres, walk minutes (straight line, an estimate), its LSOA and sources. ODbL attribution; the full places.csv download link. Places of worship are never listed.
| Parameter | Type | Description |
|---|---|---|
| area | any | [scope] Places inside this area's shape: a typed area id. |
| near | any | [scope] Distance from this: a typed id (uk:lsoa:…, uk:msoa:…, uk:lad:…, pc:…, uprn:…, school:…, place:…) or {lat, lon} from search_places. One of near or area. |
| page | integer | [paging] Page; next gives the following one. |
| brand | any | [filter: exact] A brand, any case, e.g. PureGym, Waitrose. |
| category | any | [filter: exact] A place category key from describe_data(kind: 'place'), exact case, e.g. fitness_centre (or gym), cafe, pub. |
| radius_m | integer | [scope] With near: metres, 100-3000. |
| page_size | integer | [paging] Places per page, at most 50. |
{
"name": "get_places",
"title": "Get places",
"description": "The places themselves (2.58 m: shops, gyms, cafes, parks, pubs, GPs, ... in 234 categories) near a typed id or {lat, lon} (radius_m 100-3000) or inside an area, by category (describe_data(kind: 'place') lists them) and brand (PureGym, Waitrose). Each: name, category, brand, metres, walk minutes (straight line, an estimate), its LSOA and sources. ODbL attribution; the full places.csv download link. Places of worship are never listed.",
"inputSchema": {
"type": "object",
"title": "get_placesArguments",
"properties": {
"area": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Area",
"default": null,
"description": "[scope] Places inside this area's shape: a typed area id."
},
"near": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Near",
"default": null,
"description": "[scope] Distance from this: a typed id (uk:lsoa:…, uk:msoa:…, uk:lad:…, pc:…, uprn:…, school:…, place:…) or {lat, lon} from search_places. One of near or area."
},
"page": {
"type": "integer",
"title": "Page",
"default": 1,
"maximum": 1000,
"minimum": 1,
"description": "[paging] Page; next gives the following one."
},
"brand": {
"anyOf": [
{
"type": "string",
"maxLength": 60
},
{
"type": "null"
}
],
"title": "Brand",
"default": null,
"description": "[filter: exact] A brand, any case, e.g. PureGym, Waitrose."
},
"category": {
"anyOf": [
{
"type": "string",
"maxLength": 60
},
{
"type": "null"
}
],
"title": "Category",
"default": null,
"description": "[filter: exact] A place category key from describe_data(kind: 'place'), exact case, e.g. fitness_centre (or gym), cafe, pub."
},
"radius_m": {
"type": "integer",
"title": "Radius M",
"default": 1000,
"maximum": 3000,
"minimum": 100,
"description": "[scope] With near: metres, 100-3000."
},
"page_size": {
"type": "integer",
"title": "Page Size",
"default": 10,
"minimum": 1,
"description": "[paging] Places per page, at most 50."
}
}
},
"outputSchema": {
"type": "object",
"title": "get_placesDictOutput",
"additionalProperties": true
},
"annotations": {
"title": "Get places",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}For deep research: areas, postcodes, schools, stations and parks (as their area) and guide articles by words; results [{id, title, url}], read one with fetch. In chat prefer find_areas, search_places, get, query.
| Parameter | Type | Description |
|---|---|---|
| query * | string | [search: contains] place names, a postcode or topic words, e.g. 'Kentish Town crime' |
{
"name": "search",
"title": "Search",
"description": "For deep research: areas, postcodes, schools, stations and parks (as their area) and guide articles by words; results [{id, title, url}], read one with fetch. In chat prefer find_areas, search_places, get, query.",
"inputSchema": {
"type": "object",
"title": "searchArguments",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"title": "Query",
"maxLength": 200,
"minLength": 1,
"description": "[search: contains] place names, a postcode or topic words, e.g. 'Kentish Town crime'"
}
}
},
"outputSchema": {
"type": "object",
"title": "searchDictOutput",
"additionalProperties": true
},
"annotations": {
"title": "Search",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}For deep research: one search result by id as text with its page url to cite (an area: every section's headline facts, caveats, sources; a guide: its article). In chat prefer get.
| Parameter | Type | Description |
|---|---|---|
| id * | string | [id] an id from search results: uk:lsoa:…, uk:msoa:…, uk:lad:…, pc:…, school:…, guide:crime |
{
"name": "fetch",
"title": "Fetch",
"description": "For deep research: one search result by id as text with its page url to cite (an area: every section's headline facts, caveats, sources; a guide: its article). In chat prefer get.",
"inputSchema": {
"type": "object",
"title": "fetchArguments",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"title": "Id",
"maxLength": 200,
"minLength": 1,
"description": "[id] an id from search results: uk:lsoa:…, uk:msoa:…, uk:lad:…, pc:…, school:…, guide:crime"
}
}
},
"outputSchema": {
"type": "object",
"title": "fetchDictOutput",
"additionalProperties": true
},
"annotations": {
"title": "Fetch",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Score every area against a household's ordered criteria (preference-profile.v2: budget, ranges on any map layer, places, where zones, own criteria; must = filter). Returns a match-pack.v2 with the best top_n (default 20, max 100) areas as a list with score, rank and percentile per area, its top 2 reasons and 2 weakest criteria, the bottom 10, and per-criterion components (value, fit, in/edge/out) as evidence for the listed areas only. Whole-coverage counts (scored, unscored, excluded, and excludedBy per unmet must) cover every area; mapUrl opens the full map for the search. Set analyticsConsent true only if the user agreed to store an anonymised profile summary; the tool works identically with false. Takes a ready profile (built by you or exported from the site); for a conversational home search use find_areas, which builds the profile from plain answers and adds ballpark prices.
| Parameter | Type | Description |
|---|---|---|
| top_n | integer | [paging] How many of the best-scored areas to list (1-100). values is that top-N list, not the whole map; scored, unscored, excluded and excludedBy count every area Close Knit covers. For the whole map use mapUrl. |
| profile * | object | [input value] preference-profile.v2 (preferred): {schemaVersion: 'preference-profile.v2', market buy|rent, targetBudget, maximumBudget, bedrooms, criteria: [...]} where criteria is ORDERED, most important first, each one of {kind: budget, must} (fit 1 at or under targetBudget, 0 at maximumBudget; mu… |
{
"name": "match_areas",
"title": "Match areas",
"description": "Score every area against a household's ordered criteria (preference-profile.v2: budget, ranges on any map layer, places, where zones, own criteria; must = filter). Returns a match-pack.v2 with the best top_n (default 20, max 100) areas as a list with score, rank and percentile per area, its top 2 reasons and 2 weakest criteria, the bottom 10, and per-criterion components (value, fit, in/edge/out) as evidence for the listed areas only. Whole-coverage counts (scored, unscored, excluded, and excludedBy per unmet must) cover every area; mapUrl opens the full map for the search. Set analyticsConsent true only if the user agreed to store an anonymised profile summary; the tool works identically with false. Takes a ready profile (built by you or exported from the site); for a conversational home search use find_areas, which builds the profile from plain answers and adds ballpark prices.",
"inputSchema": {
"type": "object",
"title": "match_areasArguments",
"required": [
"profile"
],
"properties": {
"top_n": {
"type": "integer",
"title": "Top N",
"default": 20,
"maximum": 100,
"minimum": 1,
"description": "[paging] How many of the best-scored areas to list (1-100). values is that top-N list, not the whole map; scored, unscored, excluded and excludedBy count every area Close Knit covers. For the whole map use mapUrl."
},
"profile": {
"type": "object",
"title": "Profile",
"description": "[input value] preference-profile.v2 (preferred): {schemaVersion: 'preference-profile.v2', market buy|rent, targetBudget, maximumBudget, bedrooms, criteria: [...]} where criteria is ORDERED, most important first, each one of {kind: budget, must} (fit 1 at or under targetBudget, 0 at maximumBudget; must = within maximumBudget) | {kind: range, layer (a map layer id from describe_data, e.g. crime, noise, air-no2, station-access, price-per-square-metre, or disorder, epc-share, leasehold-share; schools are a place, not a range), scale value|percentile (percentile = percentile 0-100 of the value within the area's region, London's areas among London's, lowest first), min, max, softMin, softMax, must} | {kind: place, id, label, target, mode, targetMinutes, softMinutes, must} | {kind: where, zones (1-3: {kind: station, stationId, maxWalkMinutes 5-30} | {kind: borough, id} | {kind: lsoas, ids <= 50} | {kind: polygon, points}), softMetres (default 1000), must} | {kind: custom, criterion, direction, must}. A must criterion is a filter with no weight; the others weigh by their place in the list. preference-profile.v1 (factors with weights 0-5) is still accepted and migrated (weight order, Must kept).",
"additionalProperties": true
}
}
},
"outputSchema": {
"type": "object",
"title": "match_areasDictOutput",
"additionalProperties": true
},
"annotations": {
"title": "Match areas",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Resolve a place the user mentions (station, borough, neighbourhood, postcode, street) to ids. Station lookup forgives spelling (Kings Cross, St James Park, Elephant and Castle) and knows London codes and nicknames (KX, TCR, LST, E&C, ally pally). Returns stations (osm:…, with TfL modes, lines and zone; twin stations such as Hammersmith are listed apart) for find_areas.near_stations, local authorities (uk:lad:…; London's boroughs) for find_areas.boroughs, areas (with ladId) and addresses for get (typed ids: uk:lsoa:…, pc:…, uprn:…) and assess_listing, and venues (a pool, gym or sports centre by name, with latitude/longitude to pin as a place). best is the likeliest meaning: a venue named exactly so, then a town, city or council named exactly so above a stop that only shares the name; 'Liverpool St' is the station. A street found only outside the town typed gives best null, reason town-mismatch and candidates with their towns: ask which. query is an alias of q.
| Parameter | Type | Description |
|---|---|---|
| q | any | [search: contains] Any case: a station, borough, neighbourhood, street or venue (a pool, gym, sports centre). A full postcode matches exactly. |
| limit | integer | [paging] Results per kind. |
| query | any | [search: contains] Alias of q. |
{
"name": "search_places",
"title": "Search places",
"description": "Resolve a place the user mentions (station, borough, neighbourhood, postcode, street) to ids. Station lookup forgives spelling (Kings Cross, St James Park, Elephant and Castle) and knows London codes and nicknames (KX, TCR, LST, E&C, ally pally). Returns stations (osm:…, with TfL modes, lines and zone; twin stations such as Hammersmith are listed apart) for find_areas.near_stations, local authorities (uk:lad:…; London's boroughs) for find_areas.boroughs, areas (with ladId) and addresses for get (typed ids: uk:lsoa:…, pc:…, uprn:…) and assess_listing, and venues (a pool, gym or sports centre by name, with latitude/longitude to pin as a place). best is the likeliest meaning: a venue named exactly so, then a town, city or council named exactly so above a stop that only shares the name; 'Liverpool St' is the station. A street found only outside the town typed gives best null, reason town-mismatch and candidates with their towns: ask which. query is an alias of q.",
"inputSchema": {
"type": "object",
"title": "search_placesArguments",
"properties": {
"q": {
"anyOf": [
{
"type": "string",
"maxLength": 120,
"minLength": 2
},
{
"type": "null"
}
],
"title": "Q",
"default": null,
"description": "[search: contains] Any case: a station, borough, neighbourhood, street or venue (a pool, gym, sports centre). A full postcode matches exactly."
},
"limit": {
"type": "integer",
"title": "Limit",
"default": 5,
"maximum": 10,
"minimum": 1,
"description": "[paging] Results per kind."
},
"query": {
"anyOf": [
{
"type": "string",
"maxLength": 120,
"minLength": 2
},
{
"type": "null"
}
],
"title": "Query",
"default": null,
"description": "[search: contains] Alias of q."
}
}
},
"outputSchema": {
"type": "object",
"title": "search_placesDictOutput",
"additionalProperties": true
},
"annotations": {
"title": "Search places",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Door-to-door minutes from one neighbourhood to the user's places on a weekday morning, by public transport (R5 on TfL timetables), bike (at the speed Santander Cycles riders reach; checked against TfL), car (typical morning traffic, no parking) and walking, each with a range. Places within 1.5 km of a commute hub (King's Cross, Bank, Canary Wharf, Oxford Circus…) are routed through it; others in Greater London get a straight-line estimate (estimate: true); places outside Greater London, and every place from a neighbourhood outside London (the routing is London only), get straight-line estimates in every mode, long trips at a main-line speed (estimate: true, reason 'outside-routing'). A neighbourhood served by National Rail only also gets a rail estimate (modes.rail, estimate: true). Example routes start at the neighbourhood's MSOA centre (origin); one far from the headline minutes is representative: false and lists its lines only. Journeys over 120 minutes are not timed (minutes null, capped: true). A place takes latitude/longitude or center [longitude, latitude] from search_places; quote estimate minutes as estimates. Each mode's confidence: 'timetable' (TfL), 'routed' (London streets) or 'approximate' (straight-line estimates). googleMapsUrl opens Google Maps' own route for the user to check: its time, leaving now, not ours.
| Parameter | Type | Description |
|---|---|---|
| places * | array | [input value] Pinned places to reach: latitude/longitude, or center [longitude, latitude] from search_places. |
| area_id * | string | [id] The neighbourhood (LSOA) to travel from. |
{
"name": "get_commute",
"title": "Get commute",
"description": "Door-to-door minutes from one neighbourhood to the user's places on a weekday morning, by public transport (R5 on TfL timetables), bike (at the speed Santander Cycles riders reach; checked against TfL), car (typical morning traffic, no parking) and walking, each with a range. Places within 1.5 km of a commute hub (King's Cross, Bank, Canary Wharf, Oxford Circus…) are routed through it; others in Greater London get a straight-line estimate (estimate: true); places outside Greater London, and every place from a neighbourhood outside London (the routing is London only), get straight-line estimates in every mode, long trips at a main-line speed (estimate: true, reason 'outside-routing'). A neighbourhood served by National Rail only also gets a rail estimate (modes.rail, estimate: true). Example routes start at the neighbourhood's MSOA centre (origin); one far from the headline minutes is representative: false and lists its lines only. Journeys over 120 minutes are not timed (minutes null, capped: true). A place takes latitude/longitude or center [longitude, latitude] from search_places; quote estimate minutes as estimates. Each mode's confidence: 'timetable' (TfL), 'routed' (London streets) or 'approximate' (straight-line estimates). googleMapsUrl opens Google Maps' own route for the user to check: its time, leaving now, not ours.",
"inputSchema": {
"type": "object",
"$defs": {
"PlaceInput": {
"type": "object",
"title": "PlaceInput",
"required": [
"label"
],
"properties": {
"mode": {
"anyOf": [
{
"enum": [
"walk",
"cycle",
"transit",
"car"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Mode",
"default": null,
"description": "[option] How they get there (default transit for a pin, walk for a kind). car = typical weekday-morning traffic, no parking or charges: say so."
},
"must": {
"type": "boolean",
"title": "Must",
"default": false,
"description": "[option] True when an area beyond max_minutes is out of the question."
},
"brand": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
],
"title": "Brand",
"default": null,
"description": "[search: prefix] With a category: brands starting with this, any case, e.g. 'M&S', 'Waitrose' (supermarket), 'PureGym' (gym); 'A or B' for either."
},
"label": {
"type": "string",
"title": "Label",
"maxLength": 60,
"minLength": 1,
"description": "[input value] What the place is, e.g. 'Office', 'PureGym Angel', 'Any park' (name reads as label, lat/lng as latitude/longitude)."
},
"sport": {
"anyOf": [
{
"type": "string",
"maxLength": 30
},
{
"type": "null"
}
],
"title": "Sport",
"default": null,
"description": "[search: contains] With sports_club: the sport, e.g. 'tennis', 'football'."
},
"any_of": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AnyOfPointInput"
},
"maxItems": 3,
"minItems": 2
},
{
"type": "null"
}
],
"title": "Any Of",
"default": null,
"description": "[input value] Near either of 2-3 pinned points ('either pool', 'either office'): each area counts the quickest one."
},
"center": {
"anyOf": [
{
"type": "array",
"items": {
"type": "number"
},
"maxItems": 2,
"minItems": 2
},
{
"type": "null"
}
],
"title": "Center",
"default": null,
"description": "[input value] Instead of latitude/longitude: [longitude, latitude], the `center` search_places returns."
},
"school": {
"anyOf": [
{
"$ref": "#/$defs/SchoolPlaceInput"
},
{
"type": "null"
}
],
"default": null,
"description": "[filter: exact] Instead of top_school: the nearest school matching a filter (phase, Ofsted, type, intake, faith, one results measure ≥ a threshold), optionally within N metres; max_minutes still sets the trip."
},
"category": {
"anyOf": [
{
"enum": [
"park",
"cafe",
"supermarket",
"convenience",
"gp",
"pharmacy",
"pub",
"restaurant",
"gym",
"pool",
"sports_club",
"step_free_station"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Category",
"default": null,
"description": "[filter: exact] Instead of a point: the nearest place of this kind (pool = public pool; step_free_station = a station TfL lists with lift access, or any DLR station or tram stop)."
},
"latitude": {
"anyOf": [
{
"type": "number",
"maximum": 90,
"minimum": -90
},
{
"type": "null"
}
],
"title": "Latitude",
"default": null,
"description": "[input value] A pinned place: its latitude (from search_places). For an address, `center` is its area's centre unless `centerPrecision` is `uprn`; never pin an LSOA centroid as the home."
},
"longitude": {
"anyOf": [
{
"type": "number",
"maximum": 180,
"minimum": -180
},
{
"type": "null"
}
],
"title": "Longitude",
"default": null,
"description": "[input value] A pinned place: its longitude."
},
"importance": {
"type": "integer",
"title": "Importance",
"default": 3,
"maximum": 5,
"minimum": 1,
"description": "[rank weight] 1 nice to have … 5 essential. A daily trip (work, the school run) goes right after their top priority, never last: lower in the order its weight is small."
},
"top_school": {
"anyOf": [
{
"type": "integer",
"maximum": 200,
"minimum": 1
},
{
"type": "null"
}
],
"title": "Top School",
"default": null,
"description": "[input value] Instead of a point or category: near one of the region's top N state schools (by published results), e.g. 10. Top lists hold grammars and single-sex schools; a family starts with good-primaries. Living nearby never guarantees a place: say so."
},
"max_minutes": {
"type": "integer",
"title": "Max Minutes",
"default": 30,
"maximum": 120,
"minimum": 1,
"description": "[rank weight] The longest trip they accept."
},
"school_phase": {
"enum": [
"primary",
"secondary"
],
"type": "string",
"title": "School Phase",
"default": "secondary",
"description": "[filter: exact] With top_school."
},
"school_gender": {
"anyOf": [
{
"enum": [
"mixed",
"girls",
"boys"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "School Gender",
"default": null,
"description": "[filter: exact] With top_school: only this intake."
},
"school_rank_by": {
"enum": [
"results",
"progress8"
],
"type": "string",
"title": "School Rank By",
"default": "results",
"description": "[option] With top_school: rank by published results (default) or by Progress 8 (secondary only: progress pupils make from their primary results, latest published year 2023/24)."
},
"school_selective": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "School Selective",
"default": null,
"description": "[filter: exact] With top_school: false leaves grammars out, true keeps only them; N counts those."
}
},
"additionalProperties": false
},
"AnyOfPointInput": {
"type": "object",
"title": "AnyOfPointInput",
"required": [
"latitude",
"longitude"
],
"properties": {
"label": {
"anyOf": [
{
"type": "string",
"maxLength": 60
},
{
"type": "null"
}
],
"title": "Label",
"default": null,
"description": "[input value] What the point is, e.g. 'Crystal Palace NSC'."
},
"latitude": {
"type": "number",
"title": "Latitude",
"maximum": 90,
"minimum": -90,
"description": "[input value] The point's latitude (from search_places)."
},
"longitude": {
"type": "number",
"title": "Longitude",
"maximum": 180,
"minimum": -180,
"description": "[input value] The point's longitude."
}
},
"additionalProperties": false
},
"SchoolPlaceInput": {
"type": "object",
"title": "SchoolPlaceInput",
"required": [
"filter"
],
"properties": {
"filter": {
"$ref": "#/$defs/SchoolFilterInput",
"description": "[filter: exact] Which schools count (the same filter as the map's Schools filter)."
},
"within": {
"anyOf": [
{
"type": "integer",
"maximum": 10000,
"minimum": 100
},
{
"type": "null"
}
],
"title": "Within",
"default": null,
"description": "[filter: range] Metres: only a matching school this close counts (straight line); beyond it the area has none."
}
},
"additionalProperties": false
},
"SchoolFilterInput": {
"type": "object",
"title": "SchoolFilterInput",
"properties": {
"faith": {
"anyOf": [
{
"enum": [
"faith",
"none"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Faith",
"default": null,
"description": "[filter: exact] Faith school or not (absent = any)."
},
"gender": {
"anyOf": [
{
"enum": [
"mixed",
"girls",
"boys"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Gender",
"default": null,
"description": "[filter: exact] Intake (absent = any)."
},
"ofsted": {
"anyOf": [
{
"type": "array",
"items": {
"enum": [
"outstanding",
"good",
"report-card",
"requires-improvement",
"inadequate",
"not-inspected"
],
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Ofsted",
"default": null,
"description": "[filter: exact] Ofsted standing kept, state schools only (absent = any)."
},
"phases": {
"anyOf": [
{
"type": "array",
"items": {
"enum": [
"primary",
"secondary",
"all-through",
"private"
],
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Phases",
"default": null,
"description": "[filter: exact] Phases kept (absent = all)."
},
"measure": {
"anyOf": [
{
"$ref": "#/$defs/SchoolMeasureInput"
},
{
"type": "null"
}
],
"default": null,
"description": "[filter: range] One results measure and its threshold."
},
"a_level_only": {
"type": "boolean",
"title": "A Level Only",
"default": false,
"description": "[filter: exact] Only sixth forms with a combined A-level rank."
},
"establishments": {
"anyOf": [
{
"type": "array",
"items": {
"enum": [
"academy",
"free",
"community",
"voluntary",
"foundation"
],
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Establishments",
"default": null,
"description": "[filter: exact] Type of establishment (absent = any)."
}
},
"additionalProperties": false
},
"SchoolMeasureInput": {
"type": "object",
"title": "SchoolMeasureInput",
"required": [
"id",
"threshold"
],
"properties": {
"id": {
"enum": [
"englandTopPercent",
"progress8",
"attainment8",
"grade5EngMaths",
"ks2RwmExpected",
"fsm6Share"
],
"type": "string",
"title": "Id",
"description": "[id] englandTopPercent = England top % (lower is better: at most the threshold); progress8, attainment8, grade5EngMaths (%), ks2RwmExpected (%) = at least the threshold; fsm6Share = free school meals % (at most). Latest published year per school; cohorts under 30 and suppressed cells have no value and never pass."
},
"threshold": {
"type": "number",
"title": "Threshold",
"description": "[filter: range] The threshold in the measure's own unit, e.g. 75 for KS2 RWM 75%."
}
},
"additionalProperties": false
}
},
"title": "get_commuteArguments",
"required": [
"area_id",
"places"
],
"properties": {
"places": {
"type": "array",
"items": {
"$ref": "#/$defs/PlaceInput"
},
"title": "Places",
"maxItems": 8,
"minItems": 1,
"description": "[input value] Pinned places to reach: latitude/longitude, or center [longitude, latitude] from search_places."
},
"area_id": {
"type": "string",
"title": "Area Id",
"pattern": "^uk:lsoa:E\\d{8}$",
"description": "[id] The neighbourhood (LSOA) to travel from."
}
}
},
"outputSchema": {
"type": "object",
"title": "get_commuteDictOutput",
"additionalProperties": true
},
"annotations": {
"title": "Get commute",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Pre-filtered searches on Rightmove, Zoopla, OnTheMarket (and OpenRent for rentals) for the postcode districts of shortlisted areas, filtered by bedrooms, price and property_type (house, flat, bungalow). Links only: open them on the user's behalf to read listings; Close Knit itself never fetches or stores listings.
| Parameter | Type | Description |
|---|---|---|
| market | string | [option] Buying or renting. |
| area_ids * | array | [id] LSOA ids from find_areas. |
| max_price * | integer | [input value] £ (buy) or £ per month (rent). |
| min_bedrooms | integer | [input value] Minimum bedrooms. |
| property_type | string | [option] Home type for the portal filters (house, flat, bungalow or any). |
| outcodes_per_area | integer | [paging] Postcode districts per area (busiest first). |
{
"name": "get_listing_search_links",
"title": "Get listing search links",
"description": "Pre-filtered searches on Rightmove, Zoopla, OnTheMarket (and OpenRent for rentals) for the postcode districts of shortlisted areas, filtered by bedrooms, price and property_type (house, flat, bungalow). Links only: open them on the user's behalf to read listings; Close Knit itself never fetches or stores listings.",
"inputSchema": {
"type": "object",
"title": "get_listing_search_linksArguments",
"required": [
"area_ids",
"max_price"
],
"properties": {
"market": {
"enum": [
"buy",
"rent"
],
"type": "string",
"title": "Market",
"default": "buy",
"description": "[option] Buying or renting."
},
"area_ids": {
"type": "array",
"items": {
"type": "string"
},
"title": "Area Ids",
"maxItems": 10,
"minItems": 1,
"description": "[id] LSOA ids from find_areas."
},
"max_price": {
"type": "integer",
"title": "Max Price",
"description": "[input value] £ (buy) or £ per month (rent).",
"exclusiveMinimum": 0
},
"min_bedrooms": {
"type": "integer",
"title": "Min Bedrooms",
"default": 0,
"maximum": 8,
"minimum": 0,
"description": "[input value] Minimum bedrooms."
},
"property_type": {
"enum": [
"house",
"flat",
"bungalow",
"any"
],
"type": "string",
"title": "Property Type",
"default": "any",
"description": "[option] Home type for the portal filters (house, flat, bungalow or any)."
},
"outcodes_per_area": {
"type": "integer",
"title": "Outcodes Per Area",
"default": 1,
"maximum": 3,
"minimum": 1,
"description": "[paging] Postcode districts per area (busiest first)."
}
}
},
"outputSchema": {
"type": "object",
"title": "get_listing_search_linksDictOutput",
"additionalProperties": true
},
"annotations": {
"title": "Get listing search links",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Turn a finished search into a watch: portal searches per postcode district, filters, a state file path for de-duplication and a ready prompt for a scheduled task in the user's Claude that reports only new listings. Stateless: nothing is stored on Close Knit.
| Parameter | Type | Description |
|---|---|---|
| name * | string | [input value] Short name, e.g. 'Ealing 2-bed'. |
| market | string | [option] Homes for sale (buy) or to let (rent). |
| area_ids * | array | [id] LSOA ids to watch. |
| frequency | string | [option] How often the scheduled check runs. |
| max_price * | integer | [input value] £ (buy) or £ per month (rent). |
| must_haves | string | [input value] Free-text requirements the agent checks per listing (a list is joined with '; '). |
| min_bedrooms | integer | [input value] Fewest bedrooms (0 = studio or any). |
| property_type | string | [option] Home type for the portal filters (house, flat, bungalow or any). |
{
"name": "build_watch_spec",
"title": "Build watch spec",
"description": "Turn a finished search into a watch: portal searches per postcode district, filters, a state file path for de-duplication and a ready prompt for a scheduled task in the user's Claude that reports only new listings. Stateless: nothing is stored on Close Knit.",
"inputSchema": {
"type": "object",
"title": "build_watch_specArguments",
"required": [
"name",
"area_ids",
"max_price"
],
"properties": {
"name": {
"type": "string",
"title": "Name",
"maxLength": 60,
"minLength": 2,
"description": "[input value] Short name, e.g. 'Ealing 2-bed'."
},
"market": {
"enum": [
"buy",
"rent"
],
"type": "string",
"title": "Market",
"default": "buy",
"description": "[option] Homes for sale (buy) or to let (rent)."
},
"area_ids": {
"type": "array",
"items": {
"type": "string"
},
"title": "Area Ids",
"maxItems": 10,
"minItems": 1,
"description": "[id] LSOA ids to watch."
},
"frequency": {
"enum": [
"daily",
"weekly"
],
"type": "string",
"title": "Frequency",
"default": "daily",
"description": "[option] How often the scheduled check runs."
},
"max_price": {
"type": "integer",
"title": "Max Price",
"description": "[input value] £ (buy) or £ per month (rent).",
"exclusiveMinimum": 0
},
"must_haves": {
"type": "string",
"title": "Must Haves",
"default": "",
"maxLength": 500,
"description": "[input value] Free-text requirements the agent checks per listing (a list is joined with '; ')."
},
"min_bedrooms": {
"type": "integer",
"title": "Min Bedrooms",
"default": 0,
"maximum": 8,
"minimum": 0,
"description": "[input value] Fewest bedrooms (0 = studio or any)."
},
"property_type": {
"enum": [
"house",
"flat",
"bungalow",
"any"
],
"type": "string",
"title": "Property Type",
"default": "any",
"description": "[option] Home type for the portal filters (house, flat, bungalow or any)."
}
}
},
"outputSchema": {
"type": "object",
"title": "build_watch_specDictOutput",
"additionalProperties": true
},
"annotations": {
"title": "Build watch spec",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Rent prices in an area by bedrooms or home type (ONS Price Index of Private Rents, borough-wide): the average, London's, the trend and 24 months, rights on a rise (gov.uk), a page link. With current_rent: against the average; with current_since: indexedRent and a verdict on proposed_rent; levers, talking points, and links.report (the page with the tenant's figures, to send the landlord). Never one home's market rent.
| Parameter | Type | Description |
|---|---|---|
| bedrooms | any | [input value] 0 reads the 1-bed figures. |
| postcode * | string | [input value] Full postcode in England. |
| comparables | array | [input value] Listings the tenant found. |
| rent_period | string | [option] Period of the rents. |
| current_rent | any | [input value] The tenant's rent; omit for the area only. |
| current_since | any | [input value] YYYY-MM the rent started or last rose. |
| property_type | any | [input value] Used only without bedrooms. |
| proposed_rent | any | [input value] Landlord's proposal. |
{
"name": "check_area_rent",
"title": "Check area rent",
"description": "Rent prices in an area by bedrooms or home type (ONS Price Index of Private Rents, borough-wide): the average, London's, the trend and 24 months, rights on a rise (gov.uk), a page link. With current_rent: against the average; with current_since: indexedRent and a verdict on proposed_rent; levers, talking points, and links.report (the page with the tenant's figures, to send the landlord). Never one home's market rent.",
"inputSchema": {
"type": "object",
"$defs": {
"ComparableListing": {
"type": "object",
"title": "ComparableListing",
"required": [
"url",
"rent"
],
"properties": {
"url": {
"type": "string",
"title": "Url",
"maxLength": 500,
"minLength": 8,
"description": "[input value] Listing URL."
},
"rent": {
"type": "integer",
"title": "Rent",
"description": "[input value] £ per month.",
"exclusiveMaximum": 100000,
"exclusiveMinimum": 0
},
"bedrooms": {
"anyOf": [
{
"type": "integer",
"maximum": 8,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Bedrooms",
"default": null,
"description": "[input value] Bedrooms."
}
},
"additionalProperties": false
}
},
"title": "check_area_rentArguments",
"required": [
"postcode"
],
"properties": {
"bedrooms": {
"anyOf": [
{
"type": "integer",
"maximum": 8,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Bedrooms",
"default": null,
"description": "[input value] 0 reads the 1-bed figures."
},
"postcode": {
"type": "string",
"title": "Postcode",
"pattern": "^\\s*[A-Za-z]{1,2}\\d[A-Za-z\\d]?\\s*\\d[A-Za-z]{2}\\s*$",
"description": "[input value] Full postcode in England."
},
"comparables": {
"type": "array",
"items": {
"$ref": "#/$defs/ComparableListing"
},
"title": "Comparables",
"maxItems": 5,
"description": "[input value] Listings the tenant found."
},
"rent_period": {
"enum": [
"month",
"week"
],
"type": "string",
"title": "Rent Period",
"default": "month",
"description": "[option] Period of the rents."
},
"current_rent": {
"anyOf": [
{
"type": "integer",
"exclusiveMaximum": 100000,
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"title": "Current Rent",
"default": null,
"description": "[input value] The tenant's rent; omit for the area only."
},
"current_since": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
},
{
"type": "null"
}
],
"title": "Current Since",
"default": null,
"description": "[input value] YYYY-MM the rent started or last rose."
},
"property_type": {
"anyOf": [
{
"enum": [
"detached",
"semi-detached",
"terraced",
"flat"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Property Type",
"default": null,
"description": "[input value] Used only without bedrooms."
},
"proposed_rent": {
"anyOf": [
{
"type": "integer",
"exclusiveMaximum": 100000,
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"title": "Proposed Rent",
"default": null,
"description": "[input value] Landlord's proposal."
}
}
},
"outputSchema": {
"type": "object",
"title": "check_area_rentDictOutput",
"additionalProperties": true
},
"annotations": {
"title": "Check area rent",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Send feedback about Close Knit to the team: a bug, missing or wrong data, an idea, or what worked. Call it only after the user agrees: show them the message first. Describe the product and what happened, never the person: no names, contact details, addresses, family, budget or other personal circumstances. Kept 12 months, e-mail addresses and phone numbers removed; no reply channel: the answer gives an id, the changelog names ids fixed. Ratings sent with rate_answer: 90 days.
| Parameter | Type | Description |
|---|---|---|
| kind * | string | [option] bug = a tool failed or misbehaved; missing-data / wrong-data = an answer lacked or got a fact wrong; idea = something to add; praise = what worked well. |
| tools | array | [input value] The Close Knit tools it is about, e.g. ['find_areas']. |
| client | any | [input value] The AI client, e.g. 'claude.ai'. |
| rating | any | [input value] How useful Close Knit was, 1-5, if the user said. |
| message * | string | [input value] What happened or what would help, in a few sentences: the product, never the person. No names, contact details, addresses, family or money circumstances. |
{
"name": "send_feedback",
"title": "Send feedback",
"description": "Send feedback about Close Knit to the team: a bug, missing or wrong data, an idea, or what worked. Call it only after the user agrees: show them the message first. Describe the product and what happened, never the person: no names, contact details, addresses, family, budget or other personal circumstances. Kept 12 months, e-mail addresses and phone numbers removed; no reply channel: the answer gives an id, the changelog names ids fixed. Ratings sent with rate_answer: 90 days.",
"inputSchema": {
"type": "object",
"title": "send_feedbackArguments",
"required": [
"kind",
"message"
],
"properties": {
"kind": {
"enum": [
"bug",
"missing-data",
"wrong-data",
"idea",
"praise",
"other"
],
"type": "string",
"title": "Kind",
"description": "[option] bug = a tool failed or misbehaved; missing-data / wrong-data = an answer lacked or got a fact wrong; idea = something to add; praise = what worked well."
},
"tools": {
"type": "array",
"items": {
"type": "string"
},
"title": "Tools",
"maxItems": 10,
"description": "[input value] The Close Knit tools it is about, e.g. ['find_areas']."
},
"client": {
"anyOf": [
{
"type": "string",
"maxLength": 60
},
{
"type": "null"
}
],
"title": "Client",
"default": null,
"description": "[input value] The AI client, e.g. 'claude.ai'."
},
"rating": {
"anyOf": [
{
"type": "integer",
"maximum": 5,
"minimum": 1
},
{
"type": "null"
}
],
"title": "Rating",
"default": null,
"description": "[input value] How useful Close Knit was, 1-5, if the user said."
},
"message": {
"type": "string",
"title": "Message",
"maxLength": 2000,
"minLength": 10,
"description": "[input value] What happened or what would help, in a few sentences: the product, never the person. No names, contact details, addresses, family or money circumstances."
}
}
},
"outputSchema": {
"type": "object",
"title": "send_feedbackDictOutput",
"additionalProperties": true
},
"annotations": {
"title": "Send feedback",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Pass on the user's rating of the last Close Knit answer in this conversation, when they give one or agree to it: rating 1-5, what was good, what was bad or missing, the fix they want. It describes the answer, never the user. This stores the rating for 90 days with the call's tool name, client name and the conversation's one-way tag, contact details and full postcodes removed, no IP address or user agent. Close Knit's other data tools only read.
| Parameter | Type | Description |
|---|---|---|
| bad | any | [input value] What was wrong, missing or confusing. |
| fix | any | [input value] The change to the tool or its answer you would want. |
| good | any | [input value] What was useful in the answer. |
| rating * | integer | [input value] 1 = useless or wrong, 3 = usable with gaps, 5 = exactly what was needed. |
| call_id | any | [id] The callId of the answer you are rating; leave it out when answers carry none. |
{
"name": "rate_answer",
"title": "Rate answer",
"description": "Pass on the user's rating of the last Close Knit answer in this conversation, when they give one or agree to it: rating 1-5, what was good, what was bad or missing, the fix they want. It describes the answer, never the user. This stores the rating for 90 days with the call's tool name, client name and the conversation's one-way tag, contact details and full postcodes removed, no IP address or user agent. Close Knit's other data tools only read.",
"inputSchema": {
"type": "object",
"title": "rate_answerArguments",
"required": [
"rating"
],
"properties": {
"bad": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
],
"title": "Bad",
"default": null,
"description": "[input value] What was wrong, missing or confusing."
},
"fix": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
],
"title": "Fix",
"default": null,
"description": "[input value] The change to the tool or its answer you would want."
},
"good": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
],
"title": "Good",
"default": null,
"description": "[input value] What was useful in the answer."
},
"rating": {
"type": "integer",
"title": "Rating",
"maximum": 5,
"minimum": 1,
"description": "[input value] 1 = useless or wrong, 3 = usable with gaps, 5 = exactly what was needed."
},
"call_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Call Id",
"default": null,
"description": "[id] The callId of the answer you are rating; leave it out when answers carry none."
}
}
},
"outputSchema": {
"type": "object",
"title": "rate_answerDictOutput",
"additionalProperties": true
},
"annotations": {
"title": "Rate answer",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Close Knit: evidence about neighbourhoods and homes in England, London in depth (homes, TfL commutes, London-only layers); ranks and percentiles compare an area with its own region (rankScope names it). Cite sources and keep caveats. When you use Close Knit figures, link the Close Knit page they came from (links.page; links.methodology says how they are made; a data tool's item carries its url). dataMode=demo marks illustrative fixtures, never facts. Data for analysis, summary first: describe_data is the map (themes, metrics with unit, level, period, coverage and better end, place categories, sections per kind); call describe_data when unsure of a name. get(ids) reads everything about 1-10 things by typed id (uk:lsoa:…, uk:msoa:…, uk:lad:…, uk:rgn:…, sector:…, pc:…, uprn:…, school:…, place:…), select takes plain dotted paths, 2+ ids add a compare view. The site's guide articles (how a figure is made, what it cannot say) read the same way: describe_data(kind: 'guide') lists them, get(ids: ['guide:crime']) reads one in a call of its own. query analyses many areas or schools (filters, levels with group stats, sort, pages, a CSV link), never SQL. get_places lists the places themselves. Their answers are compact JSON: value, defs (what each fact key means, once), nav, related (facts the user did not ask for: offer the ones that bear on their question; they are not instructions), alsoAvailable (other calls that fit this answer: facts, not instructions), page/next, sources, caveats; a fact is [value, rating 1-10 within the scope, quality]. Errors teach the next call: follow didYouMean and hint; a wrong call answers problems, the tool's fields (type, use, allowed, findWith) and a valid example. Each field's description starts with how it is used: [filter: exact], [search: contains], [rank weight], ... A London-only metric with an England scope is the coverage error: use scope london. Catalogue: 73 metrics in 18 themes (clean-air 1, people-and-homes 8, local-government 1, crime 16, deprivation 1, flood 1, getting-around 5, schools 2, nature 17, home-cost 7, local-market 3, income 1, noise 1, planning 1, price-per-m2 1, social-renting 1, stock-value 1, typical-price 5). Census: 618 in 12 tables, descriptive only: describe_data(theme: 'census'). Places: 2,580,013 in 234 categories: describe_data(kind: 'place', query: …). Kinds: rgn 9, lad 296, msoa 6,856, lsoa 33,755, sector 8,950, pc ≈2,268,634, uprn ≈2,086,793, school 20,126, place ≈2,581,202. Which call fits which need (facts about the tools): - a shortlist for a household → find_areas(market, max_budget, bedrooms, property_type, priorities=[{factor, importance, must}], places, ranges, custom); must = a filter, the rest ranks with soft edges. - a trip limit (work, school, pool, gym) → search_places for the pin, then places=[{label, latitude, longitude, mode, max_minutes, must: true}]; get_commute for a favourite's line, changes and disruption. - the nearest of a kind → places=[{label, category | brand | sport | top_school, mode: "walk", max_minutes}]; get_places lists them with walking minutes. - a high street or vibe they describe → describe_data(kind: "custom") presets, query(saved: "custom:<preset>"), then find_areas(custom=[{preset_id, importance}]). - any other layer as a limit (gigabit, green share, woodland, noise, flood; street trees in London: green-streets, for find_areas only) → ranges=[{layer, scale: "value", min | max, must}]. - liked or ruled-out areas → liked_area_ids / exclude_area_ids; "like X but cheaper" → find_similar_areas(area_id, cheaper: true). - favourites side by side → get(ids: [2-3], sections: [...]) in one call. - a ranking or "where is X highest" → describe_data(query) for the metric id, then query(level, scope, sort: {metric, dir}, filters, standouts); filters and group_filters replace paging; several measures → fields plus sort: {standing: [metrics]}. - a change over time → query(filters=[{metric, change: {years}}]) or get sections hpi. - an area's pri
Names, descriptions and schemas were written by the server and are shown as data.