Skip to main content
Glama

sodural-electrical-mcp

Transformer Ucc Tolerance & Thermal Resistance Calculator

brain_calc_impedance_tolerance
Read-onlyIdempotent

Compute transformer short-circuit impedance Ucc manufacturing tolerance bounds, linear copper and aluminum conductor resistance temperature scaling R(theta) between 20 C and operating temperature, and Ik_max/Ik_min branch fault sensitivity multipliers. When to use: Use for single-branch impedance uncertainty bounds and conductor thermal resistance drift; do NOT use for coupled multi-bus Z_bus short-circuit matrices or load flow -- call sodural_solve_topology_whitebox instead. Behavior: Evaluates deterministic, stateless ohmic tolerance bounds with zero external side effects; negative resistances, invalid Ucc values, or tolerance percentages >= 100% raise JSON-RPC -32602, while omitted arguments default to mode="combined", nominalUccPct=12.5%, tolerancePct=10%, snMva=40 MVA, secKv=20 kV, and 90 C copper. Returns: mode, nominalUccPct, minUccPct, maxUccPct, ikMaxMultiplier, ikMinMultiplier, ohmic, cableThermal, 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_impedance_tolerance"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoImpedance uncertainty sub-study mode (defaults to "combined").combined
secKvNoReference secondary winding line-to-line voltage in kV (defaults to 20 kV).
snMvaNoTransformer rated apparent power Sn in MVA (defaults to 40 MVA).
xrRatioNoTransformer X/R impedance ratio at nominal tap (defaults to 18).
lengthKmNoBranch circuit length in km (defaults to 1.0 km).
xOhmPerKmNoCable/line positive-sequence inductive reactance in ohm/km (defaults to 0.1).
r20OhmPerKmNoConductor DC linear resistance at 20 C in ohm/km (defaults to 0.0754).
nominalIk3KaNoNominal reference 3-phase fault current Ik3 in kA for sensitivity bounds.
tolerancePctNoManufacturer percentage tolerance band applied to Ucc (defaults to 10%).
nominalUccPctNoNameplate transformer short-circuit impedance voltage Ucc in % (defaults to 12.5%).
measuredUccPctNoFactory test-report measured Ucc in % for measured_ucc comparison.
operatingTempCNoMaximum conductor thermal temperature under fault/load in deg C (defaults to 90 C).
conductorMaterialNoConductor metal for thermal resistance scaling ("CU" or "AL", defaults to "Cu").Cu

Output Schema

NameRequiredDescriptionDefault
modeNoExecuted impedance tolerance analysis mode.
ohmicNoPositive-sequence R(theta) and X ohmic impedance bounds in ohms.
maxUccPctNoUpper-bound impedance Ucc driving Ik_min in %.
minUccPctNoLower-bound impedance Ucc driving Ik_max in %.
legalNoticeNoInformational engineering compliance notice confirming SI physical scope and intellectual property rules.
cableThermalNoCold 20 C vs hot operating-temperature resistance scaling details.
nominalUccPctNoNominal transformer short-circuit impedance Ucc in %.
ikMaxMultiplierNoScaling factor applied to nominal fault current at min Ucc.
ikMinMultiplierNoScaling factor applied to nominal fault current at max Ucc.
calculationTraceNoTransparent audit trail detailing inputs, injected defaults, formulas, constants, principles, and assumptions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed42 schema fields changed
    • addedInput schema / properties / lengthKm / minimum
      Added value: +0
    • addedInput schema / properties / measuredUccPct / maximum
      Added value: +50
    • addedInput schema / properties / measuredUccPct / minimum
      Added value: +0.1
    • addedInput schema / properties / nominalIk3Ka / minimum
      Added value: +0
    • addedInput schema / properties / nominalUccPct / maximum
      Added value: +50
    • addedInput schema / properties / nominalUccPct / minimum
      Added value: +0.1
    • addedInput schema / properties / operatingTempC / maximum
      Added value: +300
    • addedInput schema / properties / operatingTempC / minimum
      Added value: +-50
    • addedInput schema / properties / r20OhmPerKm / minimum
      Added value: +0
    • addedInput schema / properties / secKv / minimum
      Added value: +0.1
    • addedInput schema / properties / snMva / minimum
      Added value: +0.01
    • addedInput schema / properties / tolerancePct / maximum
      Added value: +99
    • addedInput schema / properties / tolerancePct / minimum
      Added value: +0
    • addedInput schema / properties / xOhmPerKm / minimum
      Added value: +0
    • addedInput schema / properties / xrRatio / minimum
      Added value: +0.1
    • addedOutput schema / properties / cableThermal / properties / beta
      Added value: +{
      +  "description": "Inverse temperature coefficient beta (234.5 K Cu / 228 K Al).",
      +  "type": "number"
      +}
    • addedOutput schema / properties / cableThermal / properties / lengthKm
      Added value: +{
      +  "description": "Evaluated branch circuit length in kilometers (km).",
      +  "type": "number"
      +}
    • addedOutput schema / properties / cableThermal / properties / material
      Added value: +{
      +  "description": "Evaluated conductor metal (\"CU\" or \"AL\").",
      +  "type": "string"
      +}
    • addedOutput schema / properties / cableThermal / properties / maxTempC
      Added value: +{
      +  "description": "Hot operating conductor temperature in deg C.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / cableThermal / properties / minTempC
      Added value: +{
      +  "description": "Cold reference conductor temperature in deg C.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / cableThermal / properties / numParallel
      Added value: +{
      +  "description": "Number of parallel conductors per phase.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / cableThermal / properties / r20TotalOhm
      Added value: +{
      +  "description": "Total circuit resistance at 20 C in ohms.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / cableThermal / properties / rColdOhm
      Added value: +{
      +  "description": "Total circuit resistance at cold temperature in ohms.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / cableThermal / properties / rHotOhm
      Added value: +{
      +  "description": "Total circuit resistance at hot operating temperature in ohms.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / cableThermal / properties / rHotOverRCold
      Added value: +{
      +  "description": "Ratio of hot-to-cold ohmic resistance.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / cableThermal / properties / xOhm
      Added value: +{
      +  "description": "Total circuit inductive reactance in ohms.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / cableThermal / properties / zColdOhm
      Added value: +{
      +  "description": "Cold total branch impedance magnitude in ohms.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / cableThermal / properties / zHotOhm
      Added value: +{
      +  "description": "Hot total branch impedance magnitude in ohms.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / cableThermal / properties / zHotOverZCold
      Added value: +{
      +  "description": "Ratio of hot-to-cold branch impedance magnitude.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / maxUccPct / description
      Previous value: -"Upper-bound impedance Ucc driving Ik_min."New value: +"Upper-bound impedance Ucc driving Ik_min in %."
    • changedOutput schema / properties / minUccPct / description
      Previous value: -"Lower-bound impedance Ucc driving Ik_max."New value: +"Lower-bound impedance Ucc driving Ik_max in %."
    • changedOutput schema / properties / nominalUccPct / description
      Previous value: -"Nominal transformer Ucc in %."New value: +"Nominal transformer short-circuit impedance Ucc in %."
    • addedOutput schema / properties / ohmic / properties / rMaxOhm
      Added value: +{
      +  "description": "Upper-bound resistance at maximum tolerance in ohms.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / ohmic / properties / rMinOhm
      Added value: +{
      +  "description": "Lower-bound resistance at minimum tolerance in ohms.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / ohmic / properties / rNomOhm
      Added value: +{
      +  "description": "Nominal transformer winding resistance in ohms.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / ohmic / properties / xMaxOhm
      Added value: +{
      +  "description": "Upper-bound reactance at maximum tolerance in ohms.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / ohmic / properties / xMinOhm
      Added value: +{
      +  "description": "Lower-bound reactance at minimum tolerance in ohms.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / ohmic / properties / xNomOhm
      Added value: +{
      +  "description": "Nominal transformer leakage reactance in ohms.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / ohmic / properties / zBaseOhm
      Added value: +{
      +  "description": "Transformer secondary base ohmic impedance Z_base in ohms.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / ohmic / properties / zMaxOhm
      Added value: +{
      +  "description": "Maximum-tolerance impedance magnitude driving Ik_min in ohms.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / ohmic / properties / zMinOhm
      Added value: +{
      +  "description": "Minimum-tolerance impedance magnitude driving Ik_max in ohms.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / ohmic / properties / zNomOhm
      Added value: +{
      +  "description": "Nominal transformer positive-sequence impedance magnitude in ohms.",
      +  "type": "number"
      +}
  2. Changed26 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +true
    • addedInput schema / properties / conductorMaterial / default
      Added value: +"Cu"
    • addedInput schema / properties / conductorMaterial / description
      Added value: +"Conductor metal for thermal resistance scaling (\"CU\" or \"AL\", defaults to \"Cu\")."
    • addedInput schema / properties / lengthKm / default
      Added value: +1
    • addedInput schema / properties / lengthKm / description
      Added value: +"Branch circuit length in km (defaults to 1.0 km)."
    • addedInput schema / properties / measuredUccPct / description
      Added value: +"Factory test-report measured Ucc in % for measured_ucc comparison."
    • addedInput schema / properties / mode / default
      Added value: +"combined"
    • addedInput schema / properties / mode / description
      Added value: +"Impedance uncertainty sub-study mode (defaults to \"combined\")."
    • addedInput schema / properties / nominalIk3Ka / description
      Added value: +"Nominal reference 3-phase fault current Ik3 in kA for sensitivity bounds."
    • addedInput schema / properties / nominalUccPct / default
      Added value: +12.5
    • addedInput schema / properties / nominalUccPct / description
      Added value: +"Nameplate transformer short-circuit impedance voltage Ucc in % (defaults to 12.5%)."
    • addedInput schema / properties / operatingTempC / default
      Added value: +90
    • addedInput schema / properties / operatingTempC / description
      Added value: +"Maximum conductor thermal temperature under fault/load in deg C (defaults to 90 C)."
    • addedInput schema / properties / r20OhmPerKm / default
      Added value: +0.0754
    • addedInput schema / properties / r20OhmPerKm / description
      Added value: +"Conductor DC linear resistance at 20 C in ohm/km (defaults to 0.0754)."
    • addedInput schema / properties / secKv / default
      Added value: +20
    • addedInput schema / properties / secKv / description
      Added value: +"Reference secondary winding line-to-line voltage in kV (defaults to 20 kV)."
    • addedInput schema / properties / snMva / default
      Added value: +40
    • addedInput schema / properties / snMva / description
      Added value: +"Transformer rated apparent power Sn in MVA (defaults to 40 MVA)."
    • addedInput schema / properties / tolerancePct / default
      Added value: +10
    • addedInput schema / properties / tolerancePct / description
      Added value: +"Manufacturer percentage tolerance band applied to Ucc (defaults to 10%)."
    • addedInput schema / properties / xOhmPerKm / default
      Added value: +0.1
    • addedInput schema / properties / xOhmPerKm / description
      Added value: +"Cable/line positive-sequence inductive reactance in ohm/km (defaults to 0.1)."
    • addedInput schema / properties / xrRatio / default
      Added value: +18
    • addedInput schema / properties / xrRatio / description
      Added value: +"Transformer X/R impedance ratio at nominal tap (defaults to 18)."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "Impedance uncertainty & thermal conductor scaling report with calculationTrace and legalNotice.",
      +  "properties": {
      +    "cableThermal": {
      +      "additionalProperties": true,
      +      "description": "Cold 20 C vs hot operating-temperature resistance scaling details.",
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "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"
      +    },
      +    "ikMaxMultiplier": {
      +      "description": "Scaling factor applied to nominal fault current at min Ucc.",
      +      "type": "number"
      +    },
      +    "ikMinMultiplier": {
      +      "description": "Scaling factor applied to nominal fault current at max Ucc.",
      +      "type": "number"
      +    },
      +    "legalNotice": {
      +      "description": "Informational engineering compliance notice confirming SI physical scope and intellectual property rules.",
      +      "type": "string"
      +    },
      +    "maxUccPct": {
      +      "description": "Upper-bound impedance Ucc driving Ik_min.",
      +      "type": "number"
      +    },
      +    "minUccPct": {
      +      "description": "Lower-bound impedance Ucc driving Ik_max.",
      +      "type": "number"
      +    },
      +    "mode": {
      +      "description": "Executed impedance tolerance analysis mode.",
      +      "type": "string"
      +    },
      +    "nominalUccPct": {
      +      "description": "Nominal transformer Ucc in %.",
      +      "type": "number"
      +    },
      +    "ohmic": {
      +      "additionalProperties": true,
      +      "description": "Positive-sequence R(theta) and X ohmic impedance bounds in ohms.",
      +      "properties": {},
      +      "type": "object"
      +    }
      +  },
      +  "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?

Beyond the annotations (readOnly, idempotent, closed-world), the description discloses stateless/deterministic evaluation with zero external side effects and specifies failure behavior — JSON-RPC -32602 for negative resistances, invalid Ucc, or tolerance >= 100%. It also lists the return keys, though it repeats defaults already present in the schema and does not explain what the modes actually compute.

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?

Three clearly labeled blocks (what / when to use / behavior+returns) are front-loaded and easy to scan, with no filler prose. It loses a point for restating schema defaults verbatim, which consumes space without adding information.

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?

With an output schema present, the return-key list is a bonus rather than a requirement, and annotations cover the safety profile, so the description is nearly complete for a 13-parameter tool. The remaining gap is that the five mode values (measured_ucc, cable_thermal, branch_sensitivity, etc.) are enumerated but never explained, leaving the agent to infer which inputs each mode consumes.

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% and every parameter carries a default and unit, so the schema already does the semantic work. The description adds only a restatement of default values (mode=combined, 12.5%, 10%, 40 MVA, 20 kV, 90 C Cu) and does not clarify how the five enum modes gate which parameters matter.

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 three concrete computations (Ucc tolerance bounds, R(theta) conductor temperature scaling, Ik_max/Ik_min sensitivity multipliers) on a named resource (transformer/circuit branch), so the verb and scope are unambiguous. It also explicitly separates itself from the multi-bus short-circuit sibling, letting an agent choose without opening either 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 has an explicit 'When to use' clause covering single-branch impedance uncertainty and conductor thermal drift, plus a 'do NOT use for' clause naming coupled multi-bus Z_bus matrices and load flow with a concrete alternative (sodural_solve_topology_whitebox). Both the positive and negative routing conditions are stated.

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