automotive_emc_overview
Retrieve an overview of automotive EMC standards including CISPR 12, CISPR 25, ISO 11452, ISO 7637, and UNECE R10 for vehicle compliance.
Instructions
Get an overview of automotive EMC standards (CISPR 12, CISPR 25, ISO 11452, ISO 7637, UNECE R10).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The handler function `_overview()` that executes the 'automotive_emc_overview' tool logic. It formats an overview of automotive EMC standards (CISPR 12, CISPR 25, ISO 11452, ISO 7637, UNECE R10) using data from AUTOMOTIVE_EMC and CISPR25_LIMITS JSON dictionaries.
def _overview(self) -> list[TextContent]: result = "Automotive EMC Standards Overview\n" + "=" * 50 + "\n\n" comparison = AUTOMOTIVE_EMC.get("comparison_chart", {}) result += "## Standards Summary:\n" for std in comparison.get("standards", []): result += f" {std['standard']:12} | {std['scope']:35} | {std['type']}\n" result += "\n## CISPR 25 Classes (Component Emissions):\n" classes = CISPR25_LIMITS.get("classes", {}) for i in range(1, 6): result += f" Class {i}: {classes.get(f'class_{i}', 'Unknown')}\n" result += "\n## ISO 11452-2 Levels (Component Immunity):\n" for level in AUTOMOTIVE_EMC.get("iso_11452_2", {}).get("test_levels", {}).get("levels", [])[:4]: result += f" Level {level['level']}: {level['field_strength_v_m']} V/m\n" result += "\n## Typical OEM Requirements:\n" for req in CISPR25_LIMITS.get("oem_requirements", {}).get("examples", [])[:5]: result += f" {req['component']:25} \u2192 Class {req['typical_class']}\n" return [TextContent(type="text", text=result)] - The tool schema/definition for 'automotive_emc_overview' registered in list_tools(). Name, description and inputSchema (empty object — no parameters required).
Tool( name="automotive_emc_overview", description="Get an overview of automotive EMC standards (CISPR 12, CISPR 25, ISO 11452, ISO 7637, UNECE R10).", inputSchema={"type": "object", "properties": {}}, ), - src/mcp_emc_regulations/tools/automotive.py:156-157 (registration)The call_tool dispatcher routing 'automotive_emc_overview' to `self._overview()`. This is where the tool name is matched to the handler at runtime.
elif name == "automotive_emc_overview": return self._overview() - Data loaded from JSON files that back the overview handler: AUTOMOTIVE_EMC (cispr_12, iso_11452_2, iso_7637_2, comparison_chart) and CISPR25_LIMITS (classes, oem_requirements).
AUTOMOTIVE_EMC = load_json("automotive_emc.json") AUTO_EXTENDED = load_json("automotive_emc_extended.json") OEM_SPECS = load_json("automotive_oem_specs.json") ISO16750 = load_json("iso16750_environmental.json")