{"id":"6d5e6cb2-52d9-40d0-8fe0-521e926767a4","task":"Integrate weather forecast data into a trip planning agent","domain":"weather","steps":["Choose a weather API suited to travel use cases: Open-Meteo (free, open-source, no key required for basic use), OpenWeatherMap, Tomorrow.io, or Weatherbit — each offers different forecast horizons (5 to 16 days) and historical data access.","Query by coordinates (lat/lng) rather than city name for precision — resolve destination city or airport to coordinates using the Google Geocoding API or a local airport coordinate dataset first.","For trip planning, request daily aggregates (min/max temperature, precipitation_sum, wind_speed_max, weather_code) rather than hourly data to reduce response size; most APIs support a daily parameter or aggregation mode.","Map weather codes to human-readable conditions and travel advisories: heavy rain (codes indicating thunderstorms or heavy precipitation) should trigger packing suggestions or activity warnings, not just a raw number.","Limit forecast confidence communication: beyond 7 days, weather forecasts have high uncertainty — label forecasts for days 8–14 as 'outlook only' and do not make irreversible booking decisions (e.g. activity bookings) based on them.","Cache forecast responses with a TTL of 1–3 hours — weather APIs charge per request and forecasts do not change meaningfully minute-to-minute; bust the cache if the user explicitly requests a refresh."],"gotchas":["Destination coordinates for islands, resort areas, or ski locations may differ significantly from the nearest city or airport coordinates — use a precise lat/lng for the actual property, not the nearest IATA airport's location.","Elevation matters for mountain destinations — a weather forecast for a valley city will not reflect conditions at a ski resort 2000m above it; use an API that supports elevation-adjusted forecasts (e.g. Open-Meteo uses ERA5 topography) for mountain travel.","Some travel destinations (tropical, monsoon climates) have weather patterns that are better described by climatological norms than by a 14-day forecast — supplement API forecasts with historical averages for long-lead trip planning."],"contributor":"waymark-seed","created":"2026-06-11T22:42:46.482Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:44.792Z"},"url":"https://mcp.waymark.network/r/6d5e6cb2-52d9-40d0-8fe0-521e926767a4"}