Skip to main content
Glama
RCA-MCP Connector

RCA-MCP Connector

rca_spc_capability

Read-onlyIdempotent

Computes Cp/Cpk and Pp/Ppk from subgroup measurements with spec limits and flags capability results taken from unstable processes.

Instructions

Pro+ plan required. Computes Cp/Cpk (within-subgroup sigma, process potential) and Pp/Ppk (overall sigma, actual long-term performance) from subgroup measurement data, with the two sigma estimators carried through independently rather than one reused for both. At least one of usl/lsl is required. Internally re-checks whether the process is in statistical control and flags (never silently hides) a capability read taken against an unstable process -- this is a documented analysis, not a capability certification.

Use this when you need Cp/Cpk/Pp/Ppk indices for a spec-limit comparison; use rca_spc_control_chart instead when you just need to see whether the process is in statistical control over time (no spec limits involved) -- this tool calls that check internally and surfaces it, but a control chart is the richer view of it.

Args: params (SPCCapabilityInput): token, client_id, subgroups, usl, lsl

Returns: str: JSON with cp, cpk, pp, ppk, sigma_within_subgroup, sigma_overall, in_control, warning (if out of control), and the underlying control_chart_check, 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_capability"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.2.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), yet the description still adds non-trivial operational context: a 'Pro+ plan required' gating condition, the 'at least one of usl/lsl is required' input precondition, and the important disclosure that an out-of-control process is 'flagged (never silently hides)' via a warning rather than suppressed. The caveat that this is 'a documented analysis, not a capability certification' correctly frames the output's authority.

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

Conciseness4/5

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

Front-loaded with the gating requirement and the core computation, then thin-client routing guidance, then args/returns — a sensible order with no filler sentences. The minor cost is the Args/Returns block, which partly restates what the schema and the existing output schema already describe.

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

Completeness5/5

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

For a statistical tool with a single nested input object and a documented output schema, the description covers everything an agent needs: plan gating, spec-limit precondition, the internal control-stability check and its warning behavior, and the interpretive limits of the result. Nothing needed to invoke it correctly is missing.

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 direction of the nested params object is spelled out ('params (SPCCapabilityInput): token, client_id, subgroups, usl, lsl'), and crucially the description supplies a constraint the schema does not enforce — that at least one of usl/lsl must be supplied, since neither is in the required list. It does not restate the 2-10 subgroup-size rule (which the schema does carry), so a little meaning is left on the schema's side.

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?

States a specific verb and the exact statistical artifacts produced: 'Computes Cp/Cpk (within-subgroup sigma, process potential) and Pp/Ppk (overall sigma, actual long-term performance) from subgroup measurement data.' It even disambiguates the two sigma estimators, and explicitly names the sibling rca_spc_control_chart as the non-capability alternative, so an agent can route without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use clause ('when you need Cp/Cpk/Pp/Ppk indices for a spec-limit comparison') and an explicit when-not clause with the named alternative ('use rca_spc_control_chart instead when you just need to see whether the process is in statistical control over time (no spec limits involved)'). It also clarifies the relationship — the control check is performed internally and surfaced — so there is no ambiguity about double-calling.

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

Deploy Server

Other Tools