Skip to main content
Glama

sodural-electrical-mcp

Symbolic Physics & Engineering Formula Explorer

brain_explain_formula
Read-onlyIdempotent

Look up symbolic electrotechnical and civil foundation equations with SI variables, physical units, and validity bounds across 13 engineering domains. When to use: Use when inspecting analytical formulas by formulaId or searching equations by physical keyword. Do not use for: Numerical circuit sizing, unit scaling, or thermal withstand calculations -- call brain_calc_lv_feeder_physics, brain_convert_electrotech_units, or sodural_calc_thermal_equivalent instead. Behavior: Executes a stateless, read-only catalog search with zero persistent mutations; non-object argument payloads raise JSON-RPC -32602, and omitted filters default to top-10 French catalog entries (lang="fr", limit=10) with nearest-match suggestions on empty hits. Returns: formulaId, equation, lang, totalMatches, returnedCount, formula, formulas, 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_explain_formula"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoResponse localization language code ("fr" for French or "en" for English, defaults to "fr").fr
limitNoMaximum number of matching result items returned (integer 1..50, defaults to 10 when omitted).
queryNoFree-text physical keyword query across titles, variables, and SI equations (e.g. "adiabatic", "ampacity").
domainNoOptional engineering domain filter slug (e.g. "short_circuit", "cables", "earthing", "civil").
formulaIdNoExact formula identifier or partial lookup key (e.g. "f_cable_iz_correction" or "thermal_ith").

Output Schema

NameRequiredDescriptionDefault
langNoLocalization language applied to descriptions and labels ("fr" or "en").
queryNoNormalized lookup string evaluated against the formula index.
domainNoMatched engineering physics domain slug.
formulaNoPrimary matched formula record, or null when zero matches exist.
equationNoSymbolic mathematical equation formatted in readable SI notation.
formulasNoRanked array of matching formula records.
formulaIdNoResolved canonical identifier of the primary matched formula.
legalNoticeNoInformational engineering compliance notice confirming SI physical scope and intellectual property rules.
totalMatchesNoTotal count of formula catalog entries matching the query.
returnedCountNoNumber of formula entries included in the response array.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed15 schema fields changed
    • changedInput schema / properties / domain / description
      Previous value: -"Optional engineering domain filter (e.g. \"short_circuit\", \"cables\", \"earthing\", \"geotechnics\")."New value: +"Optional engineering domain filter slug (e.g. \"short_circuit\", \"cables\", \"earthing\", \"civil\")."
    • changedInput schema / properties / formulaId / description
      Previous value: -"Exact formula identifier or partial lookup key (e.g. \"modèle analytique_thermal_ith\" or \"f_cable_iz_correction\")."New value: +"Exact formula identifier or partial lookup key (e.g. \"f_cable_iz_correction\" or \"thermal_ith\")."
    • removedInput schema / properties / id
      Removed value: -{
      -  "description": "Backward-compatible alias for formulaId when querying a single canonical equation.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / formula / additionalProperties
      Removed value: -true
    • changedOutput schema / properties / formula / description
      Previous value: -"Primary matched formula object when found."New value: +"Primary matched formula record, or null when zero matches exist."
    • addedOutput schema / properties / formula / oneOf
      Added value: +[
      +  {
      +    "additionalProperties": true,
      +    "description": "Primary matched formula record, or null when zero matches exist.",
      +    "properties": {
      +      "domain": {
      +        "description": "Engineering physics domain slug for the formula.",
      +        "type": "string"
      +      },
      +      "equation": {
      +        "description": "Symbolic mathematical equation string in SI notation.",
      +        "type": "string"
      +      },
      +      "id": {
      +        "description": "Resolved formula catalog identifier string.",
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "Localized descriptive engineering title of the formula.",
      +        "type": "string"
      +      },
      +      "notes": {
      +        "description": "Engineering applicability and boundary interpretation notes.",
      +        "type": "string"
      +      },
      +      "relevanceScore": {
      +        "description": "Computed keyword matching relevance score.",
      +        "type": "number"
      +      },
      +      "variables": {
      +        "description": "List of physical variables appearing in the equation.",
      +        "items": {
      +          "additionalProperties": true,
      +          "description": "Symbolic equation variable descriptor.",
      +          "properties": {
      +            "description": {
      +              "description": "Physical meaning of the symbolic variable.",
      +              "type": "string"
      +            },
      +            "symbol": {
      +              "description": "Mathematical variable symbol in the equation.",
      +              "type": "string"
      +            },
      +            "unit": {
      +              "description": "Associated physical SI unit or dimensionless marker.",
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "description": "Null when optional block is inactive or no match exists.",
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / formula / properties
      Removed value: -{
      -  "equation": {
      -    "description": "Symbolic equation string.",
      -    "type": "string"
      -  },
      -  "id": {
      -    "description": "Formula identifier.",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / formula / type
      Removed value: -"object"
    • changedOutput schema / properties / formulaId / description
      Previous value: -"Resolved canonical identifier of the primary matched formula, if found."New value: +"Resolved canonical identifier of the primary matched formula."
    • addedOutput schema / properties / formulas / items / properties / domain
      Added value: +{
      +  "description": "Engineering physics domain slug for the formula.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / formulas / items / properties / equation / description
      Previous value: -"Symbolic equation string."New value: +"Symbolic mathematical equation string in SI notation."
    • changedOutput schema / properties / formulas / items / properties / id / description
      Previous value: -"Formula identifier."New value: +"Resolved formula catalog identifier string."
    • addedOutput schema / properties / formulas / items / properties / name
      Added value: +{
      +  "description": "Localized descriptive engineering title of the formula.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / formulas / items / properties / relevanceScore
      Added value: +{
      +  "description": "Computed keyword matching relevance score.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / lang / description
      Previous value: -"Localization language applied to descriptions and labels."New value: +"Localization language applied to descriptions and labels (\"fr\" or \"en\")."
  2. Changed10 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +true
    • addedInput schema / properties / domain / description
      Added value: +"Optional engineering domain filter (e.g. \"short_circuit\", \"cables\", \"earthing\", \"geotechnics\")."
    • changedInput schema / properties / formulaId / description
      Previous value: -"Formula ID or keyword (e.g. modèle analytique_thermal_ith, f_cable_iz_correction)"New value: +"Exact formula identifier or partial lookup key (e.g. \"modèle analytique_thermal_ith\" or \"f_cable_iz_correction\")."
    • addedInput schema / properties / id / description
      Added value: +"Backward-compatible alias for formulaId when querying a single canonical equation."
    • addedInput schema / properties / lang / default
      Added value: +"fr"
    • addedInput schema / properties / lang / description
      Added value: +"Response localization language code (\"fr\" for French or \"en\" for English, defaults to \"fr\")."
    • addedInput schema / properties / limit / default
      Added value: +10
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of matching result items returned (integer 1..50, defaults to 10 when omitted)."
    • addedInput schema / properties / query / description
      Added value: +"Free-text physical keyword query across titles, variables, and SI equations (e.g. \"adiabatic\", \"ampacity\")."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "Symbolic formula lookup result with SI variables, nearest matches, and legalNotice.",
      +  "properties": {
      +    "domain": {
      +      "description": "Matched engineering physics domain slug.",
      +      "type": "string"
      +    },
      +    "equation": {
      +      "description": "Symbolic mathematical equation formatted in readable SI notation.",
      +      "type": "string"
      +    },
      +    "formula": {
      +      "additionalProperties": true,
      +      "description": "Primary matched formula object when found.",
      +      "properties": {
      +        "equation": {
      +          "description": "Symbolic equation string.",
      +          "type": "string"
      +        },
      +        "id": {
      +          "description": "Formula identifier.",
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "formulaId": {
      +      "description": "Resolved canonical identifier of the primary matched formula, if found.",
      +      "type": "string"
      +    },
      +    "formulas": {
      +      "description": "Ranked array of matching formula records.",
      +      "items": {
      +        "additionalProperties": true,
      +        "description": "Matched formula summary item.",
      +        "properties": {
      +          "equation": {
      +            "description": "Symbolic equation string.",
      +            "type": "string"
      +          },
      +          "id": {
      +            "description": "Formula identifier.",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "lang": {
      +      "description": "Localization language applied to descriptions and labels.",
      +      "type": "string"
      +    },
      +    "legalNotice": {
      +      "description": "Informational engineering compliance notice confirming SI physical scope and intellectual property rules.",
      +      "type": "string"
      +    },
      +    "query": {
      +      "description": "Normalized lookup string evaluated against the formula index.",
      +      "type": "string"
      +    },
      +    "returnedCount": {
      +      "description": "Number of formula entries included in the response array.",
      +      "type": "integer"
      +    },
      +    "totalMatches": {
      +      "description": "Total count of formula catalog entries matching the query.",
      +      "type": "integer"
      +    }
      +  },
      +  "type": "object"
      +}
  3. 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 readOnly/openWorld=false/idempotent/non-destructive, but the description adds real behavior beyond them: stateless catalog search with zero persistent mutations, JSON-RPC -32602 on non-object payloads, and default fallback to top-10 French entries with nearest-match suggestions on empty hits. That is exactly the operational context an agent needs before calling.

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 and labeled (When to use / Do not use for / Behavior / Returns), which makes it easy to scan. The "Returns" sentence enumerates output fields even though an output schema exists, and the defaults restated in "Behavior" duplicate schema content, so it is slightly over-full.

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 zero-required-parameter read-only search tool, the description covers selection criteria, alternatives, error behavior, default fallbacks, and empty-result handling. Combined with the annotations and output schema, an agent has everything needed to call it correctly.

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

Parameters3/5

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

Schema description coverage is 100%, so the enum for lang, the 1..50 bound on limit, and each parameter's meaning are already fully documented in the schema. The description restates the lang="fr"/limit=10 defaults and mentions formulaId and keyword lookup but adds no syntax or format detail beyond the schema. Baseline 3 is appropriate.

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+resource: "Look up symbolic electrotechnical and civil foundation equations with SI variables, physical units, and validity bounds across 13 engineering domains." It also distinguishes itself from the calculation siblings by name, so an agent can tell a catalog lookup apart from a numerical solver 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?

Has an explicit "When to use" (inspect by formulaId or search by physical keyword) and an explicit "Do not use for" that routes three named alternatives: brain_calc_lv_feeder_physics, brain_convert_electrotech_units, and sodural_calc_thermal_equivalent. Both the positive and negative selection conditions are stated, leaving nothing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources