parse_coordinate
Parse ANY single coordinate string a human might paste into WGS84
lat/lon — decimal degrees with any separator or an EU decimal comma,
DMS (42°41'51.7"N 23°19'18.9"E), DDM / GPS style (N 42° 41.535'),
NMEA (4241.535,N,02319.314,E), UTM with a zone/band (34T 583000 4727000),
MGRS (34TFN8300027000), British grid refs (TQ 30 80), Geohash, full Plus
Codes, and Google/Apple/Bing/OSM map links. Detects lon,lat order from
hemisphere letters, labels or out-of-range values and says so in note.
Deterministic, no LLM — LLMs are unreliable past 2-3 decimals; this is
exact. Ambiguous input (e.g. "583000 4727000" with no zone) is an error
with a concrete hint, never a guess.
Returns JSON: {ok, kind, label, lat, lon, note, ...notation fields}.
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": {
"text": "<text>"
},
"name": "parse_coordinate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |