heritage_narration
Three to five short spoken lines an hour about the ground a route is on: one sentence, at the point the driver reaches the thing it is about, and then silence. Not a tour and not a chatbot. NOTHING IS GENERATED HERE: every line is a sentence a person wrote from a public-domain plaque inscription and a person reviewed, compiled into the gateway binary, so no model runs in this path and the lines are identical for every driver. Give geometry_polyline6 from the route tool and, IMPORTANT, duration_s from the same answer: without it the silence budget falls back to a distance, and "four lines an hour" is a claim about time that a distance answers wrongly at both ends. Optional min_gap_s, min_gap_m, max_offset_m (default 60, hard ceiling 80), max_lines and voice_format ("opus" or "m4a", which adds each line's audio cache key and URL and NEVER synthesises). COVERAGE IS ONE CORRIDOR, deliberately: the Chelsea riverside, 18 reviewed lines over 5 km. EVERY OTHER ROUTE ANSWERS WITH NO LINES, and that is a correct answer rather than a failure. ALWAYS READ THE CENSUS, which is the record of WHAT WAS NOT SAID: no lines with every entry in beyond_reach means this feature does not cover the journey; no lines with entries in silenced_by_budget means the corridor is covered and the budget is holding them back. They are different answers and must never be relayed the same way. On the reference route the census reports 1 spoken and 17 silenced, which is the design working, not a thin corpus. Every line publishes offset_m, the measured distance from the plaque to the route, because it is the entire warrant for the word "here", and plaque_ids so any claim can be taken back to its source. TWO OMISSIONS ARE DELIBERATE: no line says anything is visible, still standing or unchanged (a plaque records that somebody was somewhere, and nothing more), and NO LINE SAYS WHICH SIDE OF THE ROAD anything is on, because nothing in the source records it and a look that finds nothing spends the driver's trust in everything else. Do not add either. COSTS 1 UNIT a call: it reads no tiles and opens no archive. Requires the MapMap gateway (GATEWAY_URL + GATEWAY_API_KEY).
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": {
"geometry_polyline6": "<geometry_polyline6>"
},
"name": "heritage_narration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_lines | No | Ceiling on how many lines come back, 1 to 50 (default 12). | |
| min_gap_m | No | Least distance between two lines, metres (default 400). A floor under the time budget in every case. | |
| min_gap_s | No | Least time between two lines, seconds (default 900, which is four an hour). Applied only with `duration_s`. | |
| duration_s | No | That route's own duration, seconds: `duration_s` from the same answer. **Supply it.** Without it the silence budget falls back to a distance, and "three to five lines an hour" is a claim about time that a distance answers wrongly at both ends. | |
| max_offset_m | No | How near a plaque must come to the route before its line may be spoken, metres (default 60, hard ceiling 80). | |
| voice_format | No | Container to address each line's audio clip in: `opus` or `m4a`. Given, every line gains a `clip` with its synthesis cache key and URL. It NEVER synthesises: the key is a pure function of the sentence, so asking here buys nothing. | |
| geometry_polyline6 | Yes | The route shape, precision-6 encoded: `geometry_polyline6` straight out of the `route` tool's answer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | The lines, in route order. Empty is the ordinary answer nearly everywhere: read `census` before saying anything about it. | |
| caveat | Yes | The standing limits, for relaying to users. | |
| census | Yes | The census of what was NOT said: `corpus_entries`, `within_reach`, `beyond_reach`, `spoken`, `silenced_by_budget`, the gap that was applied and what it was derived from. An empty `lines` with every entry in `beyond_reach` means this feature does not cover the journey; an empty `lines` with entries in `silenced_by_budget` means the budget is working. They are different answers and must not be reported the same way. | |
| corridor | Yes | The corridor that was consulted: its id, name, the road it runs on and the date its lines were reviewed. | |
| attribution | Yes | The licence notice for this answer. | |
| route_length_m | Yes | The route's own length, metres. |