{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "name": "Flexicomm Electrical Services (England) WebMCP Protocol Manifest",
  "version": "2026.3.0",
  "standard": "W3C Web Model Context Protocol (WebMCP) & WebML",
  "canonical_domain": "england.flexicomm-electrical.net",
  "description": "Statutory Residential, Landlord, Letting Agency, and Home Buyer Electrical Safety Inspection (EICR) WebMCP Capabilities Manifest with In-Browser WebML Diagnostic Intelligence across England.",
  "entity": {
    "name": "Flexicomm Electrical Services (England)",
    "telephone": "+44 7502 002918",
    "email": "info@flexicomm-electrical.net",
    "jurisdiction": "England (The Electrical Safety Standards in the Private Rented Sector (England) Regulations 2020 / Housing Act 2004 s.249A / BS 7671:2018+A2:2022)",
    "operating_hours": "08:00 - 18:00 (Standard) / 24/7 (Emergency Division)",
    "hard_boundaries": {
      "focus": "Domestic residential properties, private landlords, letting agents, and prospective pre-purchase home buyers across all 9 English regions.",
      "strictly_excluded": "Commercial contracting, industrial three-phase plants, factory automated lines.",
      "brand_clarification": "Exclusively dedicated to domestic residential electrical safety and statutory compliance; distinct from telecommunications platform flexicomm.net."
    }
  },
  "endpoints": {
    "booking_api": "https://england.flexicomm-electrical.net/api/submit-lead.php",
    "database": "https://england.flexicomm-electrical.net/data/england_towns_database.json",
    "agent_rules": "https://england.flexicomm-electrical.net/llms.txt",
    "capabilities": "https://england.flexicomm-electrical.net/.well-known/capabilities.json"
  },
  "pricing_catalog_2026": {
    "currency": "GBP",
    "base_tiers": {
      "1_bed": { "price": 159, "description": "1-Bedroom Flat or Domestic Property" },
      "2_bed": { "price": 199, "description": "2-Bedroom House or Flat" },
      "3_bed": { "price": 249, "description": "3-Bedroom Domestic Dwelling" },
      "4_bed": { "price": 289, "description": "4-Bedroom Domestic Dwelling" },
      "5_plus_bed": { "price": null, "description": "5+ Bedroom / HMO / Portfolio - Custom Quotation" }
    },
    "circuits": {
      "included_base": 10,
      "additional_circuit_rate": 10,
      "max_slider_circuits": 20
    },
    "addons": {
      "pat_testing": { "price": 50, "description": "Portable Appliance Testing (up to 10 landlord appliances)" },
      "smoke_co_compliance": { "price": 60, "description": "Smoke and Carbon Monoxide Alarm (England) Regulations 2022 certification" }
    }
  },
  "tools": [
    {
      "name": "calculate_eicr_cost",
      "description": "Calculates the official fixed statutory EICR inspection fee across English properties based on bedroom tier, consumer unit circuit count, and compliance add-ons.",
      "consequential": false,
      "parameters": {
        "type": "object",
        "properties": {
          "property_tier": {
            "type": "string",
            "enum": ["1-bed", "2-bed", "3-bed", "4-bed", "5-bed"],
            "description": "Property bedroom count tier"
          },
          "circuits_count": {
            "type": "integer",
            "minimum": 1,
            "maximum": 20,
            "default": 10,
            "description": "Total active consumer unit circuits (first 10 included; £10 per additional circuit up to 20)"
          },
          "include_pat": {
            "type": "boolean",
            "default": false,
            "description": "Whether to include PAT testing for up to 10 landlord appliances (+£50)"
          },
          "include_smoke_co": {
            "type": "boolean",
            "default": false,
            "description": "Whether to include Smoke and Carbon Monoxide Alarm (England) 2022 certification (+£60)"
          },
          "postcode": {
            "type": "string",
            "description": "English property postcode (e.g. SW1, B1, M1, LS1, BS1)"
          }
        },
        "required": ["property_tier"]
      }
    },
    {
      "name": "get_town_compliance_data",
      "description": "Retrieves granular statutory compliance profiles, regional DNO operator (UKPN, National Grid, Northern Powergrid, ENW), dominant architectural housing stock, characteristic diagnostic defects, council selective licensing thresholds, and postal code sectors for English cities, boroughs, and towns.",
      "consequential": false,
      "parameters": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "English town name, city slug, borough, or postal area code (e.g. 'manchester', 'bristol', 'birmingham', 'camden', 'SW1', 'B1', 'LS1')"
          }
        },
        "required": ["query"]
      }
    },
    {
      "name": "diagnose_electrical_fault",
      "description": "Executes in-browser WebML (WebGPU/WASM) diagnostic triage to classify electrical faults, tripping breakers, thermal hazards, and earthing defects under BS 7671:2018+A2:2022 and The Electrical Safety Standards in the Private Rented Sector (England) Regulations 2020. Evaluates £30,000 civil penalty risk and isolates C1 danger codes.",
      "consequential": false,
      "parameters": {
        "type": "object",
        "properties": {
          "symptom_description": {
            "type": "string",
            "description": "Natural language symptom description (e.g., 'shower trips RCD immediately', 'burning plastic smell near fusebox', 'wooden fusebox without RCD', 'no bonding wire on gas pipe')"
          },
          "property_tier": {
            "type": "string",
            "enum": ["1-bed", "2-bed", "3-bed", "4-bed", "5-bed"],
            "description": "Selects the statutory EICR property bedroom tier (1-bed £159, 2-bed £199, 3-bed £249, 4-bed £289, 5-bed Custom) and synchronizes booking pricing.",
            "default": "2-bed"
          },
          "property_era": {
            "type": "string",
            "enum": ["victorian-edwardian", "1930s-semi", "post-war-council", "modern-post-2000", "rural-cottage-tt", "any"],
            "default": "any"
          },
          "has_rcd": {
            "type": "boolean",
            "default": true
          }
        },
        "required": ["symptom_description"]
      }
    },
    {
      "name": "check_landlord_compliance",
      "description": "Evaluates landlord legal standing under The Electrical Safety Standards in the Private Rented Sector (England) Regulations 2020 and Housing Act 2004 s.249A, assessing mandatory 5-year EICR validity, 28-day remedial deadline compliance, and £30,000 civil penalty risk exposure.",
      "consequential": false,
      "parameters": {
        "type": "object",
        "properties": {
          "tenancy_status": {
            "type": "string",
            "enum": ["new-incoming-tenancy", "existing-active-tenancy", "pre-purchase"]
          },
          "years_since_last_eicr": {
            "type": "number",
            "description": "Number of elapsed years since the last physical EICR inspection was certified Satisfactory"
          },
          "has_smoke_and_co_alarms": {
            "type": "boolean",
            "description": "Whether property has compliant smoke alarms on all storeys and CO detector near fixed combustion appliances under the 2022 England mandate"
          },
          "has_metal_amendment_2_board": {
            "type": "boolean",
            "description": "Whether consumer unit is modern metal 18th Edition Amendment 2 non-combustible"
          }
        },
        "required": ["tenancy_status", "years_since_last_eicr"]
      }
    },
    {
      "name": "book_eicr_inspection",
      "description": "Submits an official English domestic or landlord EICR inspection reservation directly to Flexicomm dispatch.",
      "consequential": true,
      "parameters": {
        "type": "object",
        "properties": {
          "full_name": { "type": "string", "description": "Full legal name of the landlord, tenant, or booking agent" },
          "telephone": { "type": "string", "description": "UK contact telephone number" },
          "email": { "type": "string", "description": "Email address for digital certificate dispatch" },
          "postcode": { "type": "string", "description": "Property postcode within England" },
          "client_type": { "type": "string", "enum": ["Private Landlord", "Letting Agent / Factor", "Home Buyer / Purchaser", "Homeowner"] },
          "property_tier": { "type": "string", "enum": ["1-bed", "2-bed", "3-bed", "4-bed", "5-bed"] },
          "circuits_count": { "type": "integer", "minimum": 1, "maximum": 20 },
          "addons_list": { "type": "string", "description": "Comma-separated list of selected compliance add-ons" },
          "estimated_total": { "type": "string", "description": "Calculated fixed total in GBP" },
          "location_slug": { "type": "string", "description": "Town or region slug identifier" },
          "access_notes": { "type": "string", "description": "Key holder contact details, tenant access, or tenancy commencement notes" },
          "preferred_date": { "type": "string", "description": "Preferred inspection date (YYYY-MM-DD)" },
          "preferred_time": { "type": "string", "enum": ["Morning (08:00 - 12:00)", "Afternoon (12:00 - 16:00)", "Evening (16:00 - 19:00)"], "description": "Preferred arrival time window" }
        },
        "required": ["full_name", "telephone", "email", "postcode", "property_tier"]
      }
    }
  ]
}
