Process capability (Cp, Cpk, Pp, Ppk)
process_capabilityJudge whether a running process can hold a dimension inside its tolerance. Reports Cp and Cpk from within-subgroup sigma and Pp and Ppk from overall sigma — the second pair is what a customer's SPC package computes from the same measurements — each with a 95% confidence interval, an upper bound on parts per million out of spec, and an Anderson–Darling normality check. Estimators follow Minitab's defaults. No verdict is given when the data cannot support one (no limit, zero spread, badly non-normal data). One specification limit is enough. Sample at least 25 consecutive parts without adjusting the process.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "process_capability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lsl | No | Lower specification limit | |
| usl | No | Upper specification limit | |
| target | No | Nominal from the drawing. Used only to sanity-check it against usl/lsl (a warning when it falls outside them) — not carried into the share link, since the snapshot has no field for it. | |
| samples | No | Measurements in production order | |
| study_code | No | A study as the Lab card encodes it; use instead of the measurements (samples, usl, lsl, target, subgroupSize, withinMethod) | |
| subgroupSize | No | Consecutive measurements per rational subgroup. Omit or 1 for individuals (within sigma from the moving range). | |
| withinMethod | No | Within-sigma estimator when subgroupSize > 1: pooled standard deviation (default, as Minitab) or R-bar/d2. |