Skip to main content
Glama

sodural-electrical-mcp

Short-Circuit Peak & Thermal Equivalent Ith

sodural_calc_thermal_equivalent
Read-onlyIdempotent

Evaluates short-circuit transient asymmetry peak factor kappa = 1.02 + 0.98*exp(-3/(X/R)) capped at 1.95, making peak Ip, DC/AC thermal decrement factors m and n, thermal equivalent withstand current Ith = Ik"*sqrt(m+n), breaker making/breaking duty, and transient recovery voltage envelopes. When to use: Use when auditing single-bus switchgear short-circuit thermal withstand and circuit breaker duty. Do not use for multi-bus symmetrical-component network solving or earth-grid split factors; call sodural_solve_topology_whitebox or brain_calc_earthing_lightning_trv instead. Behavior: Pure functional, stateless, read-only SI calculation with zero side effects (HTTP limited to 120 req/min/IP); invalid or out-of-bounds scalars raise JSON-RPC -32602, while omitted arguments default to Ik"=25 kA, Tk=1.0 s, X/R=10, 50 Hz, 20 kV, terminalFault. Returns: kappa, m, n, ith, ipKa, ikKa, percentDc, recommendedBreaker, breakerDuty, standardTrv, 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_thermal_equivalent"
  }
}

Input Schema

NameRequiredDescriptionDefault
ikKaNoOptional steady-state symmetrical short-circuit current Ik in kA (<= 500 kA).
ipKaNoOptional peak asymmetrical making current override Ip in kA (<= 1500 kA).
freqHzNoNominal AC grid operating frequency in Hz (1..100 Hz, defaults to 50 Hz).
xrRatioNoInductive-to-resistive X/R ratio along the short-circuit path (>0..200, defaults to 10).
testTypeNoSwitching duty test category ("terminalFault", "shortLineFault", "outOfPhase", defaults to "terminalFault").terminalFault
voltageKvNoRated system phase-to-phase voltage in kV for TRV lookup (0.1..1200 kV, defaults to 20 kV).
ratedIcuKaNoOptional circuit breaker rated breaking capacity Icu in kA (<= 500 kA) for duty check.
ikSubPrimeKaNoInitial symmetrical subtransient short-circuit current Ik" in kA (>0..500 kA, defaults to 25 kA).
durationTkSecNoShort-circuit fault clearing duration Tk in seconds (>0..120 s, defaults to 1.0 s).

Output Schema

NameRequiredDescriptionDefault
mNoDC component thermal equivalence decrement factor m.
nNoAC component thermal decay factor n.
ithNoEquivalent thermal short-time withstand current Ith over Tk in kA.
ikKaNoEvaluated steady-state symmetrical short-circuit current Ik in kA.
ipKaNoEvaluated asymmetrical peak making current Ip in kA.
kappaNoClamped transient asymmetry peak factor kappa in [1.0001, 1.95].
isCappedNoTrue if rawKappa exceeded 1.95 and was capped.
rawKappaNoUncapped analytical transient asymmetry peak factor kappa.
percentDcNoResidual DC offset percentage at breaker contact separation.
breakerDutyNoDetailed breaker making, breaking, and thermal margin check when ratedIcuKa is given.
legalNoticeNoNon-substitution intellectual-property banner adapted to the caller permission tier.
standardTrvNoTwo-parameter transient recovery voltage duty envelope.
calculationTraceNoTransparent audit trail listing inputs, defaults, SI formulas, constants, and engineering assumptions.
recommendedBreakerNoRecommended minimum standard circuit breaker Icu rating summary.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed34 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +true
    • addedInput schema / properties / durationTkSec / default
      Added value: +1
    • changedInput schema / properties / durationTkSec / description
      Previous value: -"Short-circuit duration Tk in seconds (default: 1.0s)"New value: +"Short-circuit fault clearing duration Tk in seconds (>0..120 s, defaults to 1.0 s)."
    • addedInput schema / properties / durationTkSec / maximum
      Added value: +120
    • addedInput schema / properties / durationTkSec / minimum
      Added value: +0.001
    • addedInput schema / properties / freqHz / default
      Added value: +50
    • changedInput schema / properties / freqHz / description
      Previous value: -"Network frequency in Hz (default: 50)"New value: +"Nominal AC grid operating frequency in Hz (1..100 Hz, defaults to 50 Hz)."
    • addedInput schema / properties / freqHz / maximum
      Added value: +100
    • addedInput schema / properties / freqHz / minimum
      Added value: +1
    • changedInput schema / properties / ikKa / description
      Previous value: -"Optional steady-state short-circuit current Ik in kA"New value: +"Optional steady-state symmetrical short-circuit current Ik in kA (<= 500 kA)."
    • addedInput schema / properties / ikKa / maximum
      Added value: +500
    • addedInput schema / properties / ikKa / minimum
      Added value: +0.001
    • addedInput schema / properties / ikSubPrimeKa / default
      Added value: +25
    • changedInput schema / properties / ikSubPrimeKa / description
      Previous value: -"Initial symmetrical short-circuit current Ik\" in kA"New value: +"Initial symmetrical subtransient short-circuit current Ik\" in kA (>0..500 kA, defaults to 25 kA)."
    • addedInput schema / properties / ikSubPrimeKa / maximum
      Added value: +500
    • addedInput schema / properties / ikSubPrimeKa / minimum
      Added value: +0.001
    • changedInput schema / properties / ipKa / description
      Previous value: -"Optional peak short-circuit current Ip in kA"New value: +"Optional peak asymmetrical making current override Ip in kA (<= 1500 kA)."
    • addedInput schema / properties / ipKa / maximum
      Added value: +1500
    • addedInput schema / properties / ipKa / minimum
      Added value: +0.001
    • changedInput schema / properties / ratedIcuKa / description
      Previous value: -"Optional breaker rated breaking capacity Icu in kA to run modèle analytique duty check"New value: +"Optional circuit breaker rated breaking capacity Icu in kA (<= 500 kA) for duty check."
    • addedInput schema / properties / ratedIcuKa / maximum
      Added value: +500
    • addedInput schema / properties / ratedIcuKa / minimum
      Added value: +0.001
    • addedInput schema / properties / testType / default
      Added value: +"terminalFault"
    • changedInput schema / properties / testType / description
      Previous value: -"Optional TRV modèle analytique test duty (e.g. terminalFault, T100, T60, T30, T10)"New value: +"Switching duty test category (\"terminalFault\", \"shortLineFault\", \"outOfPhase\", defaults to \"terminalFault\")."
    • addedInput schema / properties / voltageKv / default
      Added value: +20
    • changedInput schema / properties / voltageKv / description
      Previous value: -"Optional system rated voltage in kV for TRV & breaker recommendation (default: 20)"New value: +"Rated system phase-to-phase voltage in kV for TRV lookup (0.1..1200 kV, defaults to 20 kV)."
    • addedInput schema / properties / voltageKv / maximum
      Added value: +1200
    • addedInput schema / properties / voltageKv / minimum
      Added value: +0.1
    • addedInput schema / properties / xrRatio / default
      Added value: +10
    • changedInput schema / properties / xrRatio / description
      Previous value: -"X/R ratio of the short-circuit path (default: 10)"New value: +"Inductive-to-resistive X/R ratio along the short-circuit path (>0..200, defaults to 10)."
    • addedInput schema / properties / xrRatio / maximum
      Added value: +200
    • addedInput schema / properties / xrRatio / minimum
      Added value: +0.01
    • removedInput schema / required
      Removed value: -[]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "Short-circuit thermal equivalent Ith and switchgear duty result with calculationTrace and legalNotice.",
      +  "properties": {
      +    "breakerDuty": {
      +      "additionalProperties": true,
      +      "description": "Detailed breaker making, breaking, and thermal margin check when ratedIcuKa is given.",
      +      "properties": {
      +        "isCompliant": {
      +          "description": "True if asymmetrical, symmetrical, making, and thermal checks pass.",
      +          "type": "boolean"
      +        },
      +        "minMarginPct": {
      +          "description": "Smallest percentage margin across all four duty checks.",
      +          "type": "number"
      +        },
      +        "ratedIcu": {
      +          "description": "Evaluated breaker rated breaking capacity Icu in kA.",
      +          "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"
      +    },
      +    "ikKa": {
      +      "description": "Evaluated steady-state symmetrical short-circuit current Ik in kA.",
      +      "type": "number"
      +    },
      +    "ipKa": {
      +      "description": "Evaluated asymmetrical peak making current Ip in kA.",
      +      "type": "number"
      +    },
      +    "isCapped": {
      +      "description": "True if rawKappa exceeded 1.95 and was capped.",
      +      "type": "boolean"
      +    },
      +    "ith": {
      +      "description": "Equivalent thermal short-time withstand current Ith over Tk in kA.",
      +      "type": "number"
      +    },
      +    "kappa": {
      +      "description": "Clamped transient asymmetry peak factor kappa in [1.0001, 1.95].",
      +      "type": "number"
      +    },
      +    "legalNotice": {
      +      "description": "Non-substitution intellectual-property banner adapted to the caller permission tier.",
      +      "type": "string"
      +    },
      +    "m": {
      +      "description": "DC component thermal equivalence decrement factor m.",
      +      "type": "number"
      +    },
      +    "n": {
      +      "description": "AC component thermal decay factor n.",
      +      "type": "number"
      +    },
      +    "percentDc": {
      +      "description": "Residual DC offset percentage at breaker contact separation.",
      +      "type": "number"
      +    },
      +    "rawKappa": {
      +      "description": "Uncapped analytical transient asymmetry peak factor kappa.",
      +      "type": "number"
      +    },
      +    "recommendedBreaker": {
      +      "additionalProperties": true,
      +      "description": "Recommended minimum standard circuit breaker Icu rating summary.",
      +      "properties": {
      +        "exceedsMaxStandard": {
      +          "description": "True when fault duty exceeds maximum standard 63 kA rating.",
      +          "type": "boolean"
      +        },
      +        "recommendedIcu": {
      +          "description": "Minimum compliant standard breaker breaking rating Icu in kA.",
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "standardTrv": {
      +      "additionalProperties": true,
      +      "description": "Two-parameter transient recovery voltage duty envelope.",
      +      "properties": {
      +        "ratedUr": {
      +          "description": "Normalized switchgear rated voltage Ur in kV.",
      +          "type": "number"
      +        },
      +        "rrrv": {
      +          "description": "Rate of rise of recovery voltage in kV/us.",
      +          "type": "number"
      +        },
      +        "uc": {
      +          "description": "Reference transient recovery voltage peak Uc in kV.",
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  2. 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 readOnlyHint, idempotentHint, and destructiveHint=false, but the description adds value beyond them: pure/stateless/side-effect-free semantics, an explicit HTTP rate limit of 120 req/min/IP, the error contract (-32602 on invalid or out-of-bounds scalars), and the default values applied when arguments are omitted. That is the kind of operational context annotations cannot carry.

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?

Well front-loaded: formula and computed quantities first, then when/when-not, then behavior, then returns. The returns enumeration largely duplicates the existing output schema and could be dropped without loss, which keeps this from a perfect score, but the density is justified for a 9-parameter engineering calculator.

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 stateless calculation tool with full annotations, an output schema, and 100%-covered parameters, the description supplies everything an agent needs: the physics being computed, the routing decision to siblings, the error contract, default fallbacks, and rate limits. No meaningful gap remains.

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 with units, bounds, and defaults. The description restates several of those same defaults (Ik"=25 kA, Tk=1.0 s, X/R=10, 50 Hz, 20 kV, terminalFault) but adds no new semantics, such as how ikKa and ipKa interact when both are supplied. 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 states a specific verb and resource — evaluating short-circuit transient asymmetry, peak current Ip, thermal decrement factors m and n, and Ith — and even discloses the kappa formula used. It names the sibling tools it is not (sodural_solve_topology_whitebox, brain_calc_earthing_lightning_trv), so an agent can separate it from neighboring calculators without opening another 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' (auditing single-bus switchgear short-circuit thermal withstand and breaker duty) paired with explicit 'Do not use for' cases (multi-bus symmetrical-component network solving, earth-grid split factors) and the exact alternatives to call instead. Nothing is left to inference about tool selection.

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