Skip to main content
Glama

PitCanary

Check indoor readings against the rules

check_values
Read-onlyIdempotent

Use 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

NameRequiredDescriptionDefault
roomNoOptional room type, as PitCanary names it and list_rooms returns it. It is mapped onto the rules for that kind of room.
timeNoOptional local time of the reading, HH:MM on a 24-hour clock, for rules tied to working hours or the night.
co_ppmNo
regionNoOptional region as an ISO 3166-2 code, for example BE-BRU, where regional rules differ from the national ones.
seasonNoOptional season of the reading: winter, summer, heating season or cooling season.
wbgt_cNo
co2_ppmNo
countryYesCountry 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.
humidexNo
no2_ppmNo
buildingNoOptional building type, as the library names it: office, workplace, school, dwelling, hospitality, retail and the others in the list.
co_mg_m3No
occupiedNoWhether the room was in use when the reading was taken. Some rules apply only while a room is occupied.
tvoc_ppmNo
co2_mg_m3No
no2_ug_m3No
noise_dbaNo
ozone_ppmNo
oxygen_pctNo
pm10_ug_m3No
pm25_ug_m3No
tvoc_ug_m3No
ozone_ug_m3No
radon_bq_m3No
fungi_cfu_m3No
heat_index_cNo
air_changes_hNo
air_speed_m_sNo
benzene_ug_m3No
mould_area_m2No
noise_peak_paNo
temperature_cNo
illuminance_lxNo
noise_laeq_dbaNo
noise_peak_dbcNo
bacteria_cfu_m3No
luminance_ratioNo
noise_lex8h_dbaNo
particles_totalNo
reverberation_sNo
ventilation_l_sNo
formaldehyde_ppmNo
formaldehyde_ug_m3No
rh_daily_swing_pctNo
temperature_factorNo
temperature_rise_kNo
ventilation_l_s_m2No
daylight_factor_pctNo
ventilation_m3_h_m2No
colour_temperature_kNo
impact_sound_lntw_dbNo
moisture_surplus_g_m3No
outdoor_temperature_cNo
overheating_indicatorNo
relative_humidity_pctNo
sound_reduction_rw_dbNo
surface_temperature_cNo
ventilation_m3_h_roomNo
forecast_max_outdoor_cNo
illuminance_uniformityNo
noise_rating_level_dbaNo
pressure_difference_paNo
ventilation_l_s_personNo
effective_temperature_cNo
operative_temperature_cNo
ventilation_m3_h_personNo
noise_equipment_lnat_dbaNo
noise_peak_db_unweightedNo
sound_insulation_dntw_dbNo
temperature_daily_swing_kNo
sound_reduction_apparent_rw_dbNo
temperature_difference_vertical_kNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already declare read-only, idempotent, non-destructive, closed-world behavior. The description adds context not covered by annotations: it is informative only and gives no verdict on a room, it explains the source-priority ordering (region, country, EU/international), it notes that one reading has limits, and it states no account is needed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single dense paragraph that is front-loaded with the use case and exclusions before the return details. It is long, but much of that length is justified by the 72-parameter schema and the absence of an output schema; splitting it into shorter sections would improve readability without changing the content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex 72-parameter tool with no output schema, the description covers purpose, usage, sibling alternatives, return contents, source ordering, limitations and account requirements. The main remaining gap is that many optional parameter semantics are left to the schema and parameter names, but overall it is complete enough to invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 72 parameters and only 10% schema description coverage, the description cannot fully document every field. It does add meaningful guidance by saying readings are named numbers such as co2_ppm, temperature_c, relative_humidity_pct, noise_laeq_dba, illuminance_lx or radon_bq_m3, and by pointing to pitcanary://regulations/ for covered quantities, but many optional context fields and unitless metrics remain reliant on the schema and parameter names.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: checking an indoor reading against applicable rules. It defines the scope precisely (any sensor reading, limits/targets/recommendations from laws, regulations and guidelines for the country) and explicitly distinguishes the tool from find_regulations and get_regulation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit trigger: use this when someone supplies an indoor reading and asks what the rules say about it. It also names two exclusions and the sibling tools that handle them: find_regulations for listing rules without a reading, and get_regulation for reading one source in full.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources