Skip to main content
Glama
RCA-MCP Connector

RCA-MCP Connector

rca_spc_control_chart

Read-onlyIdempotent

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

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.2.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world, non-destructive behavior, so the bar is lower. The description nevertheless adds substantive context: an entitlement requirement (Pro+ plan), the guarantee that control limits are computed from data rather than spec limits, and the fact that both out-of-limit points and run-pattern violations are flagged. It does not discuss pagination or error conditions beyond 'bad_input', which the output schema already covers.

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-loads the plan requirement and the core action, then uses conventional Args/Returns sections. It is appropriately sized for a moderately complex analytics tool. The Returns block partially duplicates fields already expressed in the output schema, which is the main bit of waste.

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

Completeness4/5

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

Given a moderate-complexity statistical tool with a rich nested input schema and an output schema, the description covers the essential extras: plan gating, control-limit semantics, chart-type mapping, and returned signal groups. Missing pieces such as minimum sample-size expectations and the meaning of run-pattern rule sets are delegated to the schema, which is reasonable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The Args block enumerates the parameters and, usefully, presents the conditional shape ('subgroups OR (defective_counts + subgroup_sizes)'), which clarifies mutual exclusivity. Beyond that grouping it mostly restates the schema, which already documents each field and its conditional requirement. With the reported low schema coverage this is adequate compensation but not rich semantic detail.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Generates') and resource ('SPC control chart'), and further disambiguates the two chart variants (X-bar/R for continuous vs p-chart for proportion-defective). It also states the derived output (out-of-limit and run-pattern flags). It stops short of naming or contrasting sibling tools such as rca_spc_capability, so it does not fully reach the sibling-differentiation bar for a 5.

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

Usage Guidelines3/5

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

It supplies one real usage prerequisite ('Pro+ plan required') and a scope rule (limits come from the data, never specification limits), which tells the agent when this tool is the right choice. However, there is no explicit when-not guidance or routing to the adjacent capability/analysis tools. The data-type selection guidance is implied but largely carried by the schema.

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