Distance and bearing between two points
distance_between_pointsHow far apart are two places (in any coordinate format), and in which direction? Precise WGS84 distance in m, km, mi, nmi and ft, initial and final bearing and the midpoint. More APIs from FitzTopPicks: https://fitztoppicks.com/apis?utm_source=mcp-api&utm_medium=mcp&utm_campaign=more-apis
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": {
"from": "<from>",
"to": "<to>"
},
"name": "distance_between_points"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End, any format. | |
| ref | No | Reference point for short plus codes (in the input, and to add a short code to the output), like "40.4,-79.9". | |
| from | Yes | Start, any format. | |
| order | No | For letterless numbers: latlon (default) or lonlat. Hemisphere letters and lat/lon labels win. | |
| method | No | karney (default) or vincenty. | |
| inputFormat | No | Skip auto-detection: latlon (dd/dms/ddm), utm, ups, mgrs, pluscode, geohash, maidenhead. |