MGM Radar

v0.40.2
io.github.Velosophic-Life/mgm-radar Checked 2 days ago Published 1 hour ago

Türkiye radar rain observations with confidence and frame age.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

rain_now Rain now at a place

Current radar observation at one Turkish place or coordinate. Use for present-tense rain questions: 'Is it raining in Kartal?', 'Do I need an umbrella?', 'Şu anda yağmur yağıyor mu?', "Soğanlık'ta yağmur başladı mı?". Not for a forecast; do not use it for tomorrow or 'yarın'. `place` accepts a province, district, neighborhood, village, place id, or a qualified name such as 'Soğanlık, Kartal, İstanbul'; alternatively send both `lat` and `lon`. Returns `status` (rain_detected | no_rain_detected | indeterminate), `confidence`, nullable `raining`/`intensity`/`rain_mm_hr`, the frame `…

ParameterTypeDescription
latWGS84 latitude in decimal degrees. Send together with `lon`.
lonWGS84 longitude in decimal degrees. Send together with `lat`.
placeTurkish province, district, neighborhood, or village name, a place id, or a qualified form such as 'Soğanlık, Kartal, İstanbul'. Ambiguous bare names return candidates; qualify them instead of gues…

rain_series Observed rain history for one location

Observed rain history over a time range for one Turkish location. Use for 'How much rain fell in the last two hours?', 'Has it been raining all morning?', 'Son 3 saatte yağış oldu mu?'. This is history, not a forecast; never use it for 'will it rain'. Requires `from` and `to` in UTC ISO-8601 plus one location. Returns one sample per available frame with scan time, rain rate, and confidence, plus explicit `gaps` and `completeness`; values are never interpolated. Requires the `history` plan feature; at most 200 samples.

ParameterTypeDescription
from *stringInclusive start, UTC ISO-8601, e.g. 2026-11-10T18:00:00Z.
to *stringInclusive end, UTC ISO-8601.
latWGS84 latitude in decimal degrees. Send together with `lon`.
lonWGS84 longitude in decimal degrees. Send together with `lat`.
placeTurkish province, district, neighborhood, or village name, a place id, or a qualified form such as 'Soğanlık, Kartal, İstanbul'. Ambiguous bare names return candidates; qualify them instead of gues…
step_minutesSample step in minutes. Defaults to the source cadence.

radar_snapshot Radar image for an area

Radar image (PNG) for one Turkish place or bounding box. Use only when the user asks to see a radar image or map: "Show me Istanbul's radar", 'Radar haritasını göster'. Do not use it for a simple 'is it raining?' question; use rain_now. Returns an image/png content block and a caption with the exact area, scan time, frame age, freshness, and attribution. For a neighborhood the image is a small documented box around its published coordinate, not the district centre. `at` selects a historical frame and requires the `images` feature; omit it for the latest frame. Width defaults to 768 and is c…

ParameterTypeDescription
atScan time as UTC ISO-8601. Omit for the newest frame; an explicit time requires the images feature.
bboxWGS84 bounding box as west,south,east,north. Use instead of `place` for a map view.
placeTurkish place name, qualified name, or place id. Prefer this over `bbox` when the user names a place.
widthOutput width in pixels, 256-1024. Defaults to 768.

compare_places Compare rain across places

Compare current rain across 2 to 50 Turkish places in one shared frame. Use for 'Where is it raining in Istanbul?', 'Which is wetter, Kadıköy or Beşiktaş?', "İstanbul'da nerelerde yağmur var?", or any multi-location present-tense question. Do not use it for a time series (rain_series) or an image (radar_snapshot). Each entry accepts `place` (province, district, neighborhood, village, qualified name, or id) or `lat`+`lon`, plus an optional label. Returns per-location `status`, nullable `raining`/rate/intensity, `confidence`, and text in input order, with the shared scan time and freshness…

ParameterTypeDescription
locations *arrayPlaces or coordinates to compare. Each entry accepts `place`, or `lat`/`lon`, plus an optional label.

coverage_check Check radar coverage

Whether the radar footprint serves one Turkish place or coordinate. Use only when coverage itself is the question, or to explain an `outside_coverage` result: 'Is this location covered by radar?', 'Bu bölge radar kapsamında mı?'. Do not call it for a normal rain question; rain_now already reports `outside_coverage`. Returns `served`, `confidence`, the served bounds, and a coverage link. Coverage alone does not say whether it is raining, and `unknown` is not dry. Works on every plan.

ParameterTypeDescription
latWGS84 latitude in decimal degrees. Send together with `lon`.
lonWGS84 longitude in decimal degrees. Send together with `lat`.
placeTurkish province, district, neighborhood, or village name, a place id, or a qualified form such as 'Soğanlık, Kartal, İstanbul'. Ambiguous bare names return candidates; qualify them instead of gues…