Skip to main content
Glama

sodural-electrical-mcp

MV/LV Delivery Substation Metering & Protection Calculator

brain_calc_mv_delivery_physics
Read-onlyIdempotent

Evaluate a medium-voltage to low-voltage consumer delivery substation (1 < Un <= 33 kV, primary <= 630 A): LV vs MV metering tier, switch-fuse vs breaker selection, dielectric withstand Ur/Ud/Up, earth-fault current return, and interlocking clearances. When to use: Use for MV delivery substation bay architecture, metering boundaries, and earthing transfer voltage checks. Do not use for: LV feeders (<= 1 kV), buried MV cyclic cable ampacity, or 63-400 kV HV clearances -- call brain_calc_lv_feeder_physics, brain_calc_hta_cable_cyclic, or brain_calc_hv_substation_grid_compliance instead. Behavior: Executes a stateless, deterministic delivery-bay verification in SI units with zero persistent side effects; invalid argument types trigger JSON-RPC -32602, while omitted arguments default to 20 kV, 1000 kVA, 1 transformer, and TNR earthing. Returns: meteringTier, isCompliant, ratings, protectionChoice, meteringChoice, dielectric, earthFaultAndEarthing, safetyAndInterlocks, alerts, warnings, 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_mv_delivery_physics"
  }
}

Input Schema

NameRequiredDescriptionDefault
primaryKvNoPrimary medium-voltage service voltage in kV (1 < Un <= 33 kV, e.g. 20).
meteringModeNoAlias for meteringTier when passed by legacy delivery payloads ("LV" or "MV").
meteringTierNoEnergy metering architecture selector (e.g. "LV_CT", "MV_CT_VT").
earthingSchemeNoAlias for earthingSystem specifying LV/MV neutral bonding ("TNR", "TTS", "ITR").
earthingSystemNoLV side system earthing scheme ("TT", "TN-S", "TN-C", "IT", defaults to "TNR").TNR
faultCurrentKaNoThree-phase or earth fault level on the MV busbar in kA (> 0).
protectionTypeNoTransformer feeder switchgear technology (e.g. "SWITCH_FUSE", "BREAKER_RELAY").
transformerKvaNoInstalled step-down transformer apparent power per unit in kVA (defaults to 1000).
mvNeutralSystemNoAlias for networkFaultType identifying MV neutral grounding scheme.
networkFaultTypeNoUtility MV neutral earth-fault regime ("COMPENSATED", "IMPEDANT_BPN", "ISOLATED").
nominalVoltageKvNoAlias for primaryKv in kV (defaults to 20 kV when both are omitted).
transformerCountNoNumber of MV/LV transformers sharing the substation delivery (integer >= 1, defaults to 1).
earthFaultCurrentIeANoSingle-phase earth-fault return current Ie in amperes (A >= 10).
earthResistanceRpOhmNoSubstation HV/MV mass earth electrode resistance Rp in ohms (Ohm > 0).
hasEarthFaultProtectionNoTrue when dedicated earth-fault relay protection (51N/67N) is fitted.

Output Schema

NameRequiredDescriptionDefault
alertsNoCritical delivery substation alerts requiring design correction.
statusNoOverall delivery substation status ("COMPLIANT", "WARNING", or "NON_COMPLIANT").
ratingsNoPrimary/secondary rated currents and transformer kVA totals.
warningsNoNon-blocking engineering warnings returned by the evaluation.
compliantNoBoolean compliance alias matching isCompliant.
dielectricNoPower-frequency and lightning impulse insulation withstand summary.
isCompliantNoTrue when all delivery substation physics checks pass.
legalNoticeNoInformational engineering compliance notice confirming SI physical scope and intellectual property rules.
meteringTierNoResolved metering tier ("LV" vs "MV" CT/VT) for total installed kVA.
meteringChoiceNoSelected metering voltage/current measurement bay criteria.
calculationTraceNoTransparent audit trail detailing inputs, injected defaults, formulas, constants, principles, and assumptions.
protectionChoiceNoSelected transformer feeder switching and relay architecture.
safetyAndInterlocksNoMechanical/key interlock matrix and substation room safety checks.
earthFaultAndEarthingNoEarth potential rise and LV/MV earthing coupling assessment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed67 schema fields changed
    • changedInput schema / properties / earthFaultCurrentIeA / description
      Previous value: -"Single-phase earth-fault return current Ie in amperes."New value: +"Single-phase earth-fault return current Ie in amperes (A >= 10)."
    • addedInput schema / properties / earthFaultCurrentIeA / minimum
      Added value: +10
    • changedInput schema / properties / earthResistanceRpOhm / description
      Previous value: -"Substation HV/MV mass earth electrode resistance Rp in ohms."New value: +"Substation HV/MV mass earth electrode resistance Rp in ohms (Ohm > 0)."
    • addedInput schema / properties / earthResistanceRpOhm / minimum
      Added value: +0.05
    • changedInput schema / properties / earthingScheme / description
      Previous value: -"Alias for earthingSystem when specifying LV neutral bonding."New value: +"Alias for earthingSystem specifying LV/MV neutral bonding (\"TNR\", \"TTS\", \"ITR\")."
    • addedInput schema / properties / earthingSystem / default
      Added value: +"TNR"
    • changedInput schema / properties / earthingSystem / description
      Previous value: -"LV side system earthing scheme (\"TT\", \"TN-S\", \"TN-C\", \"IT\")."New value: +"LV side system earthing scheme (\"TT\", \"TN-S\", \"TN-C\", \"IT\", defaults to \"TNR\")."
    • changedInput schema / properties / faultCurrentKa / description
      Previous value: -"Three-phase or earth fault level on the MV bus in kA."New value: +"Three-phase or earth fault level on the MV busbar in kA (> 0)."
    • addedInput schema / properties / faultCurrentKa / minimum
      Added value: +0.1
    • changedInput schema / properties / meteringMode / description
      Previous value: -"Alias for meteringTier when passed by legacy delivery payloads."New value: +"Alias for meteringTier when passed by legacy delivery payloads (\"LV\" or \"MV\")."
    • changedInput schema / properties / mvNeutralSystem / description
      Previous value: -"Alias for networkFaultType identifying MV neutral grounding."New value: +"Alias for networkFaultType identifying MV neutral grounding scheme."
    • addedInput schema / properties / nominalVoltageKv / maximum
      Added value: +33
    • addedInput schema / properties / nominalVoltageKv / minimum
      Added value: +1.01
    • addedInput schema / properties / primaryKv / maximum
      Added value: +33
    • addedInput schema / properties / primaryKv / minimum
      Added value: +1.01
    • changedInput schema / properties / protectionType / description
      Previous value: -"Transformer feeder switchgear technology (e.g. \"MV_FUSE_SWITCH\", \"CB_RELAY\")."New value: +"Transformer feeder switchgear technology (e.g. \"SWITCH_FUSE\", \"BREAKER_RELAY\")."
    • addedInput schema / properties / transformerCount / default
      Added value: +1
    • changedInput schema / properties / transformerCount / description
      Previous value: -"Number of installed MV/LV transformers sharing the substation delivery (integer >= 1)."New value: +"Number of MV/LV transformers sharing the substation delivery (integer >= 1, defaults to 1)."
    • addedInput schema / properties / transformerKva / default
      Added value: +1000
    • changedInput schema / properties / transformerKva / description
      Previous value: -"Installed step-down transformer apparent power per unit in kVA (e.g. 1250)."New value: +"Installed step-down transformer apparent power per unit in kVA (defaults to 1000)."
    • addedInput schema / properties / transformerKva / minimum
      Added value: +10
    • changedOutput schema / properties / alerts / description
      Previous value: -"Critical alerts requiring design correction."New value: +"Critical delivery substation alerts requiring design correction."
    • addedOutput schema / properties / alerts / items / additionalProperties
      Added value: +true
    • changedOutput schema / properties / alerts / items / description
      Previous value: -"Blocking delivery substation design violation."New value: +"Structured engineering compliance alert or warning entry."
    • addedOutput schema / properties / alerts / items / properties
      Added value: +{
      +  "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"
      +  }
      +}
    • changedOutput schema / properties / alerts / items / type
      Previous value: -"string"New value: +"object"
    • addedOutput schema / properties / compliant
      Added value: +{
      +  "description": "Boolean compliance alias matching isCompliant.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / dielectric / properties / ikMaxKaOptions
      Added value: +{
      +  "description": "Typical MV short-circuit rating tiers in kA.",
      +  "items": {
      +    "description": "Standard MV switchgear short-time withstand current in kA.",
      +    "type": "number"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / dielectric / properties / udCommonKv
      Added value: +{
      +  "description": "Rated power-frequency withstand voltage Ud to earth in kV.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / dielectric / properties / udIsolatingKv
      Added value: +{
      +  "description": "Rated power-frequency withstand across isolating distance in kV.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / dielectric / properties / upCommonKvOptions
      Added value: +{
      +  "description": "Permitted phase-to-earth BIL Up options in kV.",
      +  "items": {
      +    "description": "Standard lightning impulse withstand level Up in kV.",
      +    "type": "number"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / dielectric / properties / urKv
      Added value: +{
      +  "description": "Rated highest equipment insulation voltage Ur in kV.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / earthFaultAndEarthing / properties / earthFaultCurrentIeA
      Added value: +{
      +  "description": "Evaluated single-phase earth-fault current Ie in amperes (A).",
      +  "type": "number"
      +}
    • addedOutput schema / properties / earthFaultAndEarthing / properties / earthResistanceRpOhm
      Added value: +{
      +  "description": "Evaluated substation earth electrode resistance Rp in ohms.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / earthFaultAndEarthing / properties / earthingScheme
      Added value: +{
      +  "description": "Resolved substation earthing coupling scheme (\"TNR\", \"TTS\", \"ITR\").",
      +  "type": "string"
      +}
    • addedOutput schema / properties / earthFaultAndEarthing / properties / hasEarthFaultProtection
      Added value: +{
      +  "description": "True when homopolar earth-fault protection is equipped.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / earthFaultAndEarthing / properties / homopolarMandatory
      Added value: +{
      +  "description": "True when earth-fault relay protection is mandatory.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / earthFaultAndEarthing / properties / lvTransferStressV
      Added value: +{
      +  "description": "Computed earth potential rise Rp * Ie transferred stress in volts (V).",
      +  "type": "number"
      +}
    • addedOutput schema / properties / earthFaultAndEarthing / properties / maxEarthResistanceOhm
      Added value: +{
      +  "description": "Maximum permissible earth electrode resistance Rp_max in ohms.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / isCompliant / description
      Previous value: -"True if all delivery substation physics checks pass."New value: +"True when all delivery substation physics checks pass."
    • addedOutput schema / properties / meteringChoice / properties / lvMeteringAllowed
      Added value: +{
      +  "description": "True when single-unit LV CT metering <= 2000 A is permitted.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / meteringChoice / properties / maxLvMeteringSecondaryA
      Added value: +{
      +  "description": "Secondary current ceiling for LV metering in amperes (2000 A).",
      +  "type": "number"
      +}
    • addedOutput schema / properties / meteringChoice / properties / requiredMetering
      Added value: +{
      +  "description": "Permitted metering tier constraint (\"LV_OR_MV\" or \"MV\").",
      +  "type": "string"
      +}
    • addedOutput schema / properties / meteringChoice / properties / selectedMetering
      Added value: +{
      +  "description": "Resolved metering tier (\"LV\" or \"MV\").",
      +  "type": "string"
      +}
    • changedOutput schema / properties / meteringTier / description
      Previous value: -"Resolved metering class (LV vs MV CT/VT) for the total kVA."New value: +"Resolved metering tier (\"LV\" vs \"MV\" CT/VT) for total installed kVA."
    • addedOutput schema / properties / protectionChoice / properties / fuseMaxKvaAtUn
      Added value: +{
      +  "description": "Maximum switch-fuse transformer rating in kVA at Un, or null.",
      +  "oneOf": [
      +    {
      +      "description": "Maximum switch-fuse transformer rating in kVA at Un, or null.",
      +      "type": "number"
      +    },
      +    {
      +      "description": "Null when numeric metric is not evaluated in active mode.",
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / protectionChoice / properties / requiredProtection
      Added value: +{
      +  "description": "Minimum required feeder switching architecture code.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / protectionChoice / properties / selectedProtection
      Added value: +{
      +  "description": "Evaluated feeder switching technology (\"SWITCH_FUSE\" or \"BREAKER_RELAY\").",
      +  "type": "string"
      +}
    • addedOutput schema / properties / protectionChoice / properties / switchFuseEligible
      Added value: +{
      +  "description": "True when fuse-switch combination satisfies current and length limits.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / ratings / description
      Previous value: -"Primary/secondary rated currents and short-circuit thermal limits."New value: +"Primary/secondary rated currents and transformer kVA totals."
    • addedOutput schema / properties / ratings / properties / i2nLvA
      Added value: +{
      +  "description": "Aggregate secondary LV rated current I2n in amperes (A).",
      +  "type": "number"
      +}
    • addedOutput schema / properties / ratings / properties / ibHvA
      Added value: +{
      +  "description": "Primary MV base design current IB in amperes (A).",
      +  "type": "number"
      +}
    • addedOutput schema / properties / ratings / properties / nominalVoltageKv
      Added value: +{
      +  "description": "Evaluated primary MV nominal voltage Un in kV.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / ratings / properties / substationRatedCurrentA
      Added value: +{
      +  "description": "Substation busbar rated current In in amperes (A).",
      +  "type": "number"
      +}
    • addedOutput schema / properties / ratings / properties / totalKva
      Added value: +{
      +  "description": "Aggregate installed apparent transformer power in kVA.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / ratings / properties / transformerCount
      Added value: +{
      +  "description": "Count of parallel/installed step-down transformers.",
      +  "type": "integer"
      +}
    • changedOutput schema / properties / safetyAndInterlocks / description
      Previous value: -"Mechanical/key interlock matrix and room safety checks."New value: +"Mechanical/key interlock matrix and substation room safety checks."
    • addedOutput schema / properties / safetyAndInterlocks / properties / ceilingHeightMm
      Added value: +{
      +  "description": "Substation room clear ceiling height in millimeters (mm).",
      +  "type": "number"
      +}
    • addedOutput schema / properties / safetyAndInterlocks / properties / corridorWidthMm
      Added value: +{
      +  "description": "Clear switchgear operating corridor width in millimeters (mm).",
      +  "type": "number"
      +}
    • addedOutput schema / properties / safetyAndInterlocks / properties / equipotentialResistanceMOhm
      Added value: +{
      +  "description": "Equipotential bonding continuity resistance in milliohms (mOhm).",
      +  "type": "number"
      +}
    • addedOutput schema / properties / safetyAndInterlocks / properties / table46ALvOpenAndEarthClosed
      Added value: +{
      +  "description": "True when mandatory LV-open and HV-earth-closed interlocks hold.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / status
      Added value: +{
      +  "description": "Overall delivery substation status (\"COMPLIANT\", \"WARNING\", or \"NON_COMPLIANT\").",
      +  "type": "string"
      +}
    • changedOutput schema / properties / warnings / description
      Previous value: -"Advisory warnings returned by the evaluation."New value: +"Non-blocking engineering warnings returned by the evaluation."
    • addedOutput schema / properties / warnings / items / additionalProperties
      Added value: +true
    • changedOutput schema / properties / warnings / items / description
      Previous value: -"Non-blocking engineering warning or verification advisory."New value: +"Structured engineering compliance alert or warning entry."
    • addedOutput schema / properties / warnings / items / properties
      Added value: +{
      +  "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"
      +  }
      +}
    • changedOutput schema / properties / warnings / items / type
      Previous value: -"string"New value: +"object"
  2. Changed19 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +true
    • addedInput schema / properties / earthFaultCurrentIeA / description
      Added value: +"Single-phase earth-fault return current Ie in amperes."
    • addedInput schema / properties / earthResistanceRpOhm / description
      Added value: +"Substation HV/MV mass earth electrode resistance Rp in ohms."
    • addedInput schema / properties / earthingScheme / description
      Added value: +"Alias for earthingSystem when specifying LV neutral bonding."
    • addedInput schema / properties / earthingSystem / description
      Added value: +"LV side system earthing scheme (\"TT\", \"TN-S\", \"TN-C\", \"IT\")."
    • addedInput schema / properties / faultCurrentKa / description
      Added value: +"Three-phase or earth fault level on the MV bus in kA."
    • addedInput schema / properties / hasEarthFaultProtection / description
      Added value: +"True when dedicated earth-fault relay protection (51N/67N) is fitted."
    • addedInput schema / properties / meteringMode / description
      Added value: +"Alias for meteringTier when passed by legacy delivery payloads."
    • addedInput schema / properties / meteringTier / description
      Added value: +"Energy metering architecture selector (e.g. \"LV_CT\", \"MV_CT_VT\")."
    • addedInput schema / properties / mvNeutralSystem / description
      Added value: +"Alias for networkFaultType identifying MV neutral grounding."
    • addedInput schema / properties / networkFaultType / description
      Added value: +"Utility MV neutral earth-fault regime (\"COMPENSATED\", \"IMPEDANT_BPN\", \"ISOLATED\")."
    • addedInput schema / properties / nominalVoltageKv / default
      Added value: +20
    • addedInput schema / properties / nominalVoltageKv / description
      Added value: +"Alias for primaryKv in kV (defaults to 20 kV when both are omitted)."
    • addedInput schema / properties / primaryKv / description
      Added value: +"Primary medium-voltage service voltage in kV (1 < Un <= 33 kV, e.g. 20)."
    • addedInput schema / properties / protectionType / description
      Added value: +"Transformer feeder switchgear technology (e.g. \"MV_FUSE_SWITCH\", \"CB_RELAY\")."
    • addedInput schema / properties / transformerCount / description
      Added value: +"Number of installed MV/LV transformers sharing the substation delivery (integer >= 1)."
    • addedInput schema / properties / transformerCount / minimum
      Added value: +1
    • addedInput schema / properties / transformerKva / description
      Added value: +"Installed step-down transformer apparent power per unit in kVA (e.g. 1250)."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "MV delivery substation sizing & compliance output with calculationTrace and legalNotice.",
      +  "properties": {
      +    "alerts": {
      +      "description": "Critical alerts requiring design correction.",
      +      "items": {
      +        "description": "Blocking delivery substation design violation.",
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "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"
      +    },
      +    "dielectric": {
      +      "additionalProperties": true,
      +      "description": "Power-frequency and lightning impulse insulation withstand summary.",
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "earthFaultAndEarthing": {
      +      "additionalProperties": true,
      +      "description": "Earth potential rise and LV/MV earthing coupling assessment.",
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "isCompliant": {
      +      "description": "True if all delivery substation physics checks pass.",
      +      "type": "boolean"
      +    },
      +    "legalNotice": {
      +      "description": "Informational engineering compliance notice confirming SI physical scope and intellectual property rules.",
      +      "type": "string"
      +    },
      +    "meteringChoice": {
      +      "additionalProperties": true,
      +      "description": "Selected metering voltage/current measurement bay criteria.",
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "meteringTier": {
      +      "description": "Resolved metering class (LV vs MV CT/VT) for the total kVA.",
      +      "type": "string"
      +    },
      +    "protectionChoice": {
      +      "additionalProperties": true,
      +      "description": "Selected transformer feeder switching and relay architecture.",
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "ratings": {
      +      "additionalProperties": true,
      +      "description": "Primary/secondary rated currents and short-circuit thermal limits.",
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "safetyAndInterlocks": {
      +      "additionalProperties": true,
      +      "description": "Mechanical/key interlock matrix and room safety checks.",
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "warnings": {
      +      "description": "Advisory warnings returned by the evaluation.",
      +      "items": {
      +        "description": "Non-blocking engineering warning or verification advisory.",
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description does add genuinely new behavioral facts: statelessness, SI units, JSON-RPC -32602 on invalid types, and the specific defaults applied to omitted arguments. The return-field enumeration adds little because an output schema already exists, so it sits at a solid but not exceptional level.

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 scope, then usage, exclusions, behavior and returns in a predictable order with no filler sentences. The trailing enumeration of twelve return keys is the weakest part, since an output schema already documents those fields and the list consumes a large share of the text for little marginal value.

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 15-parameter physics calculator this covers everything an agent needs: scope, exclusions with named alternatives, statelessness, units, error behavior, and defaults, with return values handled by the output schema. Nothing material is missing, and the annotation set is consistent with what the description claims.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with per-parameter descriptions and defaults, so the schema carries the load and the baseline is 3. The description goes slightly beyond by consolidating which arguments default to what (20 kV, 1000 kVA, 1 transformer, TNR earthing) and by naming the voltage/current envelope that constrains primaryKv. It still does not clarify the alias pairs (meteringMode vs meteringTier, earthingScheme vs earthingSystem, mvNeutralSystem vs networkFaultType), which is the main semantic ambiguity left.

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?

States a specific verb ('Evaluate') plus a precisely scoped resource ('medium-voltage to low-voltage consumer delivery substation') with voltage and current bounds, and enumerates the exact engineering concerns covered (metering tier, switch-fuse vs breaker, dielectric withstand, earth-fault return, interlocking clearances). This is enough to distinguish it from the sibling calculators without opening any 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?

Provides an explicit 'When to use' clause tied to MV delivery bay architecture, metering boundaries, and earthing transfer voltage checks, plus a 'Do not use for' clause that names three exclusion cases and routes each to a specific sibling (brain_calc_lv_feeder_physics, brain_calc_hta_cable_cyclic, brain_calc_hv_substation_grid_compliance). Both the positive and negative selection conditions are spelled out.

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