Check indoor readings against the rules
check_valuesUse this when someone gives an indoor reading from any sensor (CO2, temperature, humidity, noise, light, radon, ventilation and more) and asks what the rules where they are say about it: whether it is good, too high or too low. Per reading it returns each matching limit, target or recommendation from the laws, regulations and guidelines of that country, nearest first (region, country, then EU and international), whether the value is inside it, whether the source is binding, the source, article, date read and who enforces it, PitCanary's own range for the room type, labelled as such, and what one reading cannot tell. Each reading is a named number such as co2_ppm, temperature_c, relative_humidity_pct, noise_laeq_dba, illuminance_lx or radon_bq_m3; pitcanary://regulations/ lists the countries and quantities covered. Not for listing rules without a reading (find_regulations) or reading one source in full (get_regulation). Informative only: it reports what each source says and gives no verdict on a room. No account needed.
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": {
"country": "<country>"
},
"name": "check_values"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| room | No | Optional room type, as PitCanary names it and list_rooms returns it. It is mapped onto the rules for that kind of room. | |
| time | No | Optional local time of the reading, HH:MM on a 24-hour clock, for rules tied to working hours or the night. | |
| co_ppm | No | ||
| region | No | Optional region as an ISO 3166-2 code, for example BE-BRU, where regional rules differ from the national ones. | |
| season | No | Optional season of the reading: winter, summer, heating season or cooling season. | |
| wbgt_c | No | ||
| co2_ppm | No | ||
| country | Yes | Country as an ISO 3166-1 code in lower case (be, de, gb, nl, us and the others in the list), or int for international guidance (WHO, EN) when the country is not covered or not known. | |
| humidex | No | ||
| no2_ppm | No | ||
| building | No | Optional building type, as the library names it: office, workplace, school, dwelling, hospitality, retail and the others in the list. | |
| co_mg_m3 | No | ||
| occupied | No | Whether the room was in use when the reading was taken. Some rules apply only while a room is occupied. | |
| tvoc_ppm | No | ||
| co2_mg_m3 | No | ||
| no2_ug_m3 | No | ||
| noise_dba | No | ||
| ozone_ppm | No | ||
| oxygen_pct | No | ||
| pm10_ug_m3 | No | ||
| pm25_ug_m3 | No | ||
| tvoc_ug_m3 | No | ||
| ozone_ug_m3 | No | ||
| radon_bq_m3 | No | ||
| fungi_cfu_m3 | No | ||
| heat_index_c | No | ||
| air_changes_h | No | ||
| air_speed_m_s | No | ||
| benzene_ug_m3 | No | ||
| mould_area_m2 | No | ||
| noise_peak_pa | No | ||
| temperature_c | No | ||
| illuminance_lx | No | ||
| noise_laeq_dba | No | ||
| noise_peak_dbc | No | ||
| bacteria_cfu_m3 | No | ||
| luminance_ratio | No | ||
| noise_lex8h_dba | No | ||
| particles_total | No | ||
| reverberation_s | No | ||
| ventilation_l_s | No | ||
| formaldehyde_ppm | No | ||
| formaldehyde_ug_m3 | No | ||
| rh_daily_swing_pct | No | ||
| temperature_factor | No | ||
| temperature_rise_k | No | ||
| ventilation_l_s_m2 | No | ||
| daylight_factor_pct | No | ||
| ventilation_m3_h_m2 | No | ||
| colour_temperature_k | No | ||
| impact_sound_lntw_db | No | ||
| moisture_surplus_g_m3 | No | ||
| outdoor_temperature_c | No | ||
| overheating_indicator | No | ||
| relative_humidity_pct | No | ||
| sound_reduction_rw_db | No | ||
| surface_temperature_c | No | ||
| ventilation_m3_h_room | No | ||
| forecast_max_outdoor_c | No | ||
| illuminance_uniformity | No | ||
| noise_rating_level_dba | No | ||
| pressure_difference_pa | No | ||
| ventilation_l_s_person | No | ||
| effective_temperature_c | No | ||
| operative_temperature_c | No | ||
| ventilation_m3_h_person | No | ||
| noise_equipment_lnat_dba | No | ||
| noise_peak_db_unweighted | No | ||
| sound_insulation_dntw_db | No | ||
| temperature_daily_swing_k | No | ||
| sound_reduction_apparent_rw_db | No | ||
| temperature_difference_vertical_k | No |