Skip to main content
Glama

sodural-electrical-mcp

LV Feeder Ampacity, Voltage Drop & Fault-Loop Calculator

brain_calc_lv_feeder_physics
Read-onlyIdempotent

Size low-voltage circuits (<= 1 kV) by thermal ampacity Iz (ambient temperature, grouping, soil, and 3rd-harmonic derating), steady-state voltage drop dU%, fault-loop clearing impedance Zs, and adiabatic PE conductor cross-section. When to use: Use for LV cable sizing, voltage-drop verification, or multi-section TT/TN/IT indirect-contact audits. Do not use for: Buried MV cyclic cable ratings or primary MV/LV delivery bays -- call brain_calc_hta_cable_cyclic or brain_calc_mv_delivery_physics instead. Behavior: Evaluates thermal and loop physics in a stateless, read-only SI pass without side effects; non-object inputs or invalid parameters raise JSON-RPC -32602, while omitted inputs default to mode="cable_sizing" (400 V, 3-phase, 25 kW, cos(phi)=0.85, Cu). Returns: mode, recommendedSectionMm2, voltageDropPct, sections, summary, calculationTrace, and legalNotice.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "brain_calc_lv_feeder_physics"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoCalculation mode selecting single sub-study or comprehensive feeder audit.cable_sizing
cableNoStructured thermal ampacity input overrides for multi-section audit mode.
phasesNoPhase count: 1 for single-phase or 3 for balanced three-phase circuits (defaults to 3).
lengthMNoOne-way feeder cable run length in meters (m, > 0).
powerKwNoActive feeder load power in kW (defaults to 25 kW when omitted).
presetIdNoOptional reference feeder study preset identifier overriding default load and circuit geometry.
voltageVNoLine-to-line AC voltage in V for 3-phase or phase-to-neutral V for 1-phase (defaults to 400 V).
faultLoopNoStructured fault-loop indirect-contact protection overrides.
operationNoBackward-compatible alias for mode (e.g. "lv_mv_audit" maps to comprehensive audit).
insulationNoCable insulation compound code ("PR" or "XLPE" for 90 C, "PVC" for 70 C, defaults to "PR").PR
sectionMm2NoNominal phase conductor cross-sectional area in mm2 for verification modes.
powerFactorNoDisplacement power factor cos(phi) between 0.1 and 1.0 (defaults to 0.85).
voltageDropNoStructured steady-state voltage drop section input overrides.
earthingSystemNoSystem earthing topology token (e.g. "TT", "TN-S", "TN-C", "IT", defaults to "TN-S").TN-S
evolutions2024NoExtended surge protection, EV charging, and energy-efficiency audit overrides.
conductorMaterialNoConductor metal token ("CU" for copper or "AL" for aluminum, defaults to "CU").CU
installationMethodNoReference thermal installation arrangement code (e.g. "C", "E", "13", defaults to "13").13

Output Schema

NameRequiredDescriptionDefault
modeNoResolved LV feeder calculation mode.
summaryNoAggregated pass/fail summary across evaluated sections.
sectionsNoPer-section calculation detail objects in audit mode.
legalNoticeNoInformational engineering compliance notice confirming SI physical scope and intellectual property rules.
voltageDropPctNoComputed steady-state voltage drop in % of nominal voltage, or null.
calculationTraceNoTransparent audit trail detailing inputs, injected defaults, formulas, constants, principles, and assumptions.
recommendedSectionMm2NoMinimum compliant standard phase cross-section in mm2, or null in non-sizing modes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed91 schema fields changed
    • changedInput schema / properties / cable / properties / ambientTempC / description
      Previous value: -"Ambient air or ground temperature in deg C."New value: +"Ambient air or ground temperature in degrees Celsius (deg C)."
    • changedInput schema / properties / cable / properties / clearingTimeSec / description
      Previous value: -"Protective device fault clearing duration in seconds."New value: +"Protective device fault clearing duration in seconds (s)."
    • addedInput schema / properties / cable / properties / clearingTimeSec / minimum
      Added value: +0.005
    • addedInput schema / properties / cable / properties / faultCurrentIkMaxKa / minimum
      Added value: +0
    • changedInput schema / properties / cable / properties / groupedCircuits / description
      Previous value: -"Number of thermally bundled circuits sharing tray/conduit."New value: +"Number of thermally bundled circuits sharing tray or conduit."
    • addedInput schema / properties / cable / properties / groupedCircuits / minimum
      Added value: +1
    • addedInput schema / properties / cable / properties / harmonic3Pct / maximum
      Added value: +100
    • addedInput schema / properties / cable / properties / harmonic3Pct / minimum
      Added value: +0
    • changedInput schema / properties / cable / properties / installationMode / description
      Previous value: -"Thermal installation mode code."New value: +"Thermal installation arrangement code (e.g. \"13\", \"E\", \"C\")."
    • changedInput schema / properties / cable / properties / insulation / description
      Previous value: -"Insulation type (\"PR\", \"XLPE\", or \"PVC\")."New value: +"Cable insulation compound (\"PR\", \"XLPE\", or \"PVC\")."
    • changedInput schema / properties / cable / properties / loadPowerKw / description
      Previous value: -"Feeder active power load in kW."New value: +"Feeder active power load in kW (>= 0.1 kW)."
    • addedInput schema / properties / cable / properties / loadPowerKw / minimum
      Added value: +0.1
    • changedInput schema / properties / cable / properties / material / description
      Previous value: -"Conductor metal (\"CU\" or \"AL\")."New value: +"Conductor metal identifier (\"CU\" for copper or \"AL\" for aluminum)."
    • changedInput schema / properties / cable / properties / phases / description
      Previous value: -"Phase count (1 or 3)."New value: +"Circuit phase count (1 for single-phase or 3 for three-phase)."
    • changedInput schema / properties / cable / properties / voltageV / description
      Previous value: -"System voltage in V."New value: +"Nominal AC circuit voltage in volts (V >= 12 V)."
    • addedInput schema / properties / cable / properties / voltageV / minimum
      Added value: +12
    • addedInput schema / properties / earthingSystem / default
      Added value: +"TN-S"
    • changedInput schema / properties / earthingSystem / description
      Previous value: -"System earthing topology token (e.g. \"TT\", \"TN-S\", \"TN-C\", \"IT\")."New value: +"System earthing topology token (e.g. \"TT\", \"TN-S\", \"TN-C\", \"IT\", defaults to \"TN-S\")."
    • changedInput schema / properties / evolutions2024 / properties / energyEfficiency / description
      Previous value: -"Energy efficiency and harmonic origin block."New value: +"Energy efficiency and harmonic origin evaluation block."
    • addedInput schema / properties / evolutions2024 / properties / energyEfficiency / properties / thduOriginPct / minimum
      Added value: +0
    • changedInput schema / properties / evolutions2024 / properties / spd / description
      Previous value: -"Surge protection evaluation block."New value: +"Surge protection evaluation override block."
    • changedInput schema / properties / evolutions2024 / properties / spd / properties / keraunicLevelNk / description
      Previous value: -"Regional lightning keraunic level Nk (flash days/year)."New value: +"Regional lightning keraunic level Nk in flash days/year."
    • addedInput schema / properties / evolutions2024 / properties / spd / properties / keraunicLevelNk / minimum
      Added value: +0
    • changedInput schema / properties / evolutions2024 / properties / spd / properties / spdType / description
      Previous value: -"Surge protective device class (\"TYPE_1\", \"TYPE_2\")."New value: +"Surge protective device class (\"TYPE_1\" or \"TYPE_2\")."
    • addedInput schema / properties / evolutions2024 / properties / spd / properties / spdUpKv / minimum
      Added value: +0.1
    • changedInput schema / properties / faultLoop / properties / earthResistanceRaOhm / description
      Previous value: -"Protective earth electrode resistance Ra in ohms."New value: +"Protective earth electrode resistance Ra in ohms (Ohm)."
    • addedInput schema / properties / faultLoop / properties / earthResistanceRaOhm / minimum
      Added value: +0.1
    • changedInput schema / properties / faultLoop / properties / earthingSystem / description
      Previous value: -"Earthing topology (\"TT\", \"TN-S\", \"TN-C\", \"IT\")."New value: +"Earthing topology code (\"TT\", \"TN-S\", \"TN-C\", \"IT\")."
    • changedInput schema / properties / faultLoop / properties / hasRcd / description
      Previous value: -"True when residual-current protection protects the circuit."New value: +"True when residual-current device protection guards the circuit."
    • addedInput schema / properties / faultLoop / properties / rcdSensitivityMa / minimum
      Added value: +1
    • changedInput schema / properties / faultLoop / properties / u0V / description
      Previous value: -"Phase-to-earth nominal voltage U0 in V (typically 230 V)."New value: +"Nominal phase-to-earth voltage U0 in V (typically 230 V)."
    • addedInput schema / properties / faultLoop / properties / u0V / minimum
      Added value: +12
    • addedInput schema / properties / installationMethod / default
      Added value: +"13"
    • changedInput schema / properties / installationMethod / description
      Previous value: -"Reference thermal installation arrangement code (e.g. \"C\", \"E\", \"13\")."New value: +"Reference thermal installation arrangement code (e.g. \"C\", \"E\", \"13\", defaults to \"13\")."
    • removedInput schema / properties / installationMode
      Removed value: -{
      -  "default": "13",
      -  "description": "Numeric/legacy installation reference method alias (defaults to \"13\").",
      -  "type": "string"
      -}
    • addedInput schema / properties / insulation / default
      Added value: +"PR"
    • changedInput schema / properties / insulation / description
      Previous value: -"Cable insulation compound code (e.g. \"PR\"/\"XLPE\" for 90 C or \"PVC\" for 70 C)."New value: +"Cable insulation compound code (\"PR\" or \"XLPE\" for 90 C, \"PVC\" for 70 C, defaults to \"PR\")."
    • changedInput schema / properties / lengthM / description
      Previous value: -"One-way feeder cable run length in meters (m)."New value: +"One-way feeder cable run length in meters (m, > 0)."
    • addedInput schema / properties / lengthM / minimum
      Added value: +0.1
    • removedInput schema / properties / loadPowerKw
      Removed value: -{
      -  "description": "Alias for active feeder load power in kW when supplied by tabular study clients.",
      -  "type": "number"
      -}
    • removedInput schema / properties / material
      Removed value: -{
      -  "default": "CU",
      -  "description": "Short alias for conductorMaterial (\"CU\" or \"AL\", defaults to \"CU\").",
      -  "type": "string"
      -}
    • changedInput schema / properties / powerKw / description
      Previous value: -"Active feeder load power in kW (defaults to 25 kW)."New value: +"Active feeder load power in kW (defaults to 25 kW when omitted)."
    • addedInput schema / properties / powerKw / minimum
      Added value: +0.1
    • changedInput schema / properties / presetId / description
      Previous value: -"Optional reference feeder study preset identifier overriding default load/circuit geometry."New value: +"Optional reference feeder study preset identifier overriding default load and circuit geometry."
    • changedInput schema / properties / sectionMm2 / description
      Previous value: -"Nominal conductor cross-sectional area in mm2 for verification modes."New value: +"Nominal phase conductor cross-sectional area in mm2 for verification modes."
    • addedInput schema / properties / sectionMm2 / minimum
      Added value: +1.5
    • changedInput schema / properties / voltageDrop / properties / designCurrentIbA / description
      Previous value: -"Design load current Ib in amperes."New value: +"Design circuit load current Ib in amperes (A)."
    • addedInput schema / properties / voltageDrop / properties / designCurrentIbA / minimum
      Added value: +0.1
    • changedInput schema / properties / voltageDrop / properties / lengthM / description
      Previous value: -"One-way circuit length in meters."New value: +"One-way circuit cable length in meters (m)."
    • addedInput schema / properties / voltageDrop / properties / lengthM / minimum
      Added value: +0.1
    • changedInput schema / properties / voltageDrop / properties / sectionMm2 / description
      Previous value: -"Phase cross-section in mm2."New value: +"Evaluated phase conductor cross-section in mm2."
    • addedInput schema / properties / voltageDrop / properties / sectionMm2 / minimum
      Added value: +1.5
    • changedInput schema / properties / voltageDrop / properties / supplyType / description
      Previous value: -"Origin type (\"PUBLIC_LV\" or \"PRIVATE_MV_LV\")."New value: +"Origin supply class (\"PUBLIC_LV\" or \"PRIVATE_MV_LV\")."
    • changedInput schema / properties / voltageDrop / properties / usage / description
      Previous value: -"Load category (\"LIGHTING\" or \"OTHER\") selecting dU% ceiling."New value: +"Load usage category (\"LIGHTING\" or \"OTHER\") selecting dU% ceiling."
    • changedInput schema / properties / voltageV / description
      Previous value: -"Line-to-line AC voltage in V for three-phase or phase-to-neutral V for single-phase (defaults to 400 V)."New value: +"Line-to-line AC voltage in V for 3-phase or phase-to-neutral V for 1-phase (defaults to 400 V)."
    • addedInput schema / properties / voltageV / minimum
      Added value: +12
    • changedOutput schema / properties / recommendedSectionMm2 / description
      Previous value: -"Minimum compliant standard phase cross-section in mm2."New value: +"Minimum compliant standard phase cross-section in mm2, or null in non-sizing modes."
    • addedOutput schema / properties / recommendedSectionMm2 / oneOf
      Added value: +[
      +  {
      +    "description": "Minimum compliant standard phase cross-section in mm2, or null in non-sizing modes.",
      +    "type": "number"
      +  },
      +  {
      +    "description": "Null when numeric metric is not evaluated in active mode.",
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / recommendedSectionMm2 / type
      Removed value: -"number"
    • addedOutput schema / properties / sections / properties / cable / properties / adiabatic
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Adiabatic phase short-circuit thermal withstand check.",
      +  "properties": {
      +    "kPhase": {
      +      "description": "Adiabatic conductor constant k in A*s^(1/2)/mm2.",
      +      "type": "number"
      +    },
      +    "phaseThermalCompliant": {
      +      "description": "True when conductor withstands prospective I2t stress.",
      +      "type": "boolean"
      +    },
      +    "sPhaseAdiabaticMm2": {
      +      "description": "Minimum adiabatic short-circuit phase section in mm2.",
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / sections / properties / cable / properties / alerts
      Added value: +{
      +  "description": "Blocking compliance alerts raised in this section.",
      +  "items": {
      +    "additionalProperties": true,
      +    "description": "Structured engineering compliance alert or warning entry.",
      +    "properties": {
      +      "code": {
      +        "description": "Machine-readable diagnostic alert or warning code.",
      +        "type": "string"
      +      },
      +      "en": {
      +        "description": "English localized engineering diagnostic message text.",
      +        "type": "string"
      +      },
      +      "fr": {
      +        "description": "French localized engineering diagnostic message text.",
      +        "type": "string"
      +      },
      +      "severity": {
      +        "description": "Diagnostic severity tier (\"CRITICAL\" or \"WARNING\").",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / sections / properties / cable / properties / ampacity
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Thermal ampacity sizing and derating balance.",
      +  "properties": {
      +    "izRequiredPerConductorA": {
      +      "description": "Required base ampacity Iz per conductor in A.",
      +      "type": "number"
      +    },
      +    "izTablePerConductorA": {
      +      "description": "Tabulated base ampacity Iz per conductor in A.",
      +      "oneOf": [
      +        {
      +          "description": "Tabulated base ampacity Iz per conductor in A.",
      +          "type": "number"
      +        },
      +        {
      +          "description": "Null when numeric metric is not evaluated in active mode.",
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "neutralSectionMm2": {
      +      "description": "Selected neutral conductor cross-section in mm2.",
      +      "type": "number"
      +    },
      +    "recommendedSectionMm2": {
      +      "description": "Minimum thermally compliant phase section in mm2.",
      +      "oneOf": [
      +        {
      +          "description": "Minimum thermally compliant phase section in mm2.",
      +          "type": "number"
      +        },
      +        {
      +          "description": "Null when numeric metric is not evaluated in active mode.",
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "referenceMethod": {
      +      "description": "Resolved thermal reference installation method code.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / sections / properties / cable / properties / compliant
      Added value: +{
      +  "description": "True when all physics checks in this section pass.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / sections / properties / cable / properties / currentAndProtection
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Load current and protective device ratings summary.",
      +  "properties": {
      +    "iEffA": {
      +      "description": "Effective thermal sizing current after fuse multiplier in A.",
      +      "type": "number"
      +    },
      +    "ibA": {
      +      "description": "Design load current Ib in amperes (A).",
      +      "type": "number"
      +    },
      +    "inA": {
      +      "description": "Selected protective device rating In in amperes (A).",
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / sections / properties / cable / properties / factors
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Applied thermal derating factors.",
      +  "properties": {
      +    "k1": {
      +      "description": "Ambient temperature correction factor K1.",
      +      "type": "number"
      +    },
      +    "k2": {
      +      "description": "Circuit grouping derating factor K2.",
      +      "type": "number"
      +    },
      +    "k5": {
      +      "description": "Third-harmonic neutral derating factor K5.",
      +      "type": "number"
      +    },
      +    "kTotal": {
      +      "description": "Combined overall thermal derating multiplier K_total.",
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / sections / properties / cable / properties / protectiveConductors
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Protective conductor (PE/PEN) cross-section requirements.",
      +  "properties": {
      +    "sPeRecommendedMm2": {
      +      "description": "Recommended protective earth (PE) cross-section in mm2.",
      +      "type": "number"
      +    },
      +    "sPenMinMm2": {
      +      "description": "Minimum allowable PEN conductor cross-section in mm2.",
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / sections / properties / cable / properties / status
      Added value: +{
      +  "description": "Section verdict string (\"COMPLIANT\", \"WARNING\", or \"NON_COMPLIANT\").",
      +  "type": "string"
      +}
    • addedOutput schema / properties / sections / properties / cable / properties / warnings
      Added value: +{
      +  "description": "Non-blocking advisory warnings raised in this section.",
      +  "items": {
      +    "additionalProperties": true,
      +    "description": "Structured engineering compliance alert or warning entry.",
      +    "properties": {
      +      "code": {
      +        "description": "Machine-readable diagnostic alert or warning code.",
      +        "type": "string"
      +      },
      +      "en": {
      +        "description": "English localized engineering diagnostic message text.",
      +        "type": "string"
      +      },
      +      "fr": {
      +        "description": "French localized engineering diagnostic message text.",
      +        "type": "string"
      +      },
      +      "severity": {
      +        "description": "Diagnostic severity tier (\"CRITICAL\" or \"WARNING\").",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / sections / properties / faultLoop / properties / alerts
      Added value: +{
      +  "description": "Blocking compliance alerts raised in this section.",
      +  "items": {
      +    "additionalProperties": true,
      +    "description": "Structured engineering compliance alert or warning entry.",
      +    "properties": {
      +      "code": {
      +        "description": "Machine-readable diagnostic alert or warning code.",
      +        "type": "string"
      +      },
      +      "en": {
      +        "description": "English localized engineering diagnostic message text.",
      +        "type": "string"
      +      },
      +      "fr": {
      +        "description": "French localized engineering diagnostic message text.",
      +        "type": "string"
      +      },
      +      "severity": {
      +        "description": "Diagnostic severity tier (\"CRITICAL\" or \"WARNING\").",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / sections / properties / faultLoop / properties / compliant
      Added value: +{
      +  "description": "True when all physics checks in this section pass.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / sections / properties / faultLoop / properties / earthingSystem
      Added value: +{
      +  "description": "Evaluated system earthing scheme (\"TT\", \"TN-S\", \"TN-C\", \"IT\").",
      +  "type": "string"
      +}
    • addedOutput schema / properties / sections / properties / faultLoop / properties / loopMetrics
      Added value: +{
      +  "description": "TN/IT fault-loop clearing metrics, or null in TT mode.",
      +  "oneOf": [
      +    {
      +      "additionalProperties": true,
      +      "description": "TN/IT fault-loop clearing metrics, or null in TT mode.",
      +      "properties": {
      +        "faultCurrentIfA": {
      +          "description": "Prospective earth-fault loop current If in amperes (A).",
      +          "type": "number"
      +        },
      +        "loopCompliant": {
      +          "description": "True when fault current exceeds trip threshold Ia.",
      +          "type": "boolean"
      +        },
      +        "maxProtectedLengthLmaxM": {
      +          "description": "Maximum fault-protected cable length Lmax in meters (m).",
      +          "type": "number"
      +        },
      +        "requiredTripCurrentIaA": {
      +          "description": "Required instantaneous magnetic trip current Ia in A.",
      +          "type": "number"
      +        },
      +        "zsLoopOhm": {
      +          "description": "Fault-loop impedance Zs in ohms (Ohm).",
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "description": "Null when optional block is inactive or no match exists.",
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / sections / properties / faultLoop / properties / maxDisconnectTimeSec
      Added value: +{
      +  "description": "Maximum permissible fault disconnection time in seconds (s).",
      +  "type": "number"
      +}
    • addedOutput schema / properties / sections / properties / faultLoop / properties / rcdSummary
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Residual-current device protection summary.",
      +  "properties": {
      +    "present": {
      +      "description": "True when residual-current protection is present on circuit.",
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / sections / properties / faultLoop / properties / status
      Added value: +{
      +  "description": "Section verdict string (\"COMPLIANT\", \"WARNING\", or \"NON_COMPLIANT\").",
      +  "type": "string"
      +}
    • addedOutput schema / properties / sections / properties / faultLoop / properties / ttMetrics
      Added value: +{
      +  "description": "TT earthing touch-voltage metrics, or null when non-TT.",
      +  "oneOf": [
      +    {
      +      "additionalProperties": true,
      +      "description": "TT earthing touch-voltage metrics, or null when non-TT.",
      +      "properties": {
      +        "earthResistanceRaOhm": {
      +          "description": "Evaluated earth electrode resistance Ra in ohms (Ohm).",
      +          "type": "number"
      +        },
      +        "maxRaAllowedOhm": {
      +          "description": "Maximum permissible earth resistance in ohms (Ohm).",
      +          "type": "number"
      +        },
      +        "touchVoltageV": {
      +          "description": "Computed touch voltage Ra * I_delta_n in volts (V).",
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "description": "Null when optional block is inactive or no match exists.",
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / sections / properties / faultLoop / properties / warnings
      Added value: +{
      +  "description": "Non-blocking advisory warnings raised in this section.",
      +  "items": {
      +    "additionalProperties": true,
      +    "description": "Structured engineering compliance alert or warning entry.",
      +    "properties": {
      +      "code": {
      +        "description": "Machine-readable diagnostic alert or warning code.",
      +        "type": "string"
      +      },
      +      "en": {
      +        "description": "English localized engineering diagnostic message text.",
      +        "type": "string"
      +      },
      +      "fr": {
      +        "description": "French localized engineering diagnostic message text.",
      +        "type": "string"
      +      },
      +      "severity": {
      +        "description": "Diagnostic severity tier (\"CRITICAL\" or \"WARNING\").",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / sections / properties / voltageDrop / properties / alerts
      Added value: +{
      +  "description": "Blocking compliance alerts raised in this section.",
      +  "items": {
      +    "additionalProperties": true,
      +    "description": "Structured engineering compliance alert or warning entry.",
      +    "properties": {
      +      "code": {
      +        "description": "Machine-readable diagnostic alert or warning code.",
      +        "type": "string"
      +      },
      +      "en": {
      +        "description": "English localized engineering diagnostic message text.",
      +        "type": "string"
      +      },
      +      "fr": {
      +        "description": "French localized engineering diagnostic message text.",
      +        "type": "string"
      +      },
      +      "severity": {
      +        "description": "Diagnostic severity tier (\"CRITICAL\" or \"WARNING\").",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / sections / properties / voltageDrop / properties / compliant
      Added value: +{
      +  "description": "True when all physics checks in this section pass.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / sections / properties / voltageDrop / properties / results
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Computed steady-state voltage drop metrics and ceilings.",
      +  "properties": {
      +    "cumulativeDropPct": {
      +      "description": "Cumulative voltage drop including upstream feeder in %.",
      +      "type": "number"
      +    },
      +    "deltaULineV": {
      +      "description": "Absolute line-to-line voltage drop in volts (V).",
      +      "type": "number"
      +    },
      +    "deltaUPct": {
      +      "description": "Circuit relative voltage drop in %.",
      +      "type": "number"
      +    },
      +    "deltaUV": {
      +      "description": "Absolute phase-to-neutral voltage drop in volts (V).",
      +      "type": "number"
      +    },
      +    "maxAllowedPct": {
      +      "description": "Permissible steady-state voltage drop limit in %.",
      +      "type": "number"
      +    },
      +    "minCompliantSectionMm2": {
      +      "description": "Smallest standard section satisfying the dU% ceiling in mm2.",
      +      "oneOf": [
      +        {
      +          "description": "Smallest standard section satisfying the dU% ceiling in mm2.",
      +          "type": "number"
      +        },
      +        {
      +          "description": "Null when numeric metric is not evaluated in active mode.",
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / sections / properties / voltageDrop / properties / status
      Added value: +{
      +  "description": "Section verdict string (\"COMPLIANT\", \"WARNING\", or \"NON_COMPLIANT\").",
      +  "type": "string"
      +}
    • addedOutput schema / properties / sections / properties / voltageDrop / properties / warnings
      Added value: +{
      +  "description": "Non-blocking advisory warnings raised in this section.",
      +  "items": {
      +    "additionalProperties": true,
      +    "description": "Structured engineering compliance alert or warning entry.",
      +    "properties": {
      +      "code": {
      +        "description": "Machine-readable diagnostic alert or warning code.",
      +        "type": "string"
      +      },
      +      "en": {
      +        "description": "English localized engineering diagnostic message text.",
      +        "type": "string"
      +      },
      +      "fr": {
      +        "description": "French localized engineering diagnostic message text.",
      +        "type": "string"
      +      },
      +      "severity": {
      +        "description": "Diagnostic severity tier (\"CRITICAL\" or \"WARNING\").",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / summary / properties / criticalFindings
      Added value: +{
      +  "description": "Critical compliance findings across sections.",
      +  "items": {
      +    "additionalProperties": true,
      +    "description": "Section-scoped diagnostic finding or warning entry.",
      +    "properties": {
      +      "code": {
      +        "description": "Machine-readable diagnostic finding or warning code.",
      +        "type": "string"
      +      },
      +      "en": {
      +        "description": "English localized engineering diagnostic message text.",
      +        "type": "string"
      +      },
      +      "fr": {
      +        "description": "French localized engineering diagnostic message text.",
      +        "type": "string"
      +      },
      +      "section": {
      +        "description": "Audited LV section key that raised this finding.",
      +        "type": "string"
      +      },
      +      "severity": {
      +        "description": "Diagnostic severity tier (\"CRITICAL\" or \"WARNING\").",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / summary / properties / overallCompliant / description
      Previous value: -"True when all evaluated LV physics checks pass."New value: +"True when all evaluated LV physics sections pass."
    • addedOutput schema / properties / summary / properties / sectionsEvaluated
      Added value: +{
      +  "description": "Count of feeder audit sections evaluated.",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / summary / properties / sectionsPassed
      Added value: +{
      +  "description": "Count of evaluated feeder audit sections passing.",
      +  "type": "integer"
      +}
    • changedOutput schema / properties / summary / properties / status / description
      Previous value: -"Summary status label (e.g. PASS or FAIL)."New value: +"Aggregated pass/fail verdict string across evaluated sections."
    • addedOutput schema / properties / summary / properties / warnings
      Added value: +{
      +  "description": "Advisory warnings across sections.",
      +  "items": {
      +    "additionalProperties": true,
      +    "description": "Section-scoped diagnostic finding or warning entry.",
      +    "properties": {
      +      "code": {
      +        "description": "Machine-readable diagnostic finding or warning code.",
      +        "type": "string"
      +      },
      +      "en": {
      +        "description": "English localized engineering diagnostic message text.",
      +        "type": "string"
      +      },
      +      "fr": {
      +        "description": "French localized engineering diagnostic message text.",
      +        "type": "string"
      +      },
      +      "section": {
      +        "description": "Audited LV section key that raised this finding.",
      +        "type": "string"
      +      },
      +      "severity": {
      +        "description": "Diagnostic severity tier (\"CRITICAL\" or \"WARNING\").",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / voltageDropPct / description
      Previous value: -"Computed steady-state voltage drop in % of nominal voltage."New value: +"Computed steady-state voltage drop in % of nominal voltage, or null."
    • addedOutput schema / properties / voltageDropPct / oneOf
      Added value: +[
      +  {
      +    "description": "Computed steady-state voltage drop in % of nominal voltage, or null.",
      +    "type": "number"
      +  },
      +  {
      +    "description": "Null when numeric metric is not evaluated in active mode.",
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / voltageDropPct / type
      Removed value: -"number"
  2. Changed40 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +true
    • addedInput schema / properties / cable / additionalProperties
      Added value: +true
    • addedInput schema / properties / cable / description
      Added value: +"Structured thermal ampacity input overrides for multi-section audit mode."
    • addedInput schema / properties / cable / properties
      Added value: +{
      +  "ambientTempC": {
      +    "description": "Ambient air or ground temperature in deg C.",
      +    "type": "number"
      +  },
      +  "clearingTimeSec": {
      +    "description": "Protective device fault clearing duration in seconds.",
      +    "type": "number"
      +  },
      +  "faultCurrentIkMaxKa": {
      +    "description": "Prospective maximum short-circuit current at origin in kA.",
      +    "type": "number"
      +  },
      +  "groupedCircuits": {
      +    "description": "Number of thermally bundled circuits sharing tray/conduit.",
      +    "type": "integer"
      +  },
      +  "harmonic3Pct": {
      +    "description": "Third-harmonic line current fraction in % (0..100).",
      +    "type": "number"
      +  },
      +  "installationMode": {
      +    "description": "Thermal installation mode code.",
      +    "type": "string"
      +  },
      +  "insulation": {
      +    "description": "Insulation type (\"PR\", \"XLPE\", or \"PVC\").",
      +    "type": "string"
      +  },
      +  "loadPowerKw": {
      +    "description": "Feeder active power load in kW.",
      +    "type": "number"
      +  },
      +  "material": {
      +    "description": "Conductor metal (\"CU\" or \"AL\").",
      +    "type": "string"
      +  },
      +  "phases": {
      +    "description": "Phase count (1 or 3).",
      +    "type": "integer"
      +  },
      +  "voltageV": {
      +    "description": "System voltage in V.",
      +    "type": "number"
      +  }
      +}
    • addedInput schema / properties / conductorMaterial / default
      Added value: +"CU"
    • addedInput schema / properties / conductorMaterial / description
      Added value: +"Conductor metal token (\"CU\" for copper or \"AL\" for aluminum, defaults to \"CU\")."
    • addedInput schema / properties / earthingSystem / description
      Added value: +"System earthing topology token (e.g. \"TT\", \"TN-S\", \"TN-C\", \"IT\")."
    • addedInput schema / properties / evolutions2024 / additionalProperties
      Added value: +true
    • addedInput schema / properties / evolutions2024 / description
      Added value: +"Extended surge protection, EV charging, and energy-efficiency audit overrides."
    • addedInput schema / properties / evolutions2024 / properties
      Added value: +{
      +  "energyEfficiency": {
      +    "additionalProperties": true,
      +    "description": "Energy efficiency and harmonic origin block.",
      +    "properties": {
      +      "sector": {
      +        "description": "Building sector profile (\"COMMERCIAL\", \"INDUSTRIAL\", \"RESIDENTIAL\").",
      +        "type": "string"
      +      },
      +      "thduOriginPct": {
      +        "description": "Total harmonic voltage distortion THDu at origin in %.",
      +        "type": "number"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "spd": {
      +    "additionalProperties": true,
      +    "description": "Surge protection evaluation block.",
      +    "properties": {
      +      "keraunicLevelNk": {
      +        "description": "Regional lightning keraunic level Nk (flash days/year).",
      +        "type": "number"
      +      },
      +      "spdType": {
      +        "description": "Surge protective device class (\"TYPE_1\", \"TYPE_2\").",
      +        "type": "string"
      +      },
      +      "spdUpKv": {
      +        "description": "SPD voltage protection level Up in kV.",
      +        "type": "number"
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
    • addedInput schema / properties / faultLoop / additionalProperties
      Added value: +true
    • addedInput schema / properties / faultLoop / description
      Added value: +"Structured fault-loop indirect-contact protection overrides."
    • addedInput schema / properties / faultLoop / properties
      Added value: +{
      +  "earthResistanceRaOhm": {
      +    "description": "Protective earth electrode resistance Ra in ohms.",
      +    "type": "number"
      +  },
      +  "earthingSystem": {
      +    "description": "Earthing topology (\"TT\", \"TN-S\", \"TN-C\", \"IT\").",
      +    "type": "string"
      +  },
      +  "hasRcd": {
      +    "description": "True when residual-current protection protects the circuit.",
      +    "type": "boolean"
      +  },
      +  "rcdSensitivityMa": {
      +    "description": "Rated residual operating current I_delta_n in mA.",
      +    "type": "number"
      +  },
      +  "u0V": {
      +    "description": "Phase-to-earth nominal voltage U0 in V (typically 230 V).",
      +    "type": "number"
      +  }
      +}
    • addedInput schema / properties / installationMethod / description
      Added value: +"Reference thermal installation arrangement code (e.g. \"C\", \"E\", \"13\")."
    • addedInput schema / properties / installationMode / default
      Added value: +"13"
    • addedInput schema / properties / installationMode / description
      Added value: +"Numeric/legacy installation reference method alias (defaults to \"13\")."
    • addedInput schema / properties / insulation / description
      Added value: +"Cable insulation compound code (e.g. \"PR\"/\"XLPE\" for 90 C or \"PVC\" for 70 C)."
    • addedInput schema / properties / lengthM / description
      Added value: +"One-way feeder cable run length in meters (m)."
    • addedInput schema / properties / loadPowerKw / description
      Added value: +"Alias for active feeder load power in kW when supplied by tabular study clients."
    • addedInput schema / properties / material / default
      Added value: +"CU"
    • addedInput schema / properties / material / description
      Added value: +"Short alias for conductorMaterial (\"CU\" or \"AL\", defaults to \"CU\")."
    • addedInput schema / properties / mode / default
      Added value: +"cable_sizing"
    • addedInput schema / properties / mode / description
      Added value: +"Calculation mode selecting single sub-study or comprehensive feeder audit."
    • changedInput schema / properties / operation / description
      Previous value: -"Alias for mode (e.g. lv_mv_audit)"New value: +"Backward-compatible alias for mode (e.g. \"lv_mv_audit\" maps to comprehensive audit)."
    • addedInput schema / properties / phases / default
      Added value: +3
    • addedInput schema / properties / phases / description
      Added value: +"Phase count: 1 for single-phase or 3 for balanced three-phase circuits (defaults to 3)."
    • addedInput schema / properties / powerFactor / default
      Added value: +0.85
    • addedInput schema / properties / powerFactor / description
      Added value: +"Displacement power factor cos(phi) between 0.1 and 1.0 (defaults to 0.85)."
    • addedInput schema / properties / powerFactor / maximum
      Added value: +1
    • addedInput schema / properties / powerFactor / minimum
      Added value: +0.1
    • addedInput schema / properties / powerKw / default
      Added value: +25
    • addedInput schema / properties / powerKw / description
      Added value: +"Active feeder load power in kW (defaults to 25 kW)."
    • addedInput schema / properties / presetId / description
      Added value: +"Optional reference feeder study preset identifier overriding default load/circuit geometry."
    • addedInput schema / properties / sectionMm2 / description
      Added value: +"Nominal conductor cross-sectional area in mm2 for verification modes."
    • addedInput schema / properties / voltageDrop / additionalProperties
      Added value: +true
    • addedInput schema / properties / voltageDrop / description
      Added value: +"Structured steady-state voltage drop section input overrides."
    • addedInput schema / properties / voltageDrop / properties
      Added value: +{
      +  "designCurrentIbA": {
      +    "description": "Design load current Ib in amperes.",
      +    "type": "number"
      +  },
      +  "lengthM": {
      +    "description": "One-way circuit length in meters.",
      +    "type": "number"
      +  },
      +  "sectionMm2": {
      +    "description": "Phase cross-section in mm2.",
      +    "type": "number"
      +  },
      +  "supplyType": {
      +    "description": "Origin type (\"PUBLIC_LV\" or \"PRIVATE_MV_LV\").",
      +    "type": "string"
      +  },
      +  "usage": {
      +    "description": "Load category (\"LIGHTING\" or \"OTHER\") selecting dU% ceiling.",
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / voltageV / default
      Added value: +400
    • addedInput schema / properties / voltageV / description
      Added value: +"Line-to-line AC voltage in V for three-phase or phase-to-neutral V for single-phase (defaults to 400 V)."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "LV feeder physics evaluation with section recommendation, calculationTrace, and legalNotice.",
      +  "properties": {
      +    "calculationTrace": {
      +      "additionalProperties": true,
      +      "description": "Transparent audit trail detailing inputs, injected defaults, formulas, constants, principles, and assumptions.",
      +      "properties": {
      +        "defaultsApplied": {
      +          "additionalProperties": true,
      +          "description": "Default physical or engineering assumptions injected when optional inputs were omitted.",
      +          "properties": {},
      +          "type": "object"
      +        },
      +        "engineeringAssumptions": {
      +          "description": "Explicit boundary assumptions required to interpret the numerical output.",
      +          "items": {
      +            "description": "Boundary condition or validity assumption for the calculation.",
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "formulasAndConstants": {
      +          "additionalProperties": true,
      +          "description": "Mathematical formulas and SI physical constants bound to this calculation mode.",
      +          "properties": {
      +            "constants": {
      +              "additionalProperties": true,
      +              "description": "Map of physical constants, resistivities, and design coefficients in SI units.",
      +              "properties": {},
      +              "type": "object"
      +            },
      +            "formulas": {
      +              "description": "Ordered list of physical equations evaluated by the calculation engine.",
      +              "items": {
      +                "description": "Symbolic engineering formula string used during evaluation.",
      +                "type": "string"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "inputsProvided": {
      +          "additionalProperties": true,
      +          "description": "Non-empty normalized input parameters explicitly supplied by the caller.",
      +          "properties": {},
      +          "type": "object"
      +        },
      +        "mode": {
      +          "description": "Normalized calculation mode executed for the current payload.",
      +          "type": "string"
      +        },
      +        "physicalPrinciples": {
      +          "description": "Key physical principles governing the computed result.",
      +          "items": {
      +            "description": "Concise statement of an underlying electrical or thermal principle.",
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "tool": {
      +          "description": "Resolved Brain tool identifier audited by the calculation tracer.",
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "legalNotice": {
      +      "description": "Informational engineering compliance notice confirming SI physical scope and intellectual property rules.",
      +      "type": "string"
      +    },
      +    "mode": {
      +      "description": "Resolved LV feeder calculation mode.",
      +      "type": "string"
      +    },
      +    "recommendedSectionMm2": {
      +      "description": "Minimum compliant standard phase cross-section in mm2.",
      +      "type": "number"
      +    },
      +    "sections": {
      +      "additionalProperties": true,
      +      "description": "Per-section calculation detail objects in audit mode.",
      +      "properties": {
      +        "cable": {
      +          "additionalProperties": true,
      +          "description": "Thermal ampacity sizing and derating factors breakdown.",
      +          "properties": {},
      +          "type": "object"
      +        },
      +        "faultLoop": {
      +          "additionalProperties": true,
      +          "description": "Indirect-contact Zs / Ra clearing margin breakdown.",
      +          "properties": {},
      +          "type": "object"
      +        },
      +        "voltageDrop": {
      +          "additionalProperties": true,
      +          "description": "Steady-state dU (V and %) breakdown against limit.",
      +          "properties": {},
      +          "type": "object"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "summary": {
      +      "additionalProperties": true,
      +      "description": "Aggregated pass/fail summary across evaluated sections.",
      +      "properties": {
      +        "overallCompliant": {
      +          "description": "True when all evaluated LV physics checks pass.",
      +          "type": "boolean"
      +        },
      +        "status": {
      +          "description": "Summary status label (e.g. PASS or FAIL).",
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "voltageDropPct": {
      +      "description": "Computed steady-state voltage drop in % of nominal voltage.",
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, and the description adds context beyond that: stateless evaluation, JSON-RPC -32602 on non-object or invalid inputs, and the full default profile (mode=cable_sizing, 400 V, 3-phase, 25 kW, cos(phi)=0.85, Cu) when inputs are omitted. It also lists the return fields, so an agent knows what comes back without inspecting the output schema.

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 labeled structure ('When to use', 'Do not use for', 'Behavior', 'Returns') is easy to scan and the scope statement is front-loaded. It is longer than strictly necessary and the 'Returns' sentence partially duplicates the existing output schema, but no sentence is filler.

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

Completeness5/5

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

For a 17-parameter tool with nested objects, five calculation modes, and an output schema, the description covers purpose, alternatives, defaults, error behavior, and return shape. An agent has everything needed to select and invoke it 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?

Schema description coverage is 100%, so every parameter is already documented in the schema; the description adds little parameter-level detail beyond restating the derating factors (ambient temperature, grouping, soil, 3rd-harmonic) and the default option values. Baseline 3 is appropriate when the schema does the heavy lifting.

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 opens with a specific verb and resource ('Size low-voltage circuits (<= 1 kV)') and then enumerates the four sub-studies it performs: thermal ampacity Iz, voltage drop dU%, fault-loop Zs, and adiabatic PE sizing. An agent can distinguish it from the MV siblings without opening the schema.

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 'When to use' clause (LV cable sizing, voltage-drop verification, TT/TN/IT indirect-contact audits) and an explicit 'Do not use for' clause that names the correct alternatives, brain_calc_hta_cable_cyclic and brain_calc_mv_delivery_physics. Nothing about tool selection is left to inference.

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