contextual_advice
Personalised air quality advice for a UK location and a specific user context.
Use this tool whenever the user asks an air-quality question that depends on who they are or what they're about to do: e.g. asthma, pregnancy, school-age child, gas cooker at home, tube commute, outdoor exercise. It composes location-specific pollution with the user's personal context to produce evidence-based advice — far more targeted than a generic "high pollution day" handout.
Composable with Hermes: pass pm25/no2 from Hermes get_current_aq for advice based on live readings rather than annual average estimates.
Returns structured advice with a plain-English summary, health context, and local intervention information. Present the 'summary' to users first.
Args: postcode: UK postcode (e.g. "SE17 1RL"). Provides coords + LAEI pollution. latitude: Latitude for coordinate-based lookup. longitude: Longitude for coordinate-based lookup. pm25: PM2.5 concentration in ug/m3. Overrides location-based estimate. no2: NO2 concentration in ug/m3. Overrides location-based estimate. setting: Context — residential, school, workplace, outdoor_exercise, commute. has_gas_cooker: Whether the person has a gas cooker (affects indoor advice). commute_mode: If setting is commute — walk, cycle, bus, car, train, tube. has_indoor_sources: Indoor pollution sources (smoking, woodstove). audience: Target audience — general, children, elderly, respiratory, pregnant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| no2 | No | ||
| pm25 | No | ||
| setting | No | residential | |
| audience | No | general | |
| latitude | No | ||
| postcode | No | ||
| longitude | No | ||
| commute_mode | No | ||
| has_gas_cooker | No | ||
| has_indoor_sources | No |