Server definition
- Hash
- sha256:148302e581a7ac3e59eb2ae181e4aa8ec4eb2618647ce5400a7427b64243c4cf
- What it is
- What a remote MCP server returned when asked what it offers: 7 tools
The blob, as servednamed by its sha256
{
"instructions": "Tools for UK electrical work (England and Wales for Part P; Great Britain for grid connection). Use size_cable for cable size, voltage drop and earth fault loop checks; check_part_p to see if a job must be notified to building control; get_certificate_schema then check_certificate to build and check an EIC, Minor Works certificate or EICR; check_grid_connection for solar, batteries, EV chargers and heat pumps. Every answer shows its working and sources and lists what the electrician must confirm in BS 7671; relay those checks to the electrician, do not drop them. Optional: pass the electrician's business details as `trade` (see trade_profile) to prefill certificates.",
"tools": [
{
"description": "Checks a filled EIC, Minor Works certificate or EICR (shape from get_certificate_schema) and returns `ready_to_transfer`, every missing required field by path, errors (readings that fail: insulation resistance under 1 megohm at 500 V, measured Zs above the maximum for the breaker, RCD trip times too slow, wrong polarity, an EICR marked satisfactory with a C1 or C2) and warnings (Zs above 80% of maximum, mismatched ring readings, low insulation resistance). Contractor fields left blank are filled from `trade`. Returns the (prefilled) data back.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"certificate": {
"enum": [
"eic",
"minor_works",
"eicr"
],
"type": "string"
},
"data": {
"description": "The certificate object, shaped like the JSON Schema from get_certificate_schema.",
"type": "object"
},
"trade": {
"additionalProperties": false,
"description": "Optional. The electrician's own business details (Nero Trade Profile v1). Used to prefill certificate contractor fields and to give a stable nero_trade_ref. Not stored by Spark Pack.",
"properties": {
"address": {
"description": "Business address for the certificate contractor block.",
"type": "string"
},
"categories": {
"description": "Trades offered. Defaults to [\"electrical\"].",
"items": {
"type": "string"
},
"type": "array"
},
"company_name": {
"description": "Registered company name, if a limited company.",
"type": "string"
},
"company_number": {
"description": "Companies House number, for example 12345678 or SC123456.",
"type": "string"
},
"display_name": {
"description": "Trading name shown to customers, for example \"Bright Sparks Electrical\".",
"type": "string"
},
"email": {
"type": "string"
},
"licence_body": {
"description": "Competent person scheme the business is registered with.",
"enum": [
"niceic",
"napit",
"elecsa",
"stroma",
"certsure",
"benchmark",
"other",
"none"
],
"type": "string"
},
"licence_number": {
"description": "Scheme registration or enrolment number.",
"type": "string"
},
"phone": {
"type": "string"
},
"postcode": {
"type": "string"
},
"town": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"certificate",
"data"
],
"type": "object"
},
"name": "check_certificate",
"outputSchema": null
},
{
"description": "For solar PV, batteries, V2G chargers, EV chargers and heat pumps in Great Britain: says which network operator process applies and when. Generation: G98 (fully type tested, 16 A / 3.68 kW per phase or less: install, then notify within 28 days) or G99 (apply and wait for acceptance before installing), counting existing generation and battery inverters. Demand: the ENA EV charge point and heat pump form (connect and notify within 28 days if every criterion is met, otherwise apply first), with each criterion marked true, false or null (not yet known). Returns `generation`, `demand`, `facts_to_put_on_the_form` (prefilled from inputs and `trade`), `missing_facts` and sources. Example: 5 kW solar plus a 5 kW battery inverter on single phase: {\"supply_phases\":1,\"new_equipment\":[{\"type\":\"solar_pv\",\"rating_kw\":5,\"type_tested\":true},{\"type\":\"battery\",\"rating_kw\":5,\"type_tested\":true}]}.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"battery_storage_kwh": {
"type": "number"
},
"commissioning_date": {
"description": "YYYY-MM-DD.",
"type": "string"
},
"ct_metered": {
"type": "boolean"
},
"cut_out_rating_a": {
"description": "Network cut-out fuse rating, amps. Do not open the cut-out to find it.",
"type": "number"
},
"earthing": {
"description": "Supply earthing, for example TN-C-S.",
"type": "string"
},
"existing_equipment": {
"description": "Generation, storage or chargers already at the premises, same shape as new_equipment.",
"items": {
"type": "object"
},
"type": "array"
},
"export_limit_kw": {
"description": "Export limit if an export limiting scheme (G100) is fitted.",
"type": "number"
},
"heat_pump_single_controller": {
"type": "boolean"
},
"load_limiting_device": {
"description": "A load limiting or curtailment device keeps demand below the cut-out rating.",
"type": "boolean"
},
"looped_service": {
"description": "The supply is looped with a neighbour.",
"type": "boolean"
},
"max_demand_after_a": {
"description": "Premises maximum demand after the installation, amps per phase (from a load survey).",
"type": "number"
},
"metered": {
"description": "The supply is metered (defaults to unknown).",
"type": "boolean"
},
"mpan": {
"description": "Meter point administration number (the supply number on the bill).",
"type": "string"
},
"multiple_premises": {
"description": "Part of several installations in a close area (housing development, street-wide scheme).",
"type": "boolean"
},
"nation": {
"description": "Defaults to great_britain.",
"enum": [
"great_britain",
"northern_ireland"
],
"type": "string"
},
"new_equipment": {
"description": "Equipment being installed.",
"items": {
"additionalProperties": false,
"properties": {
"connect_and_notify_listed": {
"description": "Heat pumps: the model is marked Connect and Notify in the ENA heat pump database.",
"type": "boolean"
},
"manufacturer": {
"type": "string"
},
"model": {
"type": "string"
},
"phase_connection": {
"description": "Defaults to single.",
"enum": [
"single",
"three"
],
"type": "string"
},
"rating_kw": {
"description": "AC rating in kW: the inverter rating for PV and batteries, the charge rate for EV chargers, the maximum electrical input for heat pumps.",
"type": "number"
},
"type": {
"enum": [
"solar_pv",
"battery",
"v2g_charger",
"ev_charger",
"heat_pump",
"wind",
"other_generation"
],
"type": "string"
},
"type_tested": {
"description": "Fully type tested and on the ENA Type Test Verification Report Register.",
"type": "boolean"
}
},
"required": [
"type",
"rating_kw"
],
"type": "object"
},
"type": "array"
},
"service_equipment_ok": {
"description": "No safety or adequacy concerns with the cut-out and service cable.",
"type": "boolean"
},
"site_postcode": {
"type": "string"
},
"supply_phases": {
"description": "Defaults to 1.",
"enum": [
1,
3
],
"type": "number"
},
"trade": {
"additionalProperties": false,
"description": "Optional. The electrician's own business details (Nero Trade Profile v1). Used to prefill certificate contractor fields and to give a stable nero_trade_ref. Not stored by Spark Pack.",
"properties": {
"address": {
"description": "Business address for the certificate contractor block.",
"type": "string"
},
"categories": {
"description": "Trades offered. Defaults to [\"electrical\"].",
"items": {
"type": "string"
},
"type": "array"
},
"company_name": {
"description": "Registered company name, if a limited company.",
"type": "string"
},
"company_number": {
"description": "Companies House number, for example 12345678 or SC123456.",
"type": "string"
},
"display_name": {
"description": "Trading name shown to customers, for example \"Bright Sparks Electrical\".",
"type": "string"
},
"email": {
"type": "string"
},
"licence_body": {
"description": "Competent person scheme the business is registered with.",
"enum": [
"niceic",
"napit",
"elecsa",
"stroma",
"certsure",
"benchmark",
"other",
"none"
],
"type": "string"
},
"licence_number": {
"description": "Scheme registration or enrolment number.",
"type": "string"
},
"phone": {
"type": "string"
},
"postcode": {
"type": "string"
},
"town": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"new_equipment"
],
"type": "object"
},
"name": "check_grid_connection",
"outputSchema": null
},
{
"description": "Answers whether domestic electrical work in England or Wales must be notified to building control under Part P of the Building Regulations, with the reason and what to do next (self-certify through a competent person scheme within 30 days, or tell building control before starting). England and Wales differ: in Wales kitchens and outdoor areas are still special locations. Returns `notifiable` (true or false), `answer`, `reason`, `what_to_do`, `must_check` and sources. Scotland and Northern Ireland return not_covered. Example: adding a socket in a kitchen in England: {\"nation\":\"england\",\"work\":\"add_to_or_alter_existing_circuit\",\"locations\":[\"kitchen\"]}.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"building": {
"description": "Defaults to dwelling.",
"enum": [
"dwelling",
"outbuilding_or_garden_of_dwelling",
"common_parts_of_flats",
"commercial_or_industrial"
],
"type": "string"
},
"locations": {
"description": "Where the work is. bath_or_shower_zone means within the zoned space around a bath or shower. Defaults to [\"elsewhere\"].",
"items": {
"enum": [
"bath_or_shower_zone",
"swimming_or_paddling_pool",
"sauna_heater_room",
"kitchen",
"outdoors",
"elsewhere"
],
"type": "string"
},
"type": "array"
},
"nation": {
"description": "Where the property is.",
"enum": [
"england",
"wales",
"scotland",
"northern_ireland"
],
"type": "string"
},
"registered_with_competent_person_scheme": {
"description": "Whether the electrician is registered with a scheme such as NICEIC or NAPIT. Changes the next steps.",
"type": "boolean"
},
"trade": {
"additionalProperties": false,
"description": "Optional. The electrician's own business details (Nero Trade Profile v1). Used to prefill certificate contractor fields and to give a stable nero_trade_ref. Not stored by Spark Pack.",
"properties": {
"address": {
"description": "Business address for the certificate contractor block.",
"type": "string"
},
"categories": {
"description": "Trades offered. Defaults to [\"electrical\"].",
"items": {
"type": "string"
},
"type": "array"
},
"company_name": {
"description": "Registered company name, if a limited company.",
"type": "string"
},
"company_number": {
"description": "Companies House number, for example 12345678 or SC123456.",
"type": "string"
},
"display_name": {
"description": "Trading name shown to customers, for example \"Bright Sparks Electrical\".",
"type": "string"
},
"email": {
"type": "string"
},
"licence_body": {
"description": "Competent person scheme the business is registered with.",
"enum": [
"niceic",
"napit",
"elecsa",
"stroma",
"certsure",
"benchmark",
"other",
"none"
],
"type": "string"
},
"licence_number": {
"description": "Scheme registration or enrolment number.",
"type": "string"
},
"phone": {
"type": "string"
},
"postcode": {
"type": "string"
},
"town": {
"type": "string"
}
},
"type": "object"
},
"work": {
"description": "The kind of work. Pick the most significant if the job has several parts (a new circuit outranks everything).",
"enum": [
"new_circuit",
"consumer_unit_replacement",
"add_to_or_alter_existing_circuit",
"replace_like_for_like",
"repair_or_maintenance",
"connect_equipment_to_existing_point"
],
"type": "string"
}
},
"required": [
"nation",
"work"
],
"type": "object"
},
"name": "check_part_p",
"outputSchema": null
},
{
"description": "Returns the fields an Electrical Installation Certificate (eic), Minor Electrical Installation Works Certificate (minor_works) or Electrical Installation Condition Report (eicr) needs, as a JSON Schema the assistant fills from the job notes and test readings (spark-pack-certs-1.0 (for BS 7671:2018+A4:2026 certificates)). Includes which certificate to use when, and the contractor block prefilled from `trade` if given. check_certificate checks the filled object. Field names are Spark Pack's own; the electrician transfers the values to the official form in their scheme portal or software.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"certificate": {
"description": "eic for new circuits, consumer units and new installations; minor_works for additions or alterations to one existing circuit; eicr for periodic inspection reports.",
"enum": [
"eic",
"minor_works",
"eicr"
],
"type": "string"
},
"trade": {
"additionalProperties": false,
"description": "Optional. The electrician's own business details (Nero Trade Profile v1). Used to prefill certificate contractor fields and to give a stable nero_trade_ref. Not stored by Spark Pack.",
"properties": {
"address": {
"description": "Business address for the certificate contractor block.",
"type": "string"
},
"categories": {
"description": "Trades offered. Defaults to [\"electrical\"].",
"items": {
"type": "string"
},
"type": "array"
},
"company_name": {
"description": "Registered company name, if a limited company.",
"type": "string"
},
"company_number": {
"description": "Companies House number, for example 12345678 or SC123456.",
"type": "string"
},
"display_name": {
"description": "Trading name shown to customers, for example \"Bright Sparks Electrical\".",
"type": "string"
},
"email": {
"type": "string"
},
"licence_body": {
"description": "Competent person scheme the business is registered with.",
"enum": [
"niceic",
"napit",
"elecsa",
"stroma",
"certsure",
"benchmark",
"other",
"none"
],
"type": "string"
},
"licence_number": {
"description": "Scheme registration or enrolment number.",
"type": "string"
},
"phone": {
"type": "string"
},
"postcode": {
"type": "string"
},
"town": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"certificate"
],
"type": "object"
},
"name": "get_certificate_schema",
"outputSchema": null
},
{
"description": "Lists Spark Pack's tools, the regulations edition it targets, what it covers (nations, circuit types, cable types, installation methods) and what it deliberately does not do. Free, needs no input.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "list_capabilities",
"outputSchema": null
},
{
"description": "Sizes a UK final circuit or sub-main and shows the working: design current (with cooker diversity), protective device rating, the smallest cable size that passes current-carrying capacity, voltage drop (3% lighting, 5% other) and earth fault loop impedance (Zs against the maximum for B, C or D breakers), plus a cpc adiabatic check. Returns `recommended` (size and every check with status pass, fail, indicative_pass, needs_input), `sizes_considered` (one line per size), `must_check_against_regs` (points the electrician confirms in BS 7671) and sources. Current-carrying capacity comes from a cautious heat-flow model, not BS 7671 tables, so it is marked indicative; give `cable_size_mm2` plus `tabulated_capacity_a` from the regs for a firm check. Voltage drop and Zs are calculated from physics and are firm for the inputs given. Typical call: a 9.5 kW shower on an 18 m run clipped direct: {\"circuit_type\":\"shower\",\"load_kw\":9.5,\"run_length_m\":18,\"installation_method\":\"clipped_direct\"}.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"ambient_c": {
"description": "Ambient temperature, C. Defaults to 30 in air, 20 in the ground.",
"type": "number"
},
"apply_cooker_diversity": {
"description": "Cooker only: apply the usual domestic cooker diversity (default true).",
"type": "boolean"
},
"armour_resistance_mohm_per_m": {
"description": "SWA armour resistance from the cable datasheet, milliohms per metre, when the armour is the cpc.",
"type": "number"
},
"cable_size_mm2": {
"description": "Check this specific size as well as finding the smallest that passes.",
"type": "number"
},
"cable_type": {
"description": "Defaults to twin_and_earth, or swa_xlpe for buried runs and sub-mains.",
"enum": [
"twin_and_earth",
"swa_xlpe",
"swa_pvc",
"singles_in_conduit"
],
"type": "string"
},
"circuit_type": {
"description": "What the circuit feeds. ring_final and radial_sockets can be sized without a load (the device rating is used).",
"enum": [
"shower",
"cooker",
"ev_charger",
"ring_final",
"radial_sockets",
"lighting",
"immersion",
"heat_pump",
"sub_main",
"other"
],
"type": "string"
},
"cooker_has_socket": {
"description": "Cooker only: the cooker control unit has a socket outlet.",
"type": "boolean"
},
"cores": {
"description": "SWA only: number of cores. Defaults to 3 single phase (spare core as cpc) or 4 three phase. With 2 the armour is the cpc: give armour_resistance_mohm_per_m.",
"enum": [
2,
3,
4
],
"type": "number"
},
"cpc_size_mm2": {
"description": "Override the circuit protective conductor size (twin and earth sizes are known).",
"type": "number"
},
"design_current_a": {
"description": "Design current Ib in amps, if already known. Overrides load_kw.",
"type": "number"
},
"earthing": {
"description": "Supply earthing. Defaults to tn_c_s (PME).",
"enum": [
"tn_c_s",
"tn_s",
"tt"
],
"type": "string"
},
"grouped_circuits": {
"description": "Number of circuits bunched together along the run, including this one. Defaults to 1.",
"type": "number"
},
"grouping_factor": {
"description": "Grouping factor Cg from the regs for the arrangement, if known. Without it Spark Pack uses a cautious estimate.",
"type": "number"
},
"installation_method": {
"description": "How the cable is run. clipped_direct: Clipped direct to a wall or surface, in free air; in_conduit_or_trunking_on_wall: In conduit or trunking fixed on a wall; in_conduit_in_insulated_wall: In conduit in a thermally insulated wall; touching_insulation_one_side: In a stud wall or ceiling void, touching thermal insulation on one side; surrounded_by_insulation: Totally surrounded by thermal insulation (deep loft insulation, insulated stud wall); above_ceiling_insulation_under_100mm: Clipped to a joist above a plasterboard ceiling, insulation 100 mm or less, cable not covered; buried_direct: Buried direct in the ground (about 0.7 m deep); in_duct_underground: In a duct in the ground (about 0.7 m deep). If the run passes through several, give the worst one (usually insulation).",
"enum": [
"clipped_direct",
"in_conduit_or_trunking_on_wall",
"in_conduit_in_insulated_wall",
"touching_insulation_one_side",
"surrounded_by_insulation",
"above_ceiling_insulation_under_100mm",
"buried_direct",
"in_duct_underground"
],
"type": "string"
},
"load_kw": {
"description": "Load in kW (for example 9.5 for a shower, 7.4 for a 32 A EV charger). Give this or design_current_a.",
"type": "number"
},
"phases": {
"description": "Defaults to 1.",
"enum": [
1,
3
],
"type": "number"
},
"power_factor": {
"description": "Defaults to 1 (resistive loads, EV chargers). Use about 0.95 for heat pumps or mixed sub-main loads.",
"type": "number"
},
"protective_device": {
"additionalProperties": false,
"description": "The breaker or fuse. Leave rating_a out to let Spark Pack choose the smallest standard rating at or above the design current.",
"properties": {
"curve": {
"description": "Breaker type, defaults to B.",
"enum": [
"B",
"C",
"D"
],
"type": "string"
},
"kind": {
"description": "Defaults to mcb.",
"enum": [
"mcb",
"rcbo",
"rewireable_fuse"
],
"type": "string"
},
"rating_a": {
"description": "Device rating In, amps.",
"type": "number"
}
},
"type": "object"
},
"run_length_m": {
"description": "Cable length from the board to the furthest point, metres. For a ring, the total ring length.",
"type": "number"
},
"soil_thermal_resistivity": {
"description": "Buried runs: soil thermal resistivity K.m/W, defaults to 2.5 (cautious).",
"type": "number"
},
"tabulated_capacity_a": {
"description": "Tabulated current-carrying capacity It for cable_size_mm2 and this method, read from BS 7671 Appendix 4 by the electrician. Makes the capacity check firm.",
"type": "number"
},
"trade": {
"additionalProperties": false,
"description": "Optional. The electrician's own business details (Nero Trade Profile v1). Used to prefill certificate contractor fields and to give a stable nero_trade_ref. Not stored by Spark Pack.",
"properties": {
"address": {
"description": "Business address for the certificate contractor block.",
"type": "string"
},
"categories": {
"description": "Trades offered. Defaults to [\"electrical\"].",
"items": {
"type": "string"
},
"type": "array"
},
"company_name": {
"description": "Registered company name, if a limited company.",
"type": "string"
},
"company_number": {
"description": "Companies House number, for example 12345678 or SC123456.",
"type": "string"
},
"display_name": {
"description": "Trading name shown to customers, for example \"Bright Sparks Electrical\".",
"type": "string"
},
"email": {
"type": "string"
},
"licence_body": {
"description": "Competent person scheme the business is registered with.",
"enum": [
"niceic",
"napit",
"elecsa",
"stroma",
"certsure",
"benchmark",
"other",
"none"
],
"type": "string"
},
"licence_number": {
"description": "Scheme registration or enrolment number.",
"type": "string"
},
"phone": {
"type": "string"
},
"postcode": {
"type": "string"
},
"town": {
"type": "string"
}
},
"type": "object"
},
"upstream_voltage_drop_percent": {
"description": "Voltage drop already used upstream (for a circuit fed from a sub-board), percent.",
"type": "number"
},
"ze_ohms": {
"description": "Measured external earth fault loop impedance Ze, ohms. Without it the typical network maximum is used (0.35 TN-C-S, 0.8 TN-S).",
"type": "number"
}
},
"required": [
"circuit_type",
"run_length_m",
"installation_method"
],
"type": "object"
},
"name": "size_cable",
"outputSchema": null
},
{
"description": "Checks the electrician's own business details (Nero Trade Profile v1: trading name, Companies House number, competent person scheme and number, postcode, contact) and returns them cleaned, with a stable `nero_trade_ref` computed from the scheme registration or company number. The same object, given as `trade` to the other tools, prefills certificates and grid forms. Spark Pack stores nothing. The same profile and reference can later be used to sign the business into Nero Work, the agent job exchange for trades.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"trade": {
"additionalProperties": false,
"description": "Optional. The electrician's own business details (Nero Trade Profile v1). Used to prefill certificate contractor fields and to give a stable nero_trade_ref. Not stored by Spark Pack.",
"properties": {
"address": {
"description": "Business address for the certificate contractor block.",
"type": "string"
},
"categories": {
"description": "Trades offered. Defaults to [\"electrical\"].",
"items": {
"type": "string"
},
"type": "array"
},
"company_name": {
"description": "Registered company name, if a limited company.",
"type": "string"
},
"company_number": {
"description": "Companies House number, for example 12345678 or SC123456.",
"type": "string"
},
"display_name": {
"description": "Trading name shown to customers, for example \"Bright Sparks Electrical\".",
"type": "string"
},
"email": {
"type": "string"
},
"licence_body": {
"description": "Competent person scheme the business is registered with.",
"enum": [
"niceic",
"napit",
"elecsa",
"stroma",
"certsure",
"benchmark",
"other",
"none"
],
"type": "string"
},
"licence_number": {
"description": "Scheme registration or enrolment number.",
"type": "string"
},
"phone": {
"type": "string"
},
"postcode": {
"type": "string"
},
"town": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"trade"
],
"type": "object"
},
"name": "trade_profile",
"outputSchema": null
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:148302e581a7ac3e59eb2ae181e4aa8ec4eb2618647ce5400a7427b64243c4cf | sha256sum