calculate_oee
Calculates OEE from availability, performance, and quality inputs for a production line over a date range, returning each factor as a ratio and percentage.
Instructions
Calculate OEE = Availability × Performance × Quality.
Args: line: Production line label (echoed in the result). start_date: ISO-8601 window start. end_date: ISO-8601 window end. planned_time_minutes: Scheduled production time. run_time_minutes: Actual running time. total_count: Total units produced. good_count: Units that passed quality checks. ideal_cycle_seconds: Ideal seconds per unit.
Returns: Availability, performance, quality and OEE (0–1 and percentages).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"line": "<line>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "calculate_oee"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | ||
| end_date | Yes | ||
| good_count | No | ||
| start_date | Yes | ||
| total_count | No | ||
| run_time_minutes | No | ||
| ideal_cycle_seconds | No | ||
| planned_time_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||