Skip to main content
Glama
RCA-MCP Connector

RCA-MCP Connector

rca_structural_investigate

Runs causal root cause analysis for structural failures using fault trees, fishbone diagrams, or Bayesian networks, then cites the evidence supporting each returned cause.

Instructions

Pro+ plan required. Runs a causal RCA engine (fault tree, fishbone, or Bayesian network) against a structural failure, then traces every returned root cause back to the specific evidence items that support it -- ASCE's Guidelines for Failure Investigation treat an opinion that can't be traced to specific evidence as indefensible by definition, so this tool enforces that structurally rather than leaving it to the caller's narrative. The fishbone path auto-seeds its categories from evidence when causes is omitted.

Args: params (StructuralInvestigateInput): token, client_id, failure_mode, evidence, method, and the method's own fields (tree+basic_event_probs / causes / data+target+dag_edges)

Returns: str: JSON RCAResult with each root cause's cited_evidence attached, plus a disclaimer, 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_structural_investigate"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.3.0

TDQS

A3.9/5.0
Behavior4/5

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

Goes meaningfully beyond the annotations: it discloses a plan/tier prerequisite (Pro+), the error mode ('bad_input error'), and that evidence citation is enforced structurally rather than left to caller narrative. It leaves one gap — with readOnlyHint=false and idempotentHint=false, it never says whether the run is persisted or what state it creates — but the added context is substantial.

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 plan requirement and the core action, then the evidence-citation contract, then Args/Returns. The ASCE justification sentence is longer than strictly necessary but explains a real behavioral constraint rather than padding.

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 gating requirement, the three method branches, the mandatory-evidence rule, the auto-seed fallback, and the failure mode, which is enough for a tool with three internal paths. Output schema exists so return-value detail is redundant, and the only real omission is what (if anything) the non-idempotent run persists.

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 mostly restates parameter names already documented in the schema, and the one genuinely additive point (evidence items must carry category/description/source/step so they can be cited back, and fishbone auto-seeds categories from evidence) is also present in the schema text. Method-specific field pairing ('tree+basic_event_probs / causes / data+target+dag_edges') is a useful at-a-glance mapping but adds no syntax or constraint detail.

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 ('Runs a causal RCA engine ... against a structural failure') and names the three concrete methods (fault tree, fishbone, Bayesian network) plus the distinguishing post-processing step (tracing each root cause back to supporting evidence). An agent can tell this apart from generic analysis tools like rca_analysis_run by the structural-failure domain and evidence-citation contract.

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?

Gives some conditional guidance — 'Pro+ plan required' and 'The fishbone path auto-seeds its categories from `evidence` when `causes` is omitted' — but never states when to pick this over siblings such as rca_safety_incident_investigate or rca_analysis_run, nor any when-not condition. Usage is implied by the domain and method fields rather than stated.

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