rca_spc_control_chart
Generates SPC control charts (X-bar/R or p-chart) from your data and flags out-of-limit points plus run-pattern rule violations, with control limits computed from the data rather than specifications.
Instructions
Pro+ plan required. Generates an SPC control chart (X-bar/R for continuous measurements, or a p-chart for proportion-defective attribute data) and flags both out-of-limit points and run-pattern violations under the chosen rule set. Control limits are always computed from the data itself, never from specification limits.
Args: params (SPCControlChartInput): token, client_id, data_type, subgroups OR (defective_counts + subgroup_sizes), rule_set
Returns: str: JSON with center_line, control limits, out_of_limits_indices, run_pattern_violation_indices, in_control, rule_set_applied, or a bad_input error
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": {
"params": "<params>"
},
"name": "rca_spc_control_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |