Skip to main content
Glama
RFingAdam

EMC Regulations MCP Server

by RFingAdam

iso11452_levels

Retrieve ISO 11452-2 radiated immunity test levels for automotive components to ensure compliance with EMC requirements.

Instructions

Get ISO 11452-2 radiated immunity test levels for automotive components.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function for iso11452_levels tool. Reads ISO 11452-2 radiated immunity test levels from AUTOMOTIVE_EMC data (automotive_emc.json) and formats them as text.
    def _iso11452_levels() -> list[TextContent]:
        result = "ISO 11452-2 Radiated Immunity Test Levels\n" + "=" * 50 + "\n\n"
    
        iso_data = AUTOMOTIVE_EMC.get("iso_11452_2", {})
        result += f"{iso_data.get('title', '')}\n"
        result += f"Frequency range: {iso_data.get('test_levels', {}).get('frequency_range', {}).get('min_mhz', '?')}-"
        result += f"{iso_data.get('test_levels', {}).get('frequency_range', {}).get('max_mhz', '?')} MHz\n"
        result += f"Modulation: {iso_data.get('test_levels', {}).get('modulation', '1 kHz AM, 80%')}\n\n"
    
        result += "## Test Severity Levels:\n"
        for level in iso_data.get("test_levels", {}).get("levels", []):
            result += f"  Level {level['level']}: {level['field_strength_v_m']} V/m - {level['typical_use']}\n"
    
        result += "\n## Typical OEM Requirements:\n"
        for req in iso_data.get("oem_requirements", {}).get("examples", []):
            result += f"  {req['oem']}: {req['level_v_m']} V/m ({req['range_mhz'][0]}-{req['range_mhz'][1]} MHz)\n"
    
        return [TextContent(type="text", text=result)]
  • Tool registration definition inside AutomotiveTools.list_tools(). Defines name, description, and empty inputSchema for iso11452_levels.
        Tool(
            name="iso11452_levels",
            description="Get ISO 11452-2 radiated immunity test levels for automotive components.",
            inputSchema={"type": "object", "properties": {}},
        ),
        Tool(
            name="iso7637_pulses",
            description="Get ISO 7637-2 conducted transient immunity test pulses for automotive components.",
            inputSchema={"type": "object", "properties": {}},
        ),
        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": {}},
        ),
        Tool(
            name="automotive_immunity_method",
            description=(
                "Get details on an ISO 11452 immunity test method. "
                "Methods: ALSE (Part 2), TEM cell (Part 3), BCI (Part 4), "
                "stripline (Part 5), direct injection (Part 7), magnetic (Part 8), "
                "portable TX (Part 9), reverberation (Part 11)."
            ),
            inputSchema={
                "type": "object",
                "properties": {
                    "method": {
                        "type": "string",
                        "enum": ["alse", "tem", "bci", "stripline", "direct_injection",
                                 "magnetic", "portable_tx", "off_vehicle_tx", "reverberation",
                                 "part_2", "part_3", "part_4", "part_5", "part_7",
                                 "part_8", "part_9", "part_10", "part_11", "all"],
                        "description": "Test method or ISO 11452 part number",
                    },
                },
                "required": ["method"],
            },
        ),
        Tool(
            name="oem_emc_requirements",
            description=(
                "Get OEM-specific automotive EMC requirements. "
                "Returns emission class, immunity level, BCI level, and special requirements. "
                "OEMs: gm, ford, vw, bmw, stellantis, toyota, hyundai, mercedes, tesla, generic."
            ),
            inputSchema={
                "type": "object",
                "properties": {
                    "oem": {
                        "type": "string",
                        "enum": ["gm", "ford", "vw", "bmw", "stellantis", "toyota",
                                 "hyundai", "mercedes", "tesla", "generic", "all"],
                        "description": "OEM name",
                    },
                    "location": {
                        "type": "string",
                        "enum": ["engine_bay", "passenger", "trunk", "exterior"],
                        "description": "Component mounting location",
                    },
                },
            },
        ),
        Tool(
            name="iso16750_conditions",
            description=(
                "Get ISO 16750 environmental conditions for automotive electronic equipment. "
                "Covers electrical loads, vibration, temperature, and chemical exposure by mounting location."
            ),
            inputSchema={
                "type": "object",
                "properties": {
                    "category": {
                        "type": "string",
                        "enum": ["electrical", "mechanical", "climatic", "chemical", "all"],
                        "description": "Environmental category",
                    },
                    "location": {
                        "type": "string",
                        "enum": ["engine_bay", "passenger", "trunk", "exterior", "chassis"],
                        "description": "Mounting location",
                    },
                },
            },
        ),
    ]
  • Dispatch call in AutomotiveTools.call_tool() that routes iso11452_levels to _iso11452_levels() handler.
    elif name == "iso11452_levels":
        return self._iso11452_levels()
  • Input schema for iso11452_levels tool - empty properties indicating no parameters required.
    inputSchema={"type": "object", "properties": {}},
  • Loads the automotive_emc.json data file which contains the ISO 11452-2 test levels used by the handler.
    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")
Behavior3/5

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

No annotations are provided. The description implies a read-only retrieval operation but does not disclose any additional behavioral traits such as data source, limitations, or performance characteristics.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, well-constructed sentence that conveys the essential information without any superfluous words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple retrieval of fixed test levels, the description provides the core purpose. However, it lacks specification of output format or units, and no output schema exists. Given the low complexity, it is minimally adequate.

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?

The input schema has zero parameters (100% coverage), so the baseline is 4. The description adds no parameter info, which is acceptable since there are none.

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 clearly states the specific standard (ISO 11452-2), the type of levels (radiated immunity test levels), and the application (automotive components). It distinguishes itself from sibling tools by being highly specific.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives. With many related tools (e.g., immunity_test_plan, automotive_immunity_method), the description lacks differentiation and context for selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RFingAdam/mcp-emc-regulations'

If you have feedback or need assistance with the MCP directory API, please join our Discord server