viafrei 1.8.0 → 1.8.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/API.md +73 -45
- package/CHANGELOG.md +107 -0
- package/NOTICE +17 -8
- package/README.md +105 -80
- package/SOURCES.md +503 -449
- package/package.json +1 -1
package/API.md
CHANGED
|
@@ -9,7 +9,7 @@ the server's own text, reproduced verbatim, because that text is what an
|
|
|
9
9
|
assistant reads when it decides which tool to call; paraphrasing it here would
|
|
10
10
|
document a different server.
|
|
11
11
|
|
|
12
|
-
**It is a dated snapshot, taken on 2026-10-
|
|
12
|
+
**It is a dated snapshot, taken on 2026-10-07.** Generating this file makes
|
|
13
13
|
it impossible for the document and the snapshot to disagree — CI regenerates and
|
|
14
14
|
compares — but it cannot keep the snapshot from ageing against the live server,
|
|
15
15
|
because a capture is a point in time. **The source of truth is the running
|
|
@@ -17,12 +17,12 @@ server:** connect any MCP client and call `tools/list`.
|
|
|
17
17
|
|
|
18
18
|
| | |
|
|
19
19
|
| --- | --- |
|
|
20
|
-
| Server | `viafrei` 1.8.
|
|
20
|
+
| Server | `viafrei` 1.8.29 |
|
|
21
21
|
| MCP protocol | `2025-06-18` |
|
|
22
22
|
| Streamable HTTP | https://mcp.viafrei.de/mcp |
|
|
23
23
|
| Legacy HTTP+SSE | https://mcp.viafrei.de/sse |
|
|
24
|
-
| Captured from | `https://mcp.viafrei.de/mcp` on 2026-10-
|
|
25
|
-
| Surface |
|
|
24
|
+
| Captured from | `https://mcp.viafrei.de/mcp` on 2026-10-07 |
|
|
25
|
+
| Surface | 21 tools, 10 resources, 2 resource templates, 9 prompts |
|
|
26
26
|
| Parameter schemas | JSON Schema draft-07 |
|
|
27
27
|
| Capabilities | `tools`, `resources`, `prompts`, `logging` |
|
|
28
28
|
|
|
@@ -31,7 +31,7 @@ No API key. No account. No sign-up.
|
|
|
31
31
|
## Contents
|
|
32
32
|
|
|
33
33
|
- [How to read a result](#how-to-read-a-result)
|
|
34
|
-
- [Tools](#tools) —
|
|
34
|
+
- [Tools](#tools) — 21
|
|
35
35
|
- [Resources](#resources) — 10
|
|
36
36
|
- [Resource templates](#resource-templates) — 2
|
|
37
37
|
- [Prompts](#prompts) — 9
|
|
@@ -58,7 +58,7 @@ language the person is writing in rather than relying on the default.
|
|
|
58
58
|
|
|
59
59
|
The server's own instructions to a connecting client, verbatim:
|
|
60
60
|
|
|
61
|
-
> ViaFrei
|
|
61
|
+
> ViaFrei answers from German open transport data, live: motorway traffic, closures and roadworks (plus Land and city traffic messages where a feed carries them), fuel prices, EV charging, parking, train and public-transport departures, regional public-transport punctuality and service alerts, station lifts and escalators, DWD weather warnings, places and addresses, and the curated German driving rules. Always show the attribution line of a result to the user, and when a result carries `_meta.purposeNote` or `_meta.conditionNote`, show that sentence verbatim as well — it is a legal condition of the data, not a caption. Times are Europe/Berlin; the rules answers carry a review date and are informational, not legal advice. ViaFrei is in beta: sources are still being added and answers and coverage can change, so when a decision depends on a closure, a departure or a price, tell the user to confirm it with the source the attribution line names.
|
|
62
62
|
|
|
63
63
|
## Tools
|
|
64
64
|
|
|
@@ -66,7 +66,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
66
66
|
|
|
67
67
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
68
68
|
|
|
69
|
-
>
|
|
69
|
+
> Jams, slow traffic, closures and roadworks in force this minute on up to 5 motorways, with delay/speed. Use when asked about a named motorway now: Stau, a delay, how it looks, or a LIST of closures now; name every motorway (Munich→Berlin: A9). Do NOT use for yes/no: is a road open/closed/passable — check_road_status, even now — nor a closure with no time word or a later one (tonight, weekend); Baustellen dated or geplant — find_roadworks_ahead; Stau in a town, no motorway — check_road_status; fuel (find_cheapest_fuel), trains (get_train_departures). ~5 min old. Show the attribution line.
|
|
70
70
|
|
|
71
71
|
| parameter | type | required | default | constraints |
|
|
72
72
|
| --- | --- | --- | --- | --- |
|
|
@@ -78,9 +78,9 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
78
78
|
|
|
79
79
|
- **`roads`** — Autobahn numbers, e.g. ["A9"] or ["A8", "A99", "A9"] (1–5 per call). Name every motorway on the route so the whole drive is briefed in one call — "A9", "A 9" and "a9" are the same road. Results are grouped per road, in the order you list them.
|
|
80
80
|
- **`cursor`** — Pagination cursor from a previous result's _meta.nextCursor. Omit for the first page.
|
|
81
|
-
- **`kinds`** — Which event kinds to return: warning = live traffic (jams, slow traffic, hazards), closure = full closures, roadworks = construction sites. Set it when the SUBJECT of the question is one of those categories by name: "Baustellen auf der A8?" is ["roadworks"], "welche Sperrungen sind in diesem Moment gemeldet?" is ["closure"]. Omit it when the question is how the road IS — Stau, frei, a delay, "wie sieht es aus", "everything"; the German "Stau?" is the idiom for the whole picture, and a filter nobody asked for hides the closure on the same stretch. Whether a closure question is this tool's at all is decided by two things, and the noun (Sperrung, Vollsperrung, closure) is neither. FIRST THE CLOCK: only a question about this minute (jetzt, gerade, in diesem Moment, right now, at this very minute) can be this tool's — with no time word at all, or for a later window (tonight, heute Abend, am Wochenende, the coming days), it is check_road_status. SECOND, WHAT IS ASKED, which the clock cannot see: what is REPORTED or in force on a named motorway is this tool ("
|
|
81
|
+
- **`kinds`** — Which event kinds to return: warning = live traffic (jams, slow traffic, hazards), closure = full closures, roadworks = construction sites. Set it when the SUBJECT of the question is one of those categories by name: "Baustellen auf der A8?" is ["roadworks"], "welche Sperrungen sind in diesem Moment gemeldet?" is ["closure"]. Omit it when the question is how the road IS — Stau, frei, a delay, "wie sieht es aus", "everything"; the German "Stau?" is the idiom for the whole picture, and a filter nobody asked for hides the closure on the same stretch. Whether a closure question is this tool's at all is decided by two things, and the noun (Sperrung, Vollsperrung, closure) is neither. FIRST THE CLOCK: only a question about this minute (jetzt, gerade, in diesem Moment, right now, at this very minute) can be this tool's — with no time word at all, or for a later window (tonight, heute Abend, am Wochenende, the coming days), it is check_road_status. SECOND, WHAT IS ASKED, which the clock cannot see: what is REPORTED or in force on a named motorway is this tool ("which closures are in force on the A100 at this very minute?"), while whether the road is OPEN or passable is check_road_status AT ANY CLOCK — "ist die A8 offen", "ist die A3 in diesem Moment gesperrt?", "komme ich da durch?" — and so is a closure asked around a town instead of on a motorway number. Baustellen with a date or the word geplant are find_roadworks_ahead. Default: all three.
|
|
82
82
|
- **`language`** — Set this on every call to the language the person is writing in: "en" if they wrote English, "de" if they wrote German. Do not leave it out because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is a wrong answer. Place names, station names and road numbers are never translated in either language; in English the German term is kept in parentheses so the person recognises it on signs and in local apps.
|
|
83
|
-
- **`limit`** — Maximum events to return across all roads (1–50, default 10).
|
|
83
|
+
- **`limit`** — Maximum events to return across all roads (1–50, default 10). Jams on every road come first, then closures and roadworks; roads keep the order you listed them within each. Only what is in force now is listed — closures announced for later are counted apart in the headline.
|
|
84
84
|
|
|
85
85
|
### `find_cheapest_fuel` — Cheapest fuel nearby
|
|
86
86
|
|
|
@@ -103,7 +103,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
103
103
|
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
|
|
104
104
|
- **`limit`** — How many stations to return, cheapest first (1–10, default 5). The provider's terms cap it at 10.
|
|
105
105
|
- **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.
|
|
106
|
-
- **`place`** — Where to look, as free text: a city ("München", "Munich"), a district or Kreis ("Kreis Fulda"), a Bundesland, a station or stop ("Hamburg Hbf"), a motorway ("
|
|
106
|
+
- **`place`** — Where to look, as free text: a city ("München", "Munich"), a district or Kreis ("Kreis Fulda"), a Bundesland, a station or stop ("Hamburg Hbf"), a motorway junction ("AK Neufahrn"), or a street address with a house number ("Bahnhofstraße 12, 36037 Fulda"). A motorway number alone ("A7") resolves to the road, which has no single point — name a town or junction on it instead. Use this instead of coordinates whenever the person named a place. An address needs its town or postcode — a street and a number alone exist in many towns. Give either place OR lat+lon, never both.
|
|
107
107
|
- **`radius_km`** — Search radius around the place in kilometres (1–25, default 5). The provider's terms cap it at 25 km — a larger circle is a dataset request, not a consumer question.
|
|
108
108
|
|
|
109
109
|
### `find_fuel_station` — Find a filling station
|
|
@@ -137,16 +137,16 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
137
137
|
- **`name`** — Part of the station's own name or brand, case-insensitive: "Autohof", "Raststätte Fulda". Use it when the person named a specific forecourt rather than a chain. Combine with place to keep the search local.
|
|
138
138
|
- **`open_at`** — Only stations open at that time in Germany (Europe/Berlin): "23:30" means the next time the clock shows 23:30, and "2026-09-30 06:15" a specific local date and time. Use it for "is it still open tonight". Do not pass it together with open_now — they ask the same question about two different clocks.
|
|
139
139
|
- **`open_now`** — When true, only stations the published opening hours say are open at this moment. Default false. A station whose hours we have never read is NOT returned by this filter and is counted in the answer instead — the result never guesses that an unknown station is open.
|
|
140
|
-
- **`place`** — Where to look, as free text: a city ("München", "Munich"), a district or Kreis ("Kreis Fulda"), a Bundesland, a station or stop ("Hamburg Hbf"), a motorway ("
|
|
140
|
+
- **`place`** — Where to look, as free text: a city ("München", "Munich"), a district or Kreis ("Kreis Fulda"), a Bundesland, a station or stop ("Hamburg Hbf"), a motorway junction ("AK Neufahrn"), or a street address with a house number ("Bahnhofstraße 12, 36037 Fulda"). A motorway number alone ("A7") resolves to the road, which has no single point — name a town or junction on it instead. Use this instead of coordinates whenever the person named a place. An address needs its town or postcode — a street and a number alone exist in many towns. Give either place OR lat+lon, never both.
|
|
141
141
|
- **`radius_km`** — Search radius around the place in kilometres (1–25, default 5). 25 km is the provider's own ceiling — a larger circle is a dataset request, not a consumer question.
|
|
142
142
|
- **`sort`** — Order of the answer: "distance" (nearest first, the default — use it for "closest diesel to Hamburg Hbf"), "price" (cheapest first, needs fuel), or "name" (alphabetical, for a person scanning a list of a brand's forecourts).
|
|
143
|
-
- **`whole_day`** — When true, only stations the provider flags as open around the clock (24/7). Default false. Use it for a night drive; it is a stricter filter than open_now, which is satisfied by a station that closes at 22:00.
|
|
143
|
+
- **`whole_day`** — When true, only stations the provider flags as open around the clock (24/7). Default false. Use it when asked whether a station never closes ("durchgehend geöffnet", "around the clock") and for a night drive; it is a stricter filter than open_now, which is satisfied by a station that closes at 22:00.
|
|
144
144
|
|
|
145
145
|
### `find_parking` — Parking nearby
|
|
146
146
|
|
|
147
147
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
148
148
|
|
|
149
|
-
> Returns parking near a place, a coordinate or along one motorway: rest areas with lorry spaces, car parks and
|
|
149
|
+
> Returns parking near a place, a coordinate or along one motorway: rest areas with lorry spaces, car parks and P+R sites, with total spaces and, where published, free spaces now and the reading's age. Use when asked where to park or leave the car for the train ("Parkhaus in Köln", "Rastplatz A3", "P+R"). Do NOT use for fuel (find_cheapest_fuel) or EV charging (find_charging_station). Radius ≤ 25 km, ≤ 10 sites per list; ODbL and CC BY-SA sources are separate lists (up to three). No "free now" means no published count, not full. No prices: for "was kostet" say so. Show each source's attribution.
|
|
150
150
|
|
|
151
151
|
| parameter | type | required | default | constraints |
|
|
152
152
|
| --- | --- | --- | --- | --- |
|
|
@@ -165,8 +165,8 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
165
165
|
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
|
|
166
166
|
- **`limit`** — How many facilities to return, nearest first (1–10, default 5).
|
|
167
167
|
- **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.
|
|
168
|
-
- **`only_with_free_spaces`** — Set true
|
|
169
|
-
- **`place`** — Where to look, as free text: a city ("München", "Munich"), a district or Kreis ("Kreis Fulda"), a Bundesland, a station or stop ("Hamburg Hbf"), a motorway ("
|
|
168
|
+
- **`only_with_free_spaces`** — Set true only when the person asks whether spaces are free right now. It keeps just the facilities whose operator publishes live occupancy AND currently reports a space, and the result says how many were dropped for publishing nothing — most German parking publishes no occupancy at all, so true usually narrows the answer to very little. Default false.
|
|
169
|
+
- **`place`** — Where to look, as free text: a city ("München", "Munich"), a district or Kreis ("Kreis Fulda"), a Bundesland, a station or stop ("Hamburg Hbf"), a motorway junction ("AK Neufahrn"), or a street address with a house number ("Bahnhofstraße 12, 36037 Fulda"). A motorway number alone ("A7") resolves to the road, which has no single point — name a town or junction on it instead. Use this instead of coordinates whenever the person named a place. An address needs its town or postcode — a street and a number alone exist in many towns. Give either place OR lat+lon, never both.
|
|
170
170
|
- **`radius_km`** — Search radius around place or lat+lon in kilometres (1–25, default 10). Ignored when you pass road, which covers the whole motorway. Start small in a city and widen if the answer is empty.
|
|
171
171
|
- **`road`** — A single motorway number to list parking along, e.g. "A3" ("A 3" and "a3" are the same road). Use this when the person named a road and no town — "Rastplatz auf der A7". Give road OR place OR lat+lon, never two of them: a road is a 900 km line and a place is a point, so the two answer different questions. When the question names BOTH — "Parkhaus in Köln an der A3" — use the place: a person parks at a point, and the radius already covers the motorway beside it.
|
|
172
172
|
|
|
@@ -174,7 +174,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
174
174
|
|
|
175
175
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
176
176
|
|
|
177
|
-
>
|
|
177
|
+
> Whether a motorway, B road or Land road (NI, SN, TH) is open, closed or restricted, now and in coming days; by place, jams and city/Land messages near a town. Use when asked if a road is open/passable — "ist die A8 in diesem Moment gesperrt", "komme ich durch", at any clock, closures tonight/weekend — or Stau in a city: "Stau in Köln?". Do NOT use for jams/delays on a named motorway or a multi-motorway route — check_autobahn_traffic; roadworks in a date window — find_roadworks_ahead; city street: not held, say so. One road or place per call, ≤ 14 days, ≤ 11 entries. Show the attribution line.
|
|
178
178
|
|
|
179
179
|
| parameter | type | required | default | constraints |
|
|
180
180
|
| --- | --- | --- | --- | --- |
|
|
@@ -184,31 +184,31 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
184
184
|
| `limit` | integer | no | `10` | min 1; max 11 |
|
|
185
185
|
| `lon` | number | no | — | min -180; max 180 |
|
|
186
186
|
| `place` | string | no | — | min length 1; max length 120 |
|
|
187
|
-
| `road` | string | no | — | pattern `^[ABab] ?\d{1,3}$` |
|
|
187
|
+
| `road` | string | no | — | pattern `^(?:[ABab] ?\d{1,3}\|[LlSs] ?\d{1,4})$` |
|
|
188
188
|
|
|
189
|
-
- **`horizon_days`** — How many days ahead to look, counting from now (0 = right now only, max 14, default 3). Set it only to what the person actually asked for: 0 when they said right now / gerade / jetzt / in diesem Moment, 1 for tonight or heute Abend, 3 for "this weekend", 7 for "next week", and for a named weekday ("am Freitag", "on Friday") the number of days from today to that day. A bare "is the A8 open?" asks for no window — omit the argument and take the default rather than reading it as 0. Live closures are always included whatever this is.
|
|
189
|
+
- **`horizon_days`** — How many days ahead to look, counting from now (0 = right now only, max 14, default 3). Set it only to what the person actually asked for: 0 when they said right now / gerade / jetzt / in diesem Moment, 1 for tonight or heute Abend, 3 for "this weekend", 7 for "next week", and for a named weekday ("am Freitag", "on Friday") the number of days from today to that day. A bare "is the A8 open?" asks for no window — omit the argument and take the default rather than reading it as 0. Live closures are always included whatever this is, and so, by place, are the jams reported right now ("Stau in Köln?" needs no horizon).
|
|
190
190
|
- **`language`** — Set this on every call to the language the person is writing in: "en" if they wrote English, "de" if they wrote German. Do not leave it out because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is a wrong answer. Place names, station names and road numbers are never translated in either language; in English the German term is kept in parentheses so the person recognises it on signs and in local apps.
|
|
191
191
|
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
|
|
192
|
-
- **`limit`** — Maximum entries to return (1–11, default 10).
|
|
192
|
+
- **`limit`** — Maximum entries to return (1–11, default 10). By road, closures come first, then restrictions in force, then planned works; by place, nearest first.
|
|
193
193
|
- **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.
|
|
194
|
-
- **`place`** — Where to look, as free text: a city ("München", "Munich"), a district or Kreis ("Kreis Fulda"), a Bundesland, a station or stop ("Hamburg Hbf"), a motorway ("
|
|
195
|
-
- **`road`** — One German motorway or federal road, e.g. "A8" or "B27". "A8", "A 8" and "a8" are the same road. Use this whenever the person named a road — it is the only input that reaches the planned-works data, which is filed by road and section and carries no coordinates.
|
|
194
|
+
- **`place`** — Where to look, as free text: a city ("München", "Munich"), a district or Kreis ("Kreis Fulda"), a Bundesland, a station or stop ("Hamburg Hbf"), a motorway junction ("AK Neufahrn"), or a street address with a house number ("Bahnhofstraße 12, 36037 Fulda"). A motorway number alone ("A7") resolves to the road, which has no single point — name a town or junction on it instead. Use this instead of coordinates whenever the person named a place. An address needs its town or postcode — a street and a number alone exist in many towns. Give either place OR lat+lon, never both.
|
|
195
|
+
- **`road`** — One German motorway or federal road, e.g. "A8" or "B27", or a Landes- or Staatsstraße in Niedersachsen, Sachsen or Thüringen, e.g. "L1025" or "S296". "A8", "A 8" and "a8" are the same road. Use this whenever the person named a road — it is the only input that reaches the planned-works data, which is filed by road and section and carries no coordinates. When the person also says WHERE — a town or a Bundesland ("die B2 bei Potsdam", "L1025 in Niedersachsen") — pass that as place too: only sources for that Land answer, and a Land no source covers is named. L and S numbers repeat in every Land, so give the Land with them. Otherwise give exactly one of road, place, or lat+lon.
|
|
196
196
|
|
|
197
197
|
### `find_roadworks_ahead` — Planned roadworks
|
|
198
198
|
|
|
199
199
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
200
200
|
|
|
201
|
-
> Returns roadworks PLANNED on one German motorway, or
|
|
201
|
+
> Returns roadworks PLANNED on one German motorway, or one Bundes- or Landesstraße in Niedersachsen, Sachsen or Thüringen, in a date window: section, restriction, start and end. Use when a date or window is named, the question says geplant, or how long a site lasts ("Baustellen auf der A7 in den Sommerferien?"). ONE road per call. Do NOT use when more than one motorway is named, for the situation this minute, or for Baustellen with neither date nor geplant — all three are check_autobahn_traffic; whether a road is open — call check_road_status. ≤ 92 days, max 20 sites. Show the attribution line.
|
|
202
202
|
|
|
203
203
|
| parameter | type | required | default | constraints |
|
|
204
204
|
| --- | --- | --- | --- | --- |
|
|
205
|
-
| `road` | string | **yes** | — | pattern `^[AaBb] ?\d{1,3}$` |
|
|
205
|
+
| `road` | string | **yes** | — | pattern `^(?:[AaBb] ?\d{1,3}\|[LlSs] ?\d{1,4})$` |
|
|
206
206
|
| `from` | string | no | — | pattern `^\d{4}-\d{2}-\d{2}$` |
|
|
207
207
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
208
208
|
| `limit` | integer | no | `10` | min 1; max 20 |
|
|
209
209
|
| `to` | string | no | — | pattern `^\d{4}-\d{2}-\d{2}$` |
|
|
210
210
|
|
|
211
|
-
- **`road`** — The road to look at, one per call: an Autobahn, e.g. "A7" or "A100", or a Bundesstraße in Niedersachsen, e.g. "B6" — "A7", "A 7" and "a7" are the same road.
|
|
211
|
+
- **`road`** — The road to look at, one per call: an Autobahn, e.g. "A7" or "A100", or a Bundesstraße, Landesstraße or Staatsstraße in Niedersachsen, Sachsen or Thüringen, e.g. "B6", "L1025", "S296" — "A7", "A 7" and "a7" are the same road. B and L roads in other Länder, Kreisstraßen and city streets are not covered. Ask again for a second road.
|
|
212
212
|
- **`from`** — First day of the window, as YYYY-MM-DD in German local time. Omit for today. Resolve relative wording ("next Friday", "in den Sommerferien", "nächsten Monat") into real dates yourself, counted from today's date; this argument never takes words, and it never takes a fixed example date — the window a person means moves with the calendar.
|
|
213
213
|
- **`language`** — Set this on every call to the language the person is writing in: "en" if they wrote English, "de" if they wrote German. Do not leave it out because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is a wrong answer. Place names, station names and road numbers are never translated in either language; in English the German term is kept in parentheses so the person recognises it on signs and in local apps.
|
|
214
214
|
- **`limit`** — Maximum sites to return (1–20, default 10), ordered by planned start. Every returned site is in the structured result; the readable text prints the first 10 and says how many more of them are in the structured half. The answer always names how many sites the window holds in total, so a small limit never hides the size of the problem.
|
|
@@ -237,9 +237,9 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
237
237
|
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
|
|
238
238
|
- **`limit`** — How many charging sites to return, nearest first (1–10, default 5).
|
|
239
239
|
- **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.
|
|
240
|
-
- **`min_power_kw`** — Only charging points of at least this many kW (1–1000). Use when the person asks for fast charging
|
|
240
|
+
- **`min_power_kw`** — Only charging points of at least this many kW (1–1000). Use when the person names a number or asks for fast charging: 50 = DC fast (a bare "fast"/"schnell"/"Schnelllader"), 150 = HPC ("HPC", "ultra", "ultraschnell"), 300 = the fastest posts in Germany. Omit for "where can I charge" — 11 kW overnight is a valid answer to that question.
|
|
241
241
|
- **`only_available`** — When true, return only sites with at least one point reported FREE right now. Default false. Use it when the person asks what is free at this moment. Note that only some operators publish live status: the result always says how many nearby sites were dropped because their status is unknown, so the filter never silently hides a charger that may well be free.
|
|
242
|
-
- **`place`** — Where to look, as free text: a city ("München", "Munich"), a district or Kreis ("Kreis Fulda"), a Bundesland, a station or stop ("Hamburg Hbf"), a motorway ("
|
|
242
|
+
- **`place`** — Where to look, as free text: a city ("München", "Munich"), a district or Kreis ("Kreis Fulda"), a Bundesland, a station or stop ("Hamburg Hbf"), a motorway junction ("AK Neufahrn"), or a street address with a house number ("Bahnhofstraße 12, 36037 Fulda"). A motorway number alone ("A7") resolves to the road, which has no single point — name a town or junction on it instead. Use this instead of coordinates whenever the person named a place. An address needs its town or postcode — a street and a number alone exist in many towns. Give either place OR lat+lon, never both.
|
|
243
243
|
- **`radius_km`** — Search radius around the place in kilometres (1–25, default 10). A charging stop is worth a detour, so this is wider than the fuel radius — but 25 km is the cap, and a larger circle is a dataset request rather than a driver's question.
|
|
244
244
|
|
|
245
245
|
### `find_place` — Look up a place
|
|
@@ -277,7 +277,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
277
277
|
| parameter | type | required | default | constraints |
|
|
278
278
|
| --- | --- | --- | --- | --- |
|
|
279
279
|
| `name` | string | **yes** | — | min length 2; max length 120 |
|
|
280
|
-
| `category` | string | no | — | one of `"office"`, `"amenity"`, `"shop"`, `"tourism"`, `"healthcare"`, `"leisure"`, `"industrial"`, `"building"` |
|
|
280
|
+
| `category` | string | no | — | one of `"office"`, `"amenity"`, `"shop"`, `"tourism"`, `"healthcare"`, `"leisure"`, `"industrial"`, `"historic"`, `"natural"`, `"building"` |
|
|
281
281
|
| `in` | string | no | — | max length 120 |
|
|
282
282
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
283
283
|
| `lat` | number | no | — | min -90; max 90 |
|
|
@@ -287,7 +287,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
287
287
|
| `radius_km` | number | no | `10` | min 1; max 50 |
|
|
288
288
|
|
|
289
289
|
- **`name`** — The name of the thing to find — a company, shop, clinic, hotel, office or landmark. Part of the name is enough: "adesso" finds "adesso SE". A chain name works too, because brands are matched as well as names.
|
|
290
|
-
- **`category`** — Narrow to one OpenStreetMap family: "office" (companies, agencies), "shop", "amenity" (fuel, pharmacy, school, restaurant), "healthcare", "tourism" (hotels, attractions), "leisure", "industrial" or "building". Omit unless the person was specific.
|
|
290
|
+
- **`category`** — Narrow to one OpenStreetMap family: "office" (companies, agencies), "shop", "amenity" (fuel, pharmacy, school, restaurant, town hall), "healthcare", "tourism" (hotels, attractions), "leisure", "industrial", "historic" (castles, monuments, city gates), "natural" (mountain peaks) or "building". Omit unless the person was specific.
|
|
291
291
|
- **`in`** — A town to search in — "Dortmund", "Fulda". Strongly preferred: it is both far faster and far less ambiguous than a nationwide search. Use this OR near/lat+lon, not both.
|
|
292
292
|
- **`language`** — Set this on every call to the language the person is writing in: "en" if they wrote English, "de" if they wrote German. Do not leave it out because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is a wrong answer. Place names, station names and road numbers are never translated in either language; in English the German term is kept in parentheses so the person recognises it on signs and in local apps.
|
|
293
293
|
- **`lat`** — Latitude of the point to search around, when the caller already holds a coordinate.
|
|
@@ -300,7 +300,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
300
300
|
|
|
301
301
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
302
302
|
|
|
303
|
-
> Looks up a street address and returns its coordinate, plus what OpenStreetMap holds under it. Use when the person gives a STREET AND NUMBER — "
|
|
303
|
+
> Looks up a street address and returns its coordinate, plus what OpenStreetMap holds under it. Use when the person gives a STREET AND NUMBER — "Bahnhofstraße 12, Fulda" — for the point, or to see what is mapped there. The coordinate passes to any other tool as lat/lon. Do NOT use for a town/district/station name alone (find_place) or a company/shop/landmark by name (find_poi) — needs a street and a number. At most 5 results; more than one in ONE town means the door is mapped twice, and results in several towns are a question to ask the person. OpenStreetMap ODbL 1.0; show the attribution line.
|
|
304
304
|
|
|
305
305
|
| parameter | type | required | default | constraints |
|
|
306
306
|
| --- | --- | --- | --- | --- |
|
|
@@ -308,7 +308,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
308
308
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
309
309
|
| `limit` | integer | no | `3` | min 1; max 5 |
|
|
310
310
|
|
|
311
|
-
- **`query`** — A street address, as a person writes one: street and house number, plus a town or postcode — "
|
|
311
|
+
- **`query`** — A street address, as a person writes one: street and house number, plus a town or postcode — "Bahnhofstraße 12, 36037 Fulda" or "Bahnhofstraße 12, Fulda". Both orders work. A street and number with neither a town nor a postcode cannot be placed (the same street name exists in about two thousand German towns) and is refused.
|
|
312
312
|
- **`language`** — Set this on every call to the language the person is writing in: "en" if they wrote English, "de" if they wrote German. Do not leave it out because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is a wrong answer. Place names, station names and road numbers are never translated in either language; in English the German term is kept in parentheses so the person recognises it on signs and in local apps.
|
|
313
313
|
- **`limit`** — How many results to return (1–5, default 3) — more than one means the same address carries more than one OpenStreetMap object.
|
|
314
314
|
|
|
@@ -347,9 +347,33 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
347
347
|
- **`language`** — Set this on every call to the language the person is writing in: "en" if they wrote English, "de" if they wrote German. Do not leave it out because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is a wrong answer. Place names, station names and road numbers are never translated in either language; in English the German term is kept in parentheses so the person recognises it on signs and in local apps.
|
|
348
348
|
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
|
|
349
349
|
- **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.
|
|
350
|
-
- **`place`** — Where to look, as free text: a city ("München", "Munich"), a district or Kreis ("Kreis Fulda"), a Bundesland, a station or stop ("Hamburg Hbf"), a motorway ("
|
|
350
|
+
- **`place`** — Where to look, as free text: a city ("München", "Munich"), a district or Kreis ("Kreis Fulda"), a Bundesland, a station or stop ("Hamburg Hbf"), a motorway junction ("AK Neufahrn"), or a street address with a house number ("Bahnhofstraße 12, 36037 Fulda"). A motorway number alone ("A7") resolves to the road, which has no single point — name a town or junction on it instead. Use this instead of coordinates whenever the person named a place. An address needs its town or postcode — a street and a number alone exist in many towns. Give either place OR lat+lon, never both.
|
|
351
351
|
- **`radius_km`** — Search radius around place or lat+lon in kilometres (1–15, default 5). This tool answers "what is around me", not "search a wide area" — for that, use the specific tool with its own wider radius.
|
|
352
352
|
|
|
353
|
+
### `find_sharing` — Shared bikes nearby
|
|
354
|
+
|
|
355
|
+
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
356
|
+
|
|
357
|
+
> Returns rentable shared bikes near a place or coordinate: bike-sharing stations with bikes and free docks now, and free-floating bikes around, with distance and data age (nextbike incl. KVB Rad, MyRadl, VAG_Rad; Donkey Republic). Use when someone asks for a rental or shared bike ("Leihrad", "Fahrradverleih", "nächstes nextbike", "bike share near me"). Do NOT use for parking (find_parking) or a general look around a place (find_nearby). Radius ≤ 5 km, ≤ 20 stations; e-scooters are not covered. Shows each source's attribution.
|
|
358
|
+
|
|
359
|
+
| parameter | type | required | default | constraints |
|
|
360
|
+
| --- | --- | --- | --- | --- |
|
|
361
|
+
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
362
|
+
| `lat` | number | no | — | min -90; max 90 |
|
|
363
|
+
| `limit` | integer | no | `8` | min 1; max 20 |
|
|
364
|
+
| `lon` | number | no | — | min -180; max 180 |
|
|
365
|
+
| `only_available` | boolean | no | `true` | — |
|
|
366
|
+
| `place` | string | no | — | min length 1; max length 120 |
|
|
367
|
+
| `radius_km` | number | no | `1` | min 0.1; max 5 |
|
|
368
|
+
|
|
369
|
+
- **`language`** — Set this on every call to the language the person is writing in: "en" if they wrote English, "de" if they wrote German. Do not leave it out because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is a wrong answer. Place names, station names and road numbers are never translated in either language; in English the German term is kept in parentheses so the person recognises it on signs and in local apps.
|
|
370
|
+
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
|
|
371
|
+
- **`limit`** — How many stations to list, nearest first (1–20, default 8). Free-floating bikes are summarised, not listed one by one.
|
|
372
|
+
- **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.
|
|
373
|
+
- **`only_available`** — true (default): list only stations with at least one bike to rent right now. false: also list empty stations, e.g. to find a free dock to return a bike.
|
|
374
|
+
- **`place`** — Where to look, as free text: a city ("München", "Munich"), a district or Kreis ("Kreis Fulda"), a Bundesland, a station or stop ("Hamburg Hbf"), a motorway junction ("AK Neufahrn"), or a street address with a house number ("Bahnhofstraße 12, 36037 Fulda"). A motorway number alone ("A7") resolves to the road, which has no single point — name a town or junction on it instead. Use this instead of coordinates whenever the person named a place. An address needs its town or postcode — a street and a number alone exist in many towns. Give either place OR lat+lon, never both.
|
|
375
|
+
- **`radius_km`** — Search radius around place or lat+lon in kilometres (0.1–5, default 1). Example: 1
|
|
376
|
+
|
|
353
377
|
### `get_driving_rules` — German driving rules
|
|
354
378
|
|
|
355
379
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
@@ -370,7 +394,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
370
394
|
|
|
371
395
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
372
396
|
|
|
373
|
-
>
|
|
397
|
+
> How punctual public transport is now in one German region: the share of trips ever over 5 min late, trips with a cancelled stop, the trend, and the service alerts in force there (diversions, closed stops). Use when asked whether buses and trains run normally, or a strike, storm or works disrupt them. Do NOT use for a station's departures or a line from a named DEPARTURE station ("RE1 ab Köln Hbf verspätet?"; a destination, "nach …"/"zum …", is not one) — get_train_departures. No per-line figures. Window ≤ 120 min. CC BY-SA (DELFI) or CC BY 4.0 (VBB, Berlin/Brandenburg): show attribution.
|
|
374
398
|
|
|
375
399
|
| parameter | type | required | default | constraints |
|
|
376
400
|
| --- | --- | --- | --- | --- |
|
|
@@ -404,13 +428,13 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
404
428
|
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
|
|
405
429
|
- **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.
|
|
406
430
|
- **`min_level`** — Lowest official DWD level to report, 0–4 (default 0, i.e. everything). The DWD's own names: 1 = Wetterwarnung, 2 = Markante Wetterwarnung, 3 = Unwetterwarnung, 4 = Warnung vor extremem Unwetter; 0 = Vorabinformation Unwetter, an advance notice that is not yet a Warnstufe. Raise it ONLY when the question names a level or a Warnstufe in so many words ("ab Stufe 3", "level 3 or higher", "nur Stufe 4"). Unwetter, Unwetterwarnung, severe and storm are the ordinary way to ask about bad weather, not a filter: leave it at 0 there — a level the caller filtered away is a warning the person is never told about.
|
|
407
|
-
- **`place`** — Where to look, as free text: a city ("München", "Munich"), a district or Kreis ("Kreis Fulda"), a Bundesland, a station or stop ("Hamburg Hbf"), a motorway ("
|
|
431
|
+
- **`place`** — Where to look, as free text: a city ("München", "Munich"), a district or Kreis ("Kreis Fulda"), a Bundesland, a station or stop ("Hamburg Hbf"), a motorway junction ("AK Neufahrn"), or a street address with a house number ("Bahnhofstraße 12, 36037 Fulda"). A motorway number alone ("A7") resolves to the road, which has no single point — name a town or junction on it instead. Use this instead of coordinates whenever the person named a place. An address needs its town or postcode — a street and a number alone exist in many towns. Give either place OR lat+lon, never both.
|
|
408
432
|
|
|
409
433
|
### `get_train_departures` — Train departures
|
|
410
434
|
|
|
411
435
|
**Read-only** — it changes nothing. Reaches a third-party source (open world). Idempotent: true. Destructive: false.
|
|
412
436
|
|
|
413
|
-
> Next departures from a German railway station, with platform, delay
|
|
437
|
+
> Next departures from a German railway station, with platform, delay, cancellations. Use when asked when a train, S-Bahn or ICE leaves a named station, or if a train or line from it is late ("RE1 from Köln Hbf late?"); later today ("heute Abend") stays here. A line with no DEPARTURE station ("ist die S1 pünktlich?"; a destination, "nach …"/"zum …", is not one) — check_transit_disruption. Do NOT use for buses, trams, a non-railway stop, another day or a time over 2 h away — get_departures. No destination filter: read the board. ≤ 15 departures, window 120 min. Show the attribution line.
|
|
414
438
|
|
|
415
439
|
| parameter | type | required | default | constraints |
|
|
416
440
|
| --- | --- | --- | --- | --- |
|
|
@@ -432,7 +456,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
432
456
|
|
|
433
457
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
434
458
|
|
|
435
|
-
> Scheduled departures from any German
|
|
459
|
+
> Scheduled departures from any German stop — bus, tram, U-Bahn, S-Bahn, train, ferry — with line, destination, platform. Use when asked when a bus, tram, U-Bahn or ferry goes, or for another DAY or a clock time over 2 h away: "Wann fährt der nächste Bus ab Fulda Bahnhof?" Do NOT use for a railway station's trains now or later today — get_train_departures. Planned times only: for "is my bus late?" give the plan and say so; regional punctuality check_transit_disruption. No A-to-B journeys: say so, no call. Holds ≥ 48 h ahead, ≤ 3 days; further out, say so. 15 per call. Show the attribution line.
|
|
436
460
|
|
|
437
461
|
| parameter | type | required | default | constraints |
|
|
438
462
|
| --- | --- | --- | --- | --- |
|
|
@@ -444,7 +468,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
444
468
|
| `stop_id` | string | no | — | min length 3; max length 64 |
|
|
445
469
|
| `when` | string | no | — | format `date-time`; pattern (288 characters — see the description; the `format` above is the short answer) |
|
|
446
470
|
|
|
447
|
-
- **`duration_min`** — How far past that moment to look, in minutes (5–1440, default 60). Small for "what goes now", a few hours for an evening. To
|
|
471
|
+
- **`duration_min`** — How far past that moment to look, in minutes (5–1440, default 60). Small for "what goes now", a few hours for an evening. To look further ahead (the timetable reaches at least 48 h), move `when` instead of widening this: a window of a whole day returns at most 15 rows and would answer about the wrong half of it.
|
|
448
472
|
- **`language`** — Set this on every call to the language the person is writing in: "en" if they wrote English, "de" if they wrote German. Do not leave it out because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is a wrong answer. Place names, station names and road numbers are never translated in either language; in English the German term is kept in parentheses so the person recognises it on signs and in local apps.
|
|
449
473
|
- **`limit`** — How many departures to return, earliest first (1–15, default 10). The result always says how many more were in the window.
|
|
450
474
|
- **`modes`** — Keep only these kinds of service: "bus", "tram", "subway" (U-Bahn), "rail" (every train, including S-Bahn and regional) or "ferry". Omit it unless the person named a kind — "nur Busse", "welche Tram". Several are allowed, which is what "die Busse und Bahnen vor dem Hbf" means. An S-Bahn is "rail": the feed does not always distinguish it, and the line name ("S 6") says which it is.
|
|
@@ -456,7 +480,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
456
480
|
|
|
457
481
|
**Read-only** — it changes nothing. Reaches a third-party source (open world). Idempotent: true. Destructive: false.
|
|
458
482
|
|
|
459
|
-
> Report whether a German railway station
|
|
483
|
+
> Report whether the lifts and escalators of a German railway station — or of a Köln Stadtbahn stop — are working now: each one, where it is, its state (in service / out of service / unknown) and the operator's explanation. Use when asked about step-free access or a broken lift: "Funktioniert der Aufzug am Kölner Hauptbahnhof?", "is the lift at Hamburg Hbf working?", "Rolltreppe am Neumarkt kaputt?", wheelchair, pram, heavy luggage. Do NOT use for train times, platforms or delays — call get_train_departures. At most 50 facilities, out-of-service ones first. Results carry their attribution line.
|
|
460
484
|
|
|
461
485
|
| parameter | type | required | default | constraints |
|
|
462
486
|
| --- | --- | --- | --- | --- |
|
|
@@ -470,7 +494,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
470
494
|
- **`facility`** — Which equipment to report: "elevator" for lifts only, "escalator" for escalators only, "any" for both (default). Pass a value only when the person named the equipment itself ("Aufzug", "Rolltreppe", "lift", "escalator"): a question about a wheelchair, a pram, heavy luggage or step-free access keeps the default — an escalator carries a suitcase too, and a filter there hides half of what the traveller needs. Filtering does not change how a broken one is reported, only which ones are listed.
|
|
471
495
|
- **`language`** — Set this on every call to the language the person is writing in: "en" if they wrote English, "de" if they wrote German. Do not leave it out because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is a wrong answer. Place names, station names and road numbers are never translated in either language; in English the German term is kept in parentheses so the person recognises it on signs and in local apps.
|
|
472
496
|
- **`limit`** — How many facilities to list (1–50, default 20). Out-of-service equipment is listed first and the counts in the summary always cover ALL of them, so a shorter list never hides a broken lift.
|
|
473
|
-
- **`station`** — The railway station
|
|
497
|
+
- **`station`** — The railway station — or Köln Stadtbahn stop — as the person says it: "Köln Hbf", "Hamburg Hbf", "Munich Central", "Neumarkt Köln". Pass their words — English names and "central station" are understood. If the name fits several stations the result lists them and asks which; do not guess one yourself. Give either station OR eva_no, never both.
|
|
474
498
|
|
|
475
499
|
### `watch_situation` — Watch for a change
|
|
476
500
|
|
|
@@ -505,14 +529,18 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
505
529
|
|
|
506
530
|
**Not read-only** — it creates or removes state. Answers from data this service already holds (closed world). Idempotent: false. Destructive: false.
|
|
507
531
|
|
|
508
|
-
> Ends a watch this conversation opened with watch_situation, so no further
|
|
532
|
+
> Ends a watch this conversation opened with watch_situation, so no further notifications arrive for it. Use when the person no longer needs to be told — "du musst mir nichts mehr zur A8 sagen", "stop watching that charger". No id at hand: pass kind ("charger") and, for a road or place, key ("A8", "Bamberg"); one match is stopped, several are listed. Do NOT use to look a situation up (call check_road_status), to list what is running (read viafrei://watches), or to cancel anything outside this chat. Another session's watch is never found. Results carry their attribution line.
|
|
509
533
|
|
|
510
534
|
| parameter | type | required | default | constraints |
|
|
511
535
|
| --- | --- | --- | --- | --- |
|
|
536
|
+
| `key` | string | no | — | min length 1; max length 200 |
|
|
537
|
+
| `kind` | string | no | — | one of `"road"`, `"station"`, `"region"`, `"place"`, `"weather"`, `"charger"` |
|
|
512
538
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
513
539
|
| `uri` | string | no | — | max length 64 |
|
|
514
540
|
| `watch_id` | integer | no | — | min 1; max 9007199254740991 |
|
|
515
541
|
|
|
542
|
+
- **`key`** — Instead of an id: the watched subject in the person's words, as watch_situation took it — works for road and place watches ("A8", "Bamberg"). For station, region, weather and charger watches `kind` alone is enough when one is open, and a key that matches none of them falls back to the kind alone. Matched against this session's open watches, case and spaces ignored. One match is stopped; several are listed and none is stopped.
|
|
543
|
+
- **`kind`** — Instead of an id: the kind of watch the person means, as watch_situation took it ("road", "station", "region", "place", "weather", "charger"). "Turn off the charging alert" is kind "charger" alone.
|
|
516
544
|
- **`language`** — Set this on every call to the language the person is writing in: "en" if they wrote English, "de" if they wrote German. Do not leave it out because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is a wrong answer. Place names, station names and road numbers are never translated in either language; in English the German term is kept in parentheses so the person recognises it on signs and in local apps.
|
|
517
545
|
- **`uri`** — The watch's resource uri, e.g. "viafrei://watch/12". Give either this or `watch_id`, not both.
|
|
518
546
|
- **`watch_id`** — The numeric id of the watch to stop, as `watch_situation` returned it (the 12 in viafrei://watch/12).
|
|
@@ -541,7 +569,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
541
569
|
- **`viafrei://status/feeds`** — Per feed: is it still arriving? green (a cycle inside the feed's own freshness window), red (stale or errored) or grey (never ran here). Subscribe to be told when a feed changes colour.
|
|
542
570
|
- **`viafrei://watches`** — The watches THIS conversation has open, with what each one is watching and when it expires. Session-scoped: another conversation's watches are not listed and cannot be reached.
|
|
543
571
|
- **`viafrei://gazetteer`** — What the place index (gazetteer_places) holds: rows and last load per source and kind, how many carry an English name, and the sixteen Länder it can name — the coverage behind find_place/find_poi/find_nearby's place answers.
|
|
544
|
-
- **`viafrei://addresses`** — What the OSM-derived address table (osm_addresses) holds per Bundesland —
|
|
572
|
+
- **`viafrei://addresses`** — What the OSM-derived address table (osm_addresses) holds per Bundesland — the Länder and each one's extract date read from the rows, the row counts estimated from the planner's statistics and labelled so — plus the ODbL § 4.6 offer owed to anyone who receives an address-derived result.
|
|
545
573
|
|
|
546
574
|
## Resource templates
|
|
547
575
|
|
|
@@ -567,7 +595,7 @@ single call.
|
|
|
567
595
|
|
|
568
596
|
| argument | required | description |
|
|
569
597
|
| --- | --- | --- |
|
|
570
|
-
| `origin` | **yes** | Where the drive starts, as the traveller wrote it. Example: "München" or "
|
|
598
|
+
| `origin` | **yes** | Where the drive starts, as the traveller wrote it. Example: "München" or "Bahnhofstraße 12, 36037 Fulda". |
|
|
571
599
|
| `destination` | **yes** | Where the drive ends, as the traveller wrote it. Example: "Berlin". |
|
|
572
600
|
| `roads` | no | The motorways the route uses, comma-separated, at most five. Example: "A9, A4". Leave it out and the recipe names the obvious ones and says so. |
|
|
573
601
|
| `departure` | no | When the drive starts, in local words or as an ISO-8601 time with offset. Example: "now", "tomorrow 06:30", "2026-09-21T06:30+02:00". Defaults to now. |
|
|
@@ -577,7 +605,7 @@ single call.
|
|
|
577
605
|
|
|
578
606
|
*Drive or take the train? — Auto oder Bahn?*
|
|
579
607
|
|
|
580
|
-
> Weighs one trip by car against the same trip by rail: closures and live jams on the motorway side, the next departures and the region's punctuality on the rail side, as two paragraphs the traveller can compare. Use when the traveller has not decided how to travel. Do NOT use once the decision is made — brief the drive with plan_departure, the rail leg with plan_commute. The punctuality figures
|
|
608
|
+
> Weighs one trip by car against the same trip by rail: closures and live jams on the motorway side, the next departures and the region's punctuality on the rail side, as two paragraphs the traveller can compare. Use when the traveller has not decided how to travel. Do NOT use once the decision is made — brief the drive with plan_departure, the rail leg with plan_commute. The punctuality figures keep their own attribution (share-alike unless VBB answered); show every attribution line.
|
|
581
609
|
|
|
582
610
|
| argument | required | description |
|
|
583
611
|
| --- | --- | --- |
|
|
@@ -618,7 +646,7 @@ single call.
|
|
|
618
646
|
|
|
619
647
|
*Plan today's commute by train — Pendelfahrt für heute planen*
|
|
620
648
|
|
|
621
|
-
> Plans one public-transport leg on the day itself: the next departures from the station with delays, platforms and cancellations, and whether the region's buses and trains are running normally at this hour. Use when the train is already the decision — a daily commute, or any leg where they need the next departures and nothing else. Do NOT use to weigh rail against driving — that is compare_travel_options — and not for motorway traffic, which is plan_departure. The punctuality figures
|
|
649
|
+
> Plans one public-transport leg on the day itself: the next departures from the station with delays, platforms and cancellations, and whether the region's buses and trains are running normally at this hour. Use when the train is already the decision — a daily commute, or any leg where they need the next departures and nothing else. Do NOT use to weigh rail against driving — that is compare_travel_options — and not for motorway traffic, which is plan_departure. The punctuality figures (share-alike unless VBB answered) stay in their own paragraph; show every attribution line.
|
|
622
650
|
|
|
623
651
|
| argument | required | description |
|
|
624
652
|
| --- | --- | --- |
|
|
@@ -648,7 +676,7 @@ single call.
|
|
|
648
676
|
|
|
649
677
|
| argument | required | description |
|
|
650
678
|
| --- | --- | --- |
|
|
651
|
-
| `query` | **yes** | The name to resolve, exactly as the traveller wrote it. Example: "Neustadt", "adesso", "
|
|
679
|
+
| `query` | **yes** | The name to resolve, exactly as the traveller wrote it. Example: "Neustadt", "adesso", "Bahnhofstraße 12, 36037 Fulda". |
|
|
652
680
|
| `near` | no | A second place to measure from, used only if find_place answers with more than one candidate for a common name. Example: "Hamburg". |
|
|
653
681
|
| `language` | no | Set this to the language the traveller is writing in: "en" for English, "de" for German. It decides both the language you answer in and the language argument you pass to every tool call in the recipe. Leave it out only when the language is genuinely unclear — the fallback is German, because the road is German. |
|
|
654
682
|
|
|
@@ -679,5 +707,5 @@ single call.
|
|
|
679
707
|
---
|
|
680
708
|
|
|
681
709
|
Generated from `catalogue.json` by `scripts/gen-api-doc.mjs`. The snapshot was
|
|
682
|
-
read from `https://mcp.viafrei.de/mcp` on 2026-10-
|
|
710
|
+
read from `https://mcp.viafrei.de/mcp` on 2026-10-07; no tool was invoked to
|
|
683
711
|
produce it, so no data provider was contacted.
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,111 @@ a Changelog and the versions follow Semantic Versioning.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [1.8.29] - 2026-10-07
|
|
9
|
+
|
|
10
|
+
**The bridge catches up with eleven server releases of the 1.8 stabilisation.**
|
|
11
|
+
The package now matches the server's 1.8.29. No tool, prompt or resource was
|
|
12
|
+
added or removed. These releases make answers more precise and easier to
|
|
13
|
+
follow up, and they tune the tool descriptions an assistant chooses by.
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- **`stop_watch` can stop a watch by what it watches.** When the watch id is
|
|
17
|
+
not at hand, `kind` with `key` ends a road or place watch ("stop watching
|
|
18
|
+
the A5"), and `kind` alone ends the one station, region, weather or charger
|
|
19
|
+
watch.
|
|
20
|
+
- **Places carry coordinates and their Land.** Place, address and POI lines
|
|
21
|
+
give coordinates and the Bundesland, and categories are named in words
|
|
22
|
+
("Krankenhaus", not a tag). A departures answer prints the stop id, so the
|
|
23
|
+
next question can reuse it.
|
|
24
|
+
- **Parking.** Where no operator or city publishes car parks, `find_parking`
|
|
25
|
+
and `find_nearby` list car parks from OpenStreetMap. These are kept apart
|
|
26
|
+
under ODbL and have no capacity or occupancy. On a search by place with no
|
|
27
|
+
kind given, lorry parks get their own section after the car parks.
|
|
28
|
+
- **Fuel.** A price older than 24 hours is never ranked with current ones.
|
|
29
|
+
When a city has no price, the fuel tools now say why. Opening hours are
|
|
30
|
+
filled in steadily from the price provider.
|
|
31
|
+
- **Roads.** `check_road_status {place}` answers for jams inside a city, and
|
|
32
|
+
takes a road for its Land. A roadworks site is one line however many
|
|
33
|
+
segments it has. Both road tools count sites rather than segments and say
|
|
34
|
+
what is in force now. A yes/no question on whether a road is closed goes to
|
|
35
|
+
`check_road_status`.
|
|
36
|
+
- **Departures.** `get_departures` adds the stops of the same station that
|
|
37
|
+
the timetable lists separately. Answers cover the place named in the
|
|
38
|
+
question and reach 48 hours ahead at any hour. A rail line from a named
|
|
39
|
+
departure station goes to the station's board.
|
|
40
|
+
- **Charging.** "Fast" means at least 50 kW and HPC at least 150 kW
|
|
41
|
+
(`min_power_kw`). A status nobody has confirmed for 30 minutes is shown as
|
|
42
|
+
old.
|
|
43
|
+
- **Answers in English** quote and label the provider's own German text
|
|
44
|
+
rather than translating it, and decimals follow the answer's language.
|
|
45
|
+
Lists and boards say when they are cut short, and duplicates are folded.
|
|
46
|
+
- **Station facilities** tell "none listed" apart from "no data". The
|
|
47
|
+
structured result of `check_station_facilities` gains a `coverage` field,
|
|
48
|
+
and a station the data does not cover now reports `known: false` with
|
|
49
|
+
`reason: "not_covered"` (it was `known: true`). A client reading `known`
|
|
50
|
+
should expect the new value.
|
|
51
|
+
- **Sharing.** The Ruhr's public bike share (metropolradruhr) is read
|
|
52
|
+
directly.
|
|
53
|
+
|
|
54
|
+
### Dependencies
|
|
55
|
+
- **`@modelcontextprotocol/sdk` 1.30.0 to 1.31.0** in the lockfile.
|
|
56
|
+
|
|
57
|
+
## [1.8.18] - 2026-10-06
|
|
58
|
+
|
|
59
|
+
**The bridge catches up with eighteen server releases, and the service enters a
|
|
60
|
+
stabilisation phase.** The package now matches the server's 1.8.18. Since 1.8.0 the
|
|
61
|
+
server has gained a twenty-first tool, many more sources and a large round of
|
|
62
|
+
fixes. This release describes them, and it carries the beta notice the server's
|
|
63
|
+
instructions already give.
|
|
64
|
+
|
|
65
|
+
### Added
|
|
66
|
+
- **`find_sharing`** — shared bikes near a place, from nextbike's and Donkey
|
|
67
|
+
Republic's public GBFS feeds (CC0 1.0): stations with bikes and free docks
|
|
68
|
+
now, and free-floating bikes around, with distance and data age (within 5 km;
|
|
69
|
+
e-scooters are not covered). It is read-only, and the README lists it under
|
|
70
|
+
its own group.
|
|
71
|
+
- **More road sources:** police and city traffic reports from Baden-Württemberg,
|
|
72
|
+
Schleswig-Holstein and Berlin (and from Köln and Hannover whenever those
|
|
73
|
+
cities publish one), roadworks on state roads in Niedersachsen, and on
|
|
74
|
+
federal and state roads in Sachsen and Thüringen.
|
|
75
|
+
- **Berlin and Brandenburg punctuality** from VBB's own realtime feed (CC BY
|
|
76
|
+
4.0). DELFI remains the source for the rest of Germany.
|
|
77
|
+
- **Charging:** the Bundesnetzagentur charging register, and live status from
|
|
78
|
+
more operators.
|
|
79
|
+
- **Parking:** car parks in Hamburg, Münster and North Rhine-Westphalia, and
|
|
80
|
+
occupancy where the operator publishes it.
|
|
81
|
+
- **SOURCES.md** now has one row for every source in the server's
|
|
82
|
+
`viafrei://attribution` resource, with its attribution line, its licence and a
|
|
83
|
+
status measured on 2026-10-06 from 1,081 real answers.
|
|
84
|
+
|
|
85
|
+
### Changed
|
|
86
|
+
- **Beta notice.** ViaFrei is being stabilised: sources are still being added,
|
|
87
|
+
and answers and coverage can change. Answers are written by an AI assistant
|
|
88
|
+
from our data and can contain mistakes. Check anything important (a closure,
|
|
89
|
+
a departure, a price) against the source the answer names. The README says
|
|
90
|
+
this at the top.
|
|
91
|
+
- Tool descriptions were refined for `check_road_status`, `find_roadworks_ahead`,
|
|
92
|
+
`find_poi`, `check_transit_disruption` and `check_station_facilities`. So were
|
|
93
|
+
the `viafrei://addresses` resource and the `compare_travel_options` and
|
|
94
|
+
`plan_commute` prompts. `API.md` and the README catalogue are regenerated from
|
|
95
|
+
the running server.
|
|
96
|
+
- **New parameter values.** `find_poi`'s `category` accepts `historic` and
|
|
97
|
+
`natural`; the `road` argument of `check_road_status` and
|
|
98
|
+
`find_roadworks_ahead` accepts state roads (`L 3`, `S 84`) as well as
|
|
99
|
+
motorways and federal roads.
|
|
100
|
+
- **New server instructions.** The `initialize` instructions now name the
|
|
101
|
+
source families and ask clients to show `_meta.conditionNote` verbatim, as
|
|
102
|
+
they already show `purposeNote`: some sources attach a condition to how
|
|
103
|
+
their data may be shown.
|
|
104
|
+
|
|
105
|
+
### Fixed
|
|
106
|
+
- **Punctuality for a whole region answers again.** Large regions such as Bayern,
|
|
107
|
+
Nordrhein-Westfalen, Hamburg, München, Köln, Rhein-Main and the Ruhr area had
|
|
108
|
+
stopped answering after 10 seconds. They now answer in 0.3–4 seconds. One
|
|
109
|
+
Land, Niedersachsen, is still being fixed.
|
|
110
|
+
- **A Berlin/Brandenburg answer no longer states a licence limit that VBB does
|
|
111
|
+
not set.**
|
|
112
|
+
|
|
8
113
|
## [1.8.0] - 2026-10-05
|
|
9
114
|
|
|
10
115
|
**Mirrors the server.** The bridge is versioned to match the ViaFrei MCP server it
|
|
@@ -2006,6 +2111,8 @@ for it, so the number is free; the bridge will use it when the platform does.
|
|
|
2006
2111
|
commits, and a squash makes them unreachable from `main` - which would turn
|
|
2007
2112
|
the check red on `main` for everybody, for something no contributor did.
|
|
2008
2113
|
|
|
2114
|
+
[1.8.29]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.8.29
|
|
2115
|
+
[1.8.18]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.8.18
|
|
2009
2116
|
[1.8.0]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.8.0
|
|
2010
2117
|
[1.7.5]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.7.5
|
|
2011
2118
|
[1.7.4]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.7.4
|