Skip to main content
Glama

sodural-electrical-mcp

Transformer Magnetizing Inrush & Thermal Curves

sodural_calc_transformer_inrush
Read-onlyIdempotent

Models transformer cold-load magnetizing inrush peak and exponential decay I_inrush(t) = (k*In1/sqrt(2))*exp(-t/tau), primary/secondary Kapp equivalent impedances, ANSI 50 pickup floors, plus transformer thermal-mechanical withstand envelopes, adiabatic cable k2S2 curves, fuse bands, LSIG trip envelopes, and capacitor/inverter markers. When to use: Use when sizing transformer magnetizing inrush immunity or generating component damage curves. Do not use for inverse-time relay-pair delta-t grading or transformer ecodesign/DGA oil diagnostics; call sodural_calc_selectivity_tcc or brain_calc_transformer_ecodesign_dga instead. Behavior: Deterministic, stateless, read-only execution in SI units (rate-capped at 120 req/min/IP) returning JSON-RPC -32602 for invalid numeric inputs; defaults to mode="inrush", 1000 kVA, 20/0.41 kV, Ucc=6.0%, kInrush=8.0, tauSec=0.25 s when omitted. Returns: mode, Sn_kVA, In1_A, In2_A, Rs_mOhm, Xs_mOhm, I_inrush_10ms_A, recommendedAnsi50MinPickupA, c57109DamageSummary, inrushCurvePoints, inrushTable, 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": "sodural_calc_transformer_inrush"
  }
}

Input Schema

NameRequiredDescriptionDefault
kvaNoAlias of powerKva in kVA used in through-fault damage and fuse modes.
poWNoNo-load iron core losses Po in watts (0..500000 W, defaults to 0 W).
modeNoCalculation sub-mode selecting inrush or component thermal-damage curves (defaults to "inrush").inrush
pcuWNoLoad copper losses Pcu in watts (optional; estimated as 10*powerKva W if omitted).
tauSecNoMagnetizing flux exponential decay time constant tau in seconds (0.001..10 s, defaults to 0.25 s).
kInrushNoInitial magnetizing inrush peak multiplier relative to In1 (0.1..30, defaults to 8.0).
materialNoCable conductor material ("cu" or "al") for cable_adiabatic thermal curve mode.
powerKvaNoTransformer nominal apparent power rating Sn in kVA (1..500000 kVA, defaults to 1000 kVA).
ioPercentNoNo-load magnetizing current Io in % of rated In1 (0..50%, defaults to 1.0%).
voltageKvNoAlias of primaryVoltageKv in kV for through-fault damage modes.
insulationNoCable insulation family ("xlpe", "epr", or "pvc") for cable_adiabatic mode.
sectionMm2NoCable conductor cross-section in mm2 for cable_adiabatic mode (1.5..5000 mm2).
uccPercentNoTransformer short-circuit impedance voltage Ucc in % (0.1..50%, defaults to 6.0%).
fuseRatingANoFuse rated nominal current In in amperes for fuse melting band mode.
impedancePctNoAlias of uccPercent in % for transformer thermal-mechanical damage mode.
primaryVoltageKvNoPrimary winding nominal line-to-line voltage U1 in kV (0.1..500 kV, defaults to 20 kV).
secondaryVoltageVNoSecondary winding no-load line-to-line voltage U2 in V (10..50000 V, defaults to 410 V).

Output Schema

NameRequiredDescriptionDefault
U2_VNoSecondary winding no-load line-to-line voltage in V.
modeNoExecuted transformer inrush or protection curve sub-mode.
In1_ANoPrimary winding rated full-load current In1 in A.
In2_ANoSecondary winding rated full-load current In2 in A.
U1_kVNoPrimary winding nominal line-to-line voltage in kV.
Sn_kVANoEffective transformer apparent power rating in kVA.
Rs_mOhmNoEquivalent secondary winding resistance Rs in milliohms.
Xs_mOhmNoEquivalent secondary leakage reactance Xs in milliohms.
inrushTableNoTabulated dynamic magnetizing current and impedance decay table.
legalNoticeNoNon-substitution intellectual-property banner adapted to the caller permission tier.
I_inrush_10ms_ANoFirst-cycle 10 ms asymmetrical magnetizing peak in primary A.
calculationTraceNoTransparent audit trail listing inputs, defaults, SI formulas, constants, and engineering assumptions.
inrushCurvePointsNoSampled time-current points along decaying inrush curve.
c57109DamageSummaryNoTransformer thermal-mechanical through-fault withstand summary.
recommendedAnsi50MinPickupANoMinimum instantaneous 50 pickup setting clearing inrush in A.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed57 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +true
    • changedInput schema / properties / fuseRatingA / description
      Previous value: -"HV fuse rating In in A (fuse mode)"New value: +"Fuse rated nominal current In in amperes for fuse melting band mode."
    • addedInput schema / properties / fuseRatingA / maximum
      Added value: +10000
    • addedInput schema / properties / fuseRatingA / minimum
      Added value: +1
    • changedInput schema / properties / impedancePct / description
      Previous value: -"Alias of uccPercent in %"New value: +"Alias of uccPercent in % for transformer thermal-mechanical damage mode."
    • addedInput schema / properties / impedancePct / maximum
      Added value: +50
    • addedInput schema / properties / impedancePct / minimum
      Added value: +0.1
    • changedInput schema / properties / insulation / description
      Previous value: -"Insulation xlpe|epr|pvc (cable_adiabatic mode)"New value: +"Cable insulation family (\"xlpe\", \"epr\", or \"pvc\") for cable_adiabatic mode."
    • addedInput schema / properties / ioPercent / default
      Added value: +1
    • changedInput schema / properties / ioPercent / description
      Previous value: -"No-load magnetizing current Io in % (optional)"New value: +"No-load magnetizing current Io in % of rated In1 (0..50%, defaults to 1.0%)."
    • addedInput schema / properties / ioPercent / maximum
      Added value: +50
    • addedInput schema / properties / ioPercent / minimum
      Added value: +0
    • addedInput schema / properties / kInrush / default
      Added value: +8
    • changedInput schema / properties / kInrush / description
      Previous value: -"Inrush peak multiplier k_inrush (optional)"New value: +"Initial magnetizing inrush peak multiplier relative to In1 (0.1..30, defaults to 8.0)."
    • addedInput schema / properties / kInrush / maximum
      Added value: +30
    • addedInput schema / properties / kInrush / minimum
      Added value: +0.1
    • changedInput schema / properties / kva / description
      Previous value: -"Alias of powerKva in kVA for C57.109 / fuse modes"New value: +"Alias of powerKva in kVA used in through-fault damage and fuse modes."
    • addedInput schema / properties / kva / maximum
      Added value: +500000
    • addedInput schema / properties / kva / minimum
      Added value: +1
    • changedInput schema / properties / material / description
      Previous value: -"Conductor material cu|al (cable_adiabatic mode)"New value: +"Cable conductor material (\"cu\" or \"al\") for cable_adiabatic thermal curve mode."
    • addedInput schema / properties / mode / default
      Added value: +"inrush"
    • changedInput schema / properties / mode / description
      Previous value: -"Calculation mode (default: inrush)"New value: +"Calculation sub-mode selecting inrush or component thermal-damage curves (defaults to \"inrush\")."
    • changedInput schema / properties / pcuW / description
      Previous value: -"Load copper losses Pcu in W (optional; estimated if omitted)"New value: +"Load copper losses Pcu in watts (optional; estimated as 10*powerKva W if omitted)."
    • addedInput schema / properties / pcuW / maximum
      Added value: +5000000
    • addedInput schema / properties / pcuW / minimum
      Added value: +1
    • addedInput schema / properties / poW / default
      Added value: +0
    • changedInput schema / properties / poW / description
      Previous value: -"No-load iron losses Po in W (optional)"New value: +"No-load iron core losses Po in watts (0..500000 W, defaults to 0 W)."
    • addedInput schema / properties / poW / maximum
      Added value: +500000
    • addedInput schema / properties / poW / minimum
      Added value: +0
    • addedInput schema / properties / powerKva / default
      Added value: +1000
    • changedInput schema / properties / powerKva / description
      Previous value: -"Transformer nominal rating in kVA (e.g. 630, 1000, 2000)"New value: +"Transformer nominal apparent power rating Sn in kVA (1..500000 kVA, defaults to 1000 kVA)."
    • addedInput schema / properties / powerKva / maximum
      Added value: +500000
    • addedInput schema / properties / powerKva / minimum
      Added value: +1
    • addedInput schema / properties / primaryVoltageKv / default
      Added value: +20
    • changedInput schema / properties / primaryVoltageKv / description
      Previous value: -"Primary voltage in kV (e.g. 20)"New value: +"Primary winding nominal line-to-line voltage U1 in kV (0.1..500 kV, defaults to 20 kV)."
    • addedInput schema / properties / primaryVoltageKv / maximum
      Added value: +500
    • addedInput schema / properties / primaryVoltageKv / minimum
      Added value: +0.1
    • addedInput schema / properties / secondaryVoltageV / default
      Added value: +410
    • changedInput schema / properties / secondaryVoltageV / description
      Previous value: -"Secondary no-load voltage in V (default: 410)"New value: +"Secondary winding no-load line-to-line voltage U2 in V (10..50000 V, defaults to 410 V)."
    • addedInput schema / properties / secondaryVoltageV / maximum
      Added value: +50000
    • addedInput schema / properties / secondaryVoltageV / minimum
      Added value: +10
    • changedInput schema / properties / sectionMm2 / description
      Previous value: -"Cable cross-section in mm2 (cable_adiabatic mode)"New value: +"Cable conductor cross-section in mm2 for cable_adiabatic mode (1.5..5000 mm2)."
    • addedInput schema / properties / sectionMm2 / maximum
      Added value: +5000
    • addedInput schema / properties / sectionMm2 / minimum
      Added value: +1.5
    • addedInput schema / properties / tauSec / default
      Added value: +0.25
    • changedInput schema / properties / tauSec / description
      Previous value: -"Inrush decay time constant tau in seconds (optional)"New value: +"Magnetizing flux exponential decay time constant tau in seconds (0.001..10 s, defaults to 0.25 s)."
    • addedInput schema / properties / tauSec / maximum
      Added value: +10
    • addedInput schema / properties / tauSec / minimum
      Added value: +0.001
    • addedInput schema / properties / uccPercent / default
      Added value: +6
    • changedInput schema / properties / uccPercent / description
      Previous value: -"Short-circuit impedance Ucc in % (e.g. 4.0 or 6.0)"New value: +"Transformer short-circuit impedance voltage Ucc in % (0.1..50%, defaults to 6.0%)."
    • addedInput schema / properties / uccPercent / maximum
      Added value: +50
    • addedInput schema / properties / uccPercent / minimum
      Added value: +0.1
    • changedInput schema / properties / voltageKv / description
      Previous value: -"Alias of primaryVoltageKv in kV"New value: +"Alias of primaryVoltageKv in kV for through-fault damage modes."
    • addedInput schema / properties / voltageKv / maximum
      Added value: +500
    • addedInput schema / properties / voltageKv / minimum
      Added value: +0.1
    • removedInput schema / required
      Removed value: -[]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "Transformer magnetizing inrush and thermal damage curve result with calculationTrace and legalNotice.",
      +  "properties": {
      +    "I_inrush_10ms_A": {
      +      "description": "First-cycle 10 ms asymmetrical magnetizing peak in primary A.",
      +      "type": "number"
      +    },
      +    "In1_A": {
      +      "description": "Primary winding rated full-load current In1 in A.",
      +      "type": "number"
      +    },
      +    "In2_A": {
      +      "description": "Secondary winding rated full-load current In2 in A.",
      +      "type": "number"
      +    },
      +    "Rs_mOhm": {
      +      "description": "Equivalent secondary winding resistance Rs in milliohms.",
      +      "type": "number"
      +    },
      +    "Sn_kVA": {
      +      "description": "Effective transformer apparent power rating in kVA.",
      +      "type": "number"
      +    },
      +    "U1_kV": {
      +      "description": "Primary winding nominal line-to-line voltage in kV.",
      +      "type": "number"
      +    },
      +    "U2_V": {
      +      "description": "Secondary winding no-load line-to-line voltage in V.",
      +      "type": "number"
      +    },
      +    "Xs_mOhm": {
      +      "description": "Equivalent secondary leakage reactance Xs in milliohms.",
      +      "type": "number"
      +    },
      +    "c57109DamageSummary": {
      +      "additionalProperties": true,
      +      "description": "Transformer thermal-mechanical through-fault withstand summary.",
      +      "properties": {
      +        "category": {
      +          "description": "Transformer fault energy category class I-IV.",
      +          "type": "string"
      +        },
      +        "iMaxFaultA": {
      +          "description": "Maximum symmetrical through-fault current withstand in A.",
      +          "type": "number"
      +        },
      +        "iRatedA": {
      +          "description": "Primary rated current in A.",
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "calculationTrace": {
      +      "additionalProperties": true,
      +      "description": "Transparent audit trail listing inputs, defaults, SI formulas, constants, and engineering assumptions.",
      +      "properties": {
      +        "defaultsApplied": {
      +          "additionalProperties": true,
      +          "description": "Default SI parameters injected when optional inputs are omitted.",
      +          "properties": {},
      +          "type": "object"
      +        },
      +        "engineeringAssumptions": {
      +          "description": "Boundary conditions assumed by the calculation engine.",
      +          "items": {
      +            "description": "Validity assumption constraining interpretation.",
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "formulasAndConstants": {
      +          "additionalProperties": true,
      +          "description": "Mathematical formulas and constants applied during evaluation.",
      +          "properties": {
      +            "constants": {
      +              "additionalProperties": true,
      +              "description": "Physical constants and conversion coefficients in SI units.",
      +              "properties": {},
      +              "type": "object"
      +            },
      +            "formulas": {
      +              "description": "Evaluated physical formulas.",
      +              "items": {
      +                "description": "Symbolic SI physics equation.",
      +                "type": "string"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "inputsProvided": {
      +          "additionalProperties": true,
      +          "description": "Caller-supplied parameters normalized before execution.",
      +          "properties": {},
      +          "type": "object"
      +        },
      +        "mode": {
      +          "description": "Executed physics calculation sub-mode for this call.",
      +          "type": "string"
      +        },
      +        "physicalPrinciples": {
      +          "description": "Ordered physical principles backing the solver.",
      +          "items": {
      +            "description": "Physical principle governing the analytical model.",
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "tool": {
      +          "description": "Canonical MCP tool identifier recorded by the calculation tracer.",
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "inrushCurvePoints": {
      +      "description": "Sampled time-current points along decaying inrush curve.",
      +      "items": {
      +        "additionalProperties": true,
      +        "description": "Inrush time-current coordinate.",
      +        "properties": {
      +          "current": {
      +            "description": "Inrush envelope current in A.",
      +            "type": "number"
      +          },
      +          "time": {
      +            "description": "Elapsed time instant in seconds.",
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "inrushTable": {
      +      "description": "Tabulated dynamic magnetizing current and impedance decay table.",
      +      "items": {
      +        "additionalProperties": true,
      +        "description": "Magnetizing decay step row.",
      +        "properties": {
      +          "I_magn_A": {
      +            "description": "Magnetizing RMS current in A.",
      +            "type": "number"
      +          },
      +          "Z_magn_Ohm": {
      +            "description": "Apparent magnetizing impedance in ohms.",
      +            "type": "number"
      +          },
      +          "t_s": {
      +            "description": "Sample instant in seconds.",
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "legalNotice": {
      +      "description": "Non-substitution intellectual-property banner adapted to the caller permission tier.",
      +      "type": "string"
      +    },
      +    "mode": {
      +      "description": "Executed transformer inrush or protection curve sub-mode.",
      +      "type": "string"
      +    },
      +    "recommendedAnsi50MinPickupA": {
      +      "description": "Minimum instantaneous 50 pickup setting clearing inrush in A.",
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world safety profile, and the description adds real context beyond them: deterministic stateless execution, SI units, a 120 req/min/IP rate cap, and JSON-RPC -32602 on invalid numerics. It also discloses which defaults apply when all parameters are omitted, which is valuable for a zero-required-parameter tool. Minor gap: it does not describe how the alias parameters (kva vs powerKva, impedancePct vs uccPercent) interact when both are supplied.

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?

Front-loaded with the formula and purpose, then deliberately partitioned into When to use / Do not use / Behavior / Returns, which is easy to scan despite the density. The closing field list partly duplicates the existing output schema, so some of that sentence is not strictly earning its place.

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?

Annotations handle the safety profile and an output schema exists, so the description need not explain return payloads. The formula, defaults, rate cap, and error code make it callable without further reading. What is left unstated is per-mode parameter applicability, the one thing that matters most for a 17-parameter, 6-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 every parameter including ranges and defaults is already documented in structured form; the description's default summary (mode, 1000 kVA, 20/0.41 kV, Ucc 6%, kInrush 8, tau 0.25 s) largely restates that. It does not clarify mode-to-parameter relevance, i.e. which subset of the 17 parameters each of the six modes actually consumes.

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?

Names a specific method (magnetizing inrush peak with exponential decay), states the governing equation, and enumerates the curve families (thermal-mechanical withstand, adiabatic cable k2S2, fuse bands, LSIG, capacitor/inverter markers). An agent can distinguish this from selectivity grading or DGA tools 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?

Explicit 'When to use' clause ties it to inrush immunity sizing and damage-curve generation, and the 'Do not use' clause names the two sibling tools to route to instead (sodural_calc_selectivity_tcc for relay-pair delta-t grading, brain_calc_transformer_ecodesign_dga for ecodesign/DGA). Both inclusion and exclusion conditions are stated outright.

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