nearby_stops
England bus and coach stops near a point, nearest first. Pass lat and lon (WGS84), optional radius_m (1 to 2,000, default 500) and limit (1 to 50, default 10). Each stop carries its NaPTAN ATCO code id (pass it to next_departures), name, indicator (e.g. "Stop S"), locality, position, distance_m and bearing_deg from the point, and lines, the line names the Bus Open Data timetables have calling there. Bus and coach only: rail, tram, metro and ferry stops are not included, and coverage is England (plus stops just across a border that an England service calls at). Display data, never a journey plan: pass on the returned label and coverage. Requires the MapMap gateway; a deployment without the stops index answers a clear error. Display the returned attribution (NaPTAN and BODS, Open Government Licence v3.0).
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": "nearby_stops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude of the point, WGS84 degrees. | |
| lon | Yes | Longitude of the point, WGS84 degrees. | |
| limit | No | Most stops to return, 1 to 50 (default 10), nearest first. | |
| radius_m | No | Search radius in metres, 1 to 2,000 (default 500). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | What the answer is and is not: display data, never a journey plan or an arrival prediction. Pass it on with the stops. | |
| stops | Yes | Stops inside the radius, nearest first. | |
| coverage | Yes | What the data covers (England bus and coach stops; no rail, tram or ferry). Pass it on with the stops. | |
| attribution | Yes | NaPTAN and BODS attribution (Open Government Licence v3.0): display it with the stops. |