Skip to main content
Glama

sodural-electrical-mcp

MV Homopolar 3Ic0 & Directional 67N Coordinator

brain_calc_homopolar_67n
Read-onlyIdempotent

Calculate medium-voltage zero-sequence capacitive charging currents 3Ic0 across feeders, non-directional 51N anti-sympathy vs earth-fault sensitivity corridors, directional 67N polar characteristic angle (RCA) trip/block sectors, 59N open-delta supervision, and BPN neutral grounding topology. When to use: Use for MV zero-sequence earth-fault relay coordination and polar sector checks. Do not use for: Sizing physical BPN neutral earthing reactor ohm ratings (Zn) or HV distance Z1-Z4 zones -- call sodural_calc_bpn or sodural_calc_ansi21_87t_hv instead. Behavior: Runs stateless, read-only symmetrical zero-sequence summation and phasor-sector classification with zero mutations (HTTP rate-limited at 120 req/min/IP); invalid argument types raise JSON-RPC -32602, defaulting to mode="bus_network", lang="fr", busId="BUS_MV_A" with a two-feeder 20 kV BPN network. Returns: mode, busId, totalThreeIc0Amp, feedersCount, capacitiveCeilingUtilizationPct, feederAudits, 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_homopolar_67n"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoResponse localization language code ("fr" for French or "en" for English, defaults to "fr").fr
modeNoHomopolar earth-fault calculation mode (defaults to "bus_network").bus_network
busIdNoTarget MV switchboard busbar identifier (defaults to "BUS_MV_A").BUS_MV_A
feedersNoArray of MV feeders on the busbar for 3Ic0 summation and 51N/67N selectivity verification.
groundingInfoNoNeutral grounding topology and zero-sequence CT sensing configuration.

Output Schema

NameRequiredDescriptionDefault
modeNoExecuted homopolar earth-fault study mode.
busIdNoEvaluated MV switchboard busbar identifier.
legalNoticeNoInformational engineering compliance notice confirming SI physical scope and intellectual property rules.
feederAuditsNoPer-feeder anti-sympathy and directional 67N verdict list.
feedersCountNoTotal count of evaluated MV feeders on the busbar.
calculationTraceNoTransparent audit trail detailing inputs, injected defaults, formulas, constants, principles, and assumptions.
totalThreeIc0AmpNoTotal zero-sequence capacitive current 3Ic0 on the bus in A.
totalNetwork3Ic0AmpNoAggregate network zero-sequence capacitive current in amperes (A).
capacitiveCeilingLimitANoMaximum permissible network capacitive current ceiling in A.
feedersWith67nMandatoryNoCount of feeders requiring directional 67N to avoid sympathy trips.
isCapacitiveCeilingExceededNoTrue when total 3Ic0 exceeds neutral capacitive ceiling.
isCapacitiveExpansionAtRiskNoTrue when 3Ic0 approaches capacitive ceiling margin.
capacitiveCeilingUtilizationPctNoPercentage utilization against BPN capacitive trip threshold (%).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed43 schema fields changed
    • changedInput schema / properties / busId / description
      Previous value: -"Target MV switchboard bus identifier (defaults to \"BUS_MV_A\")."New value: +"Target MV switchboard busbar identifier (defaults to \"BUS_MV_A\")."
    • changedInput schema / properties / feeders / items / properties / id / description
      Previous value: -"MV feeder bay identifier (e.g. \"FEEDER_1\")."New value: +"MV feeder bay identifier string (e.g. \"FEEDER_1\")."
    • changedInput schema / properties / feeders / items / properties / isDirectional67N / description
      Previous value: -"True when directional 67N element is enabled on the feeder."New value: +"True when directional 67N earth-fault element is enabled on feeder."
    • changedInput schema / properties / feeders / items / properties / lengthM / description
      Previous value: -"Cable route length in meters used to estimate 3Ic0 when omitted."New value: +"Cable route length in meters (m) used to estimate 3Ic0 when omitted."
    • addedInput schema / properties / feeders / items / properties / lengthM / minimum
      Added value: +0
    • changedInput schema / properties / feeders / items / properties / rcaAngleDeg / description
      Previous value: -"Directional 67N Relay Characteristic Angle RCA in degrees (default -45 deg)."New value: +"Directional 67N Relay Characteristic Angle RCA in degrees (default -45)."
    • changedInput schema / properties / feeders / items / properties / threeI0MinAmp / description
      Previous value: -"Minimum earth-fault current seen on feeder in A."New value: +"Minimum earth-fault current seen on feeder in amperes (A)."
    • addedInput schema / properties / feeders / items / properties / threeI0MinAmp / minimum
      Added value: +0
    • changedInput schema / properties / feeders / items / properties / threeIc0Amp / description
      Previous value: -"Explicit measured/calculated feeder capacitive current 3Ic0 in A."New value: +"Explicit measured or calculated feeder capacitive current 3Ic0 in A."
    • addedInput schema / properties / feeders / items / properties / threeIc0Amp / minimum
      Added value: +0
    • changedInput schema / properties / feeders / items / properties / voltageKv / description
      Previous value: -"Line-to-line MV feeder voltage in kV."New value: +"Line-to-line MV feeder nominal voltage in kilovolts (kV)."
    • addedInput schema / properties / feeders / items / properties / voltageKv / minimum
      Added value: +0.4
    • changedInput schema / properties / groundingInfo / properties / busbarCount / description
      Previous value: -"Number of coupled MV busbar sections."New value: +"Number of coupled MV switchboard busbar sections."
    • addedInput schema / properties / groundingInfo / properties / busbarCount / minimum
      Added value: +1
    • changedInput schema / properties / groundingInfo / properties / ctPrimaryA / description
      Previous value: -"Phase or toroidal CT primary rating in A."New value: +"Phase or toroidal zero-sequence CT primary rating in amperes (A)."
    • addedInput schema / properties / groundingInfo / properties / ctPrimaryA / minimum
      Added value: +1
    • changedInput schema / properties / groundingInfo / properties / earthMeasurementMode / description
      Previous value: -"Zero-sequence sensing type (\"TOROID\", \"RESIDUAL_3CT\")."New value: +"Zero-sequence current sensing mode (\"TOROID\" or \"RESIDUAL_3CT\")."
    • changedInput schema / properties / groundingInfo / properties / neutralLimitA / description
      Previous value: -"Neutral resistor/reactor earth-fault current limit in A (e.g. 300 or 1000)."New value: +"Neutral resistor or reactor earth-fault limit current in A (e.g. 300)."
    • addedInput schema / properties / groundingInfo / properties / neutralLimitA / minimum
      Added value: +0
    • changedInput schema / properties / groundingInfo / properties / type / description
      Previous value: -"Neutral grounding method (\"bpn\", \"compensated\", \"isolated\", \"solid\")."New value: +"Neutral grounding method (\"bpn\", \"compensated\", \"isolated\", or \"solid\")."
    • changedOutput schema / properties / busId / description
      Previous value: -"Evaluated MV busbar identifier."New value: +"Evaluated MV switchboard busbar identifier."
    • addedOutput schema / properties / capacitiveCeilingLimitA
      Added value: +{
      +  "description": "Maximum permissible network capacitive current ceiling in A.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / capacitiveCeilingUtilizationPct / description
      Previous value: -"Percentage utilization against BPN capacitive trip threshold."New value: +"Percentage utilization against BPN capacitive trip threshold (%)."
    • addedOutput schema / properties / feederAudits / items / properties / feederId
      Added value: +{
      +  "description": "Evaluated MV feeder bay identifier string.",
      +  "type": "string"
      +}
    • removedOutput schema / properties / feederAudits / items / properties / id
      Removed value: -{
      -  "description": "Feeder identifier.",
      -  "type": "string"
      -}
    • addedOutput schema / properties / feederAudits / items / properties / is51nPossible
      Added value: +{
      +  "description": "True when a valid non-directional 51N setting corridor exists.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / feederAudits / items / properties / is67nMandatory
      Added value: +{
      +  "description": "True when directional 67N element is required for selectivity.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / feederAudits / items / properties / maxPickupSensitivityA
      Added value: +{
      +  "description": "Maximum 51N pickup preserving fault sensitivity (0.8 * 3I0min) in A.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / feederAudits / items / properties / minPickupSympathyA
      Added value: +{
      +  "description": "Minimum 51N pickup avoiding sympathy trips (1.3 * 3Ic0) in A.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / feederAudits / items / properties / proposedDelayS
      Added value: +{
      +  "description": "Recommended earth-fault tripping delay in seconds (s).",
      +  "type": "number"
      +}
    • addedOutput schema / properties / feederAudits / items / properties / proposedI0PickupA
      Added value: +{
      +  "description": "Recommended zero-sequence current pickup threshold I0> in A.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / feederAudits / items / properties / rcaAngleDeg
      Added value: +{
      +  "description": "Applied directional 67N Relay Characteristic Angle RCA in degrees.",
      +  "type": "number"
      +}
    • removedOutput schema / properties / feederAudits / items / properties / status
      Removed value: -{
      -  "description": "Coordination status.",
      -  "type": "string"
      -}
    • addedOutput schema / properties / feederAudits / items / properties / sympathyCurrentA
      Added value: +{
      +  "description": "Maximum capacitive sympathy return seen during external fault in A.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / feederAudits / items / properties / threeI0FaultA
      Added value: +{
      +  "description": "Minimum earth-fault current available on feeder in amperes (A).",
      +  "type": "number"
      +}
    • addedOutput schema / properties / feederAudits / items / properties / threeIc0Amp
      Added value: +{
      +  "description": "Feeder zero-sequence capacitive charging current 3Ic0 in A.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / feedersCount / description
      Previous value: -"Number of evaluated feeders."New value: +"Total count of evaluated MV feeders on the busbar."
    • changedOutput schema / properties / feedersCount / type
      Previous value: -"number"New value: +"integer"
    • addedOutput schema / properties / feedersWith67nMandatory
      Added value: +{
      +  "description": "Count of feeders requiring directional 67N to avoid sympathy trips.",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / isCapacitiveCeilingExceeded
      Added value: +{
      +  "description": "True when total 3Ic0 exceeds neutral capacitive ceiling.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / isCapacitiveExpansionAtRisk
      Added value: +{
      +  "description": "True when 3Ic0 approaches capacitive ceiling margin.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / mode / description
      Previous value: -"Executed homopolar earth-fault mode."New value: +"Executed homopolar earth-fault study mode."
    • addedOutput schema / properties / totalNetwork3Ic0Amp
      Added value: +{
      +  "description": "Aggregate network zero-sequence capacitive current in amperes (A).",
      +  "type": "number"
      +}
  2. Changed15 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +true
    • addedInput schema / properties / busId / default
      Added value: +"BUS_MV_A"
    • addedInput schema / properties / busId / description
      Added value: +"Target MV switchboard bus identifier (defaults to \"BUS_MV_A\")."
    • addedInput schema / properties / feeders / description
      Added value: +"Array of MV feeders on the busbar for 3Ic0 summation and 51N/67N selectivity verification."
    • addedInput schema / properties / feeders / items / additionalProperties
      Added value: +true
    • addedInput schema / properties / feeders / items / description
      Added value: +"Single MV feeder earth-fault protection record."
    • addedInput schema / properties / feeders / items / properties
      Added value: +{
      +  "id": {
      +    "description": "MV feeder bay identifier (e.g. \"FEEDER_1\").",
      +    "type": "string"
      +  },
      +  "isDirectional67N": {
      +    "description": "True when directional 67N element is enabled on the feeder.",
      +    "type": "boolean"
      +  },
      +  "lengthM": {
      +    "description": "Cable route length in meters used to estimate 3Ic0 when omitted.",
      +    "type": "number"
      +  },
      +  "rcaAngleDeg": {
      +    "description": "Directional 67N Relay Characteristic Angle RCA in degrees (default -45 deg).",
      +    "type": "number"
      +  },
      +  "threeI0MinAmp": {
      +    "description": "Minimum earth-fault current seen on feeder in A.",
      +    "type": "number"
      +  },
      +  "threeIc0Amp": {
      +    "description": "Explicit measured/calculated feeder capacitive current 3Ic0 in A.",
      +    "type": "number"
      +  },
      +  "voltageKv": {
      +    "description": "Line-to-line MV feeder voltage in kV.",
      +    "type": "number"
      +  }
      +}
    • addedInput schema / properties / groundingInfo / additionalProperties
      Added value: +true
    • addedInput schema / properties / groundingInfo / description
      Added value: +"Neutral grounding topology and zero-sequence CT sensing configuration."
    • addedInput schema / properties / groundingInfo / properties
      Added value: +{
      +  "busbarCount": {
      +    "description": "Number of coupled MV busbar sections.",
      +    "type": "number"
      +  },
      +  "ctPrimaryA": {
      +    "description": "Phase or toroidal CT primary rating in A.",
      +    "type": "number"
      +  },
      +  "earthMeasurementMode": {
      +    "description": "Zero-sequence sensing type (\"TOROID\", \"RESIDUAL_3CT\").",
      +    "type": "string"
      +  },
      +  "neutralLimitA": {
      +    "description": "Neutral resistor/reactor earth-fault current limit in A (e.g. 300 or 1000).",
      +    "type": "number"
      +  },
      +  "type": {
      +    "description": "Neutral grounding method (\"bpn\", \"compensated\", \"isolated\", \"solid\").",
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / lang / default
      Added value: +"fr"
    • addedInput schema / properties / lang / description
      Added value: +"Response localization language code (\"fr\" for French or \"en\" for English, defaults to \"fr\")."
    • addedInput schema / properties / mode / default
      Added value: +"bus_network"
    • addedInput schema / properties / mode / description
      Added value: +"Homopolar earth-fault calculation mode (defaults to \"bus_network\")."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "MV homopolar 3Ic0 & 67N directional selectivity report with calculationTrace and legalNotice.",
      +  "properties": {
      +    "busId": {
      +      "description": "Evaluated MV busbar identifier.",
      +      "type": "string"
      +    },
      +    "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"
      +    },
      +    "capacitiveCeilingUtilizationPct": {
      +      "description": "Percentage utilization against BPN capacitive trip threshold.",
      +      "type": "number"
      +    },
      +    "feederAudits": {
      +      "description": "Per-feeder anti-sympathy and directional 67N verdict list.",
      +      "items": {
      +        "additionalProperties": true,
      +        "description": "Feeder 51N/67N audit outcome.",
      +        "properties": {
      +          "id": {
      +            "description": "Feeder identifier.",
      +            "type": "string"
      +          },
      +          "status": {
      +            "description": "Coordination status.",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "feedersCount": {
      +      "description": "Number of evaluated feeders.",
      +      "type": "number"
      +    },
      +    "legalNotice": {
      +      "description": "Informational engineering compliance notice confirming SI physical scope and intellectual property rules.",
      +      "type": "string"
      +    },
      +    "mode": {
      +      "description": "Executed homopolar earth-fault mode.",
      +      "type": "string"
      +    },
      +    "totalThreeIc0Amp": {
      +      "description": "Total zero-sequence capacitive current 3Ic0 on the bus in A.",
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, and the description adds genuinely new context: stateless execution, a 120 req/min/IP HTTP rate limit, JSON-RPC -32602 on invalid argument types, and the default two-feeder 20 kV BPN network. It loses a point only because the enumerated default values (mode/lang/busId) simply restate the schema defaults rather than adding new behavior.

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 definition is front-loaded and clearly sectioned (purpose, when to use, do not use, behavior, returns), so an agent can scan it quickly. It is slightly over-packed and the 'Returns:' clause is largely redundant given that an output schema exists.

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 nested, five-parameter calculation tool with an output schema, the description covers purpose, routing, safety profile, failure mode and defaults, which is nearly everything needed to invoke it correctly. The remaining gap is that it never explains what each calculation mode produces, which matters for a multi-mode tool.

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 the schema already documents every parameter including nested feeder fields and grounding topology. The description adds no mode-selection semantics for the four enum values (bus_network, polar_sectors, bpn_architecture, zone_criteria), so the baseline of 3 applies.

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 names a concrete verb and resource set: calculating MV zero-sequence capacitive charging current 3Ic0, 51N anti-sympathy corridors, directional 67N RCA trip/block sectors, 59N supervision, and BPN grounding topology. It explicitly differentiates itself from two named siblings (sodural_calc_bpn and sodural_calc_ansi21_87t_hv), so an agent can select it without opening a 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' (MV zero-sequence earth-fault relay coordination and polar sector checks) and an explicit 'Do not use for' with the correct alternative tool named for each excluded case. Both the positive and negative routing conditions are stated, leaving nothing 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