Skip to main content
Glama
RCA-MCP Connector

RCA-MCP Connector

rca_oee_loss_rca

Analyze the lowest OEE factor's own two loss categories to pinpoint root causes with fishbone or Bayesian-network causal RCA.

Instructions

Pro+ plan required. Causal RCA on the "six big losses" OEE taxonomy, scoped to whichever OEE factor came in lowest -- analyzes just that factor's own 2 loss categories, not all six at once. Reuses the existing fishbone or Bayesian-network engine.

Args: params (OEELossRCAInput): token, client_id, lowest_factor, method, and the method's own fields (causes / data+target+dag_edges)

Returns: str: JSON RCAResult (root_causes, confidence_overall, explanation), 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_oee_loss_rca"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.2.0

TDQS

A4.1/5.0
Behavior4/5

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

Adds real context beyond the annotations: the Pro+ plan gate, the scoping rule that only two loss categories are analyzed, and the fact that the fishbone/Bayesian engines are reused, which explains why the input schema forks by method. There is mild tension with readOnlyHint=false (the description reads as a pure analysis), but since a run plausibly consumes plan quota or persists a result, it isn't a genuine contradiction.

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 two things that gate a correct call — plan tier and factor scoping — before the boilerplate Args/Returns section. The Returns paragraph duplicates the existing output schema and is the only sentence that doesn't earn its place.

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?

Covers the elements that actually determine a correct invocation: plan requirement, scope restriction, method fork, and prerequisite source for lowest_factor. With an output schema present, the return description is redundant but not harmful; the only real gap is guidance on choosing between the two methods.

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 names the parameters and usefully clusters them by method (causes for fishbone; data+target+dag_edges for bayesian_network), and points lowest_factor at the calculator's output. However, most per-field descriptions already exist in the schema ("Bayesian network only", "Fishbone only", auto-seeding), so the added meaning is organizational rather than new, and format/enum details are left to the schema.

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 resource ("Causal RCA on the 'six big losses' OEE taxonomy") and immediately narrows scope to a single factor, with the explicit contrast "analyzes just that factor's own 2 loss categories, not all six at once." An agent can distinguish this from rca_oee_calculate and the 8D/Pareto siblings without opening any schema.

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

Usage Guidelines4/5

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

Gives a hard prerequisite ("Pro+ plan required") and a clear routing hint that lowest_factor comes "see rca_oee_calculate's output," so the agent knows to call the calculator first (or reuse its result). It doesn't spell out when to prefer fishbone over bayesian_network beyond field availability, nor when to skip this tool, so it falls short of a full when/when-not treatment.

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