generate_maintenance_recommendations
Generate maintenance recommendations by combining ISO zone-based severity with specific fault types, producing actionable upkeep guidance.
Instructions
Generate maintenance recommendations based on severity and detected faults.
Combines ISO zone-based urgency with fault-specific maintenance
actions. This tool intentionally does NOT accept a confidence
value: any number supplied by the caller would be echoed into
advisory output without evidential basis.
Args:
ctx: MCP context. Unused — see this module's docstring on logging.
severity_zone: ISO zone letter — "A", "B", "C", or "D".
fault_types: Detected fault types from the closed canonical
vocabulary — outer_race/inner_race/ball/cage for bearings
(NOT the BPFO/BPFI/BSF/FTF acronyms) plus misalignment/
unbalance/looseness. None for zone-only advice.
Returns:
Formatted string listing all maintenance recommendations.
Raises:
ValueError: If any fault type is outside the canonical
vocabulary (the message lists the allowed values —
unknown values are never dropped silently).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fault_types | No | ||
| severity_zone | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |