Skip to main content
Glama

Check a gas safety record or commissioning record before issuing it

check_gas_record
Read-onlyIdempotent

Checks a filled landlord gas safety record (CP12) or a boiler commissioning record and lists errors and warnings: missing required fields, failed tightness, flue, ventilation or safety device checks, CO/CO2 ratio over the limits, gas rate off the rated input, meter pressure out of range, an unsafe appliance marked safe, and the correct next due date (keeping the anniversary for checks done up to 2 months early). Gas safety record fields: property_address, landlord_name, landlord_address, engineer_name, gas_safe_registration_number, engineer_licence_number, check_date, previous_record_expiry_date, next_check_due, engineer_signature, tightness_test_passed, emergency_control_accessible, meter_standing_pressure_mbar, meter_working_pressure_mbar, appliances[] {type, make, model, location, flue_type, flue_check_passed, ventilation_satisfactory, safety_devices_ok, co_ppm, co2_percent, co_co2_ratio, rated_heat_input_kw_gross, measured_gas_rate_m3_h, inlet_working_pressure_mbar, status (safe, ncs, at_risk, immediately_dangerous), safe_to_use, action_taken}. Commissioning fields: property_address, engineer_name, commissioning_date, boiler_type, system_flushed, inhibitor_added, inhibitor_name, filter_fitted, water_hardness_ppm, scale_reducer_fitted, condensate_external_pipe_mm, controls_time_and_temperature, combi_extra_measure, co_alarm_fitted, building_regs_notified, dhw_flow_l_min, dhw_temp_rise_c, appliances[] {make, model, serial_number, co_ppm, co2_percent, min_rate {co_ppm, co2_percent}, rated_heat_input_kw_gross, measured_gas_rate_m3_h}. Up to 30 appliances.

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": {
      "record_type": "<record_type>",
      "record": "<record>"
    },
    "name": "check_gas_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
tradeNoOptional. The plumber or heating engineer's own business details (Nero Trade Profile v1, the same shape as Spark Pack and Nero Work). Used to prefill records and to give a stable nero_trade_ref. Not stored by Flow Pack.
recordYesThe filled fields (see the description).
record_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / trade / properties / categories / description
      Previous value: -"Trades offered, using Nero Work trade names. Defaults to [\"plumber\", \"heating\"]."New value: +"The trades the business offers. Defaults to [\"plumber\", \"heating\"]."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds real domain behavior beyond that: the specific error classes checked (tightness, flue, ventilation, CO/CO2 ratio, gas rate vs rated input, meter pressure, appliance marked safe while unsafe) and a non-obvious business rule about keeping the anniversary for checks done up to 2 months early. It does not state whether findings are blocking or advisory, which keeps it below 5.

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

Conciseness3/5

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

The purpose is correctly front-loaded in the first clause, but the remainder is one long run-on sentence with comma-spliced field lists that are hard to scan for a nested payload. The content is dense and mostly necessary, yet bulleted or separated field groups would communicate the same information far more efficiently.

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 read-only validator with no output schema, the description establishes inputs and the categories of findings returned. It leaves gaps on whether record fields are required vs optional and what the error/warning objects look like, which matter for an agent constructing a valid payload. Strong overall, but not airtight.

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

Parameters5/5

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

The schema punts the entire payload shape to the description ('The filled fields (see the description)'), so the enumerated field lists for both gas safety and commissioning variants are the only specification an agent has for the nested record object. This is substantial meaning added beyond the input schema, including nested appliances[] sub-fields and the 30-appliance cap.

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

Purpose4/5

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

The description opens with a precise verb+resource: 'Checks a filled landlord gas safety record (CP12) or a boiler commissioning record and lists errors and warnings.' An agent immediately knows this is a pre-issue validator for two specific document types. It does not name or differentiate itself from siblings like check_notifiable_work or property_check, so it stops short of a 5.

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

Usage Guidelines4/5

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

The title's 'before issuing it' gives clear situational context — call this after a record is filled but before it is handed to the customer. No exclusion criteria or alternative tools are named, so an agent must infer that this is not for creating or storing records. Clear context, no alternatives, hence a 4.

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.