Skip to main content
Glama
dave1362

RCA-MCP Connector

rca_analysis_ensemble

Run multiple RCA models on the same data and combine root-cause scores via weighted voting to get a consensus ranking when you're unsure which model family fits best.

Instructions

Run 2-5 different RCA models on the SAME payload and combine their root-cause scores via weighted voting. Requires the ensemble feature (Pro+). Use this when you're unsure which single model family fits the data best and want cross-validation across families -- for the SAME model run over multiple different incidents instead, use rca_analysis_batch.

Algorithm:

  1. Run each model_id via dispatch_rca()

  2. Collect all root_cause {node, score} pairs

  3. For each unique node: ensemble_score = sum(weight_i * score_i * confidence_i)

  4. Normalise to [0,1]

  5. Return ranked ensemble result

Args: params (EnsembleInput): - model_ids: 2-5 existing models, all run against the same payload - payload: shared input, shape depends on the models' families - weights: optional per-model weights, same length as model_ids (default: equal weighting) - save: persist the ensembled result (default true)

Returns: str: JSON with ensemble_root_causes (ranked), model_contributions, agreement_matrix (which models agree on which root causes), or a bad_input/not_found error

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv4.1.15
    • addedInput schema / $defs / EnsembleInput / properties / client_id / description
      Added value: +"Client namespace ID"
    • addedInput schema / $defs / EnsembleInput / properties / token / description
      Added value: +"API key to authenticate this request"
  2. Changed1 schema field changedv4.1.14
    • addedInput schema / $defs / EnsembleInput / properties / save / description
      Added value: +"Persist the ensembled result server-side for later retrieval (default true)"
  3. First observedv4.1.13

TDQS

A4.5/5.0
Behavior4/5

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

The description discloses the algorithm steps (dispatch_rca, weighted scoring, normalization), the Pro+ feature requirement, the default save=true persistence behavior, and possible error types (bad_input/not_found). Annotations are all false and thus provide little behavioral signal, so the description carries the burden and handles it well. It could additionally caution about the side effect of persisting results by default, but the save parameter is at least mentioned.

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?

The description is organized with a front-loaded purpose, usage guidance, a numbered algorithm, structured Args, and a Returns section. There is minor redundancy between the Args section and the schema descriptions, but the length is justified by the algorithm complexity. No filler words or vague statements.

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?

The description covers when to use, the algorithm, the 2-5 model constraint, the shared payload requirement, default save behavior, output JSON structure, and error cases. An output schema exists, so detailed return-value documentation is not required. The only slight gap is not elaborating on payload validation across model families, but it acknowledges this with 'shape depends on the models' families.'

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 Args section enriches the schema meaningfully by noting weights must be 'same length as model_ids,' defaulting to equal weighting, and describing payload as 'shared input, shape depends on the models' families.' The schema already provides solid descriptions for all fields, so this is additive rather than necessary, but it adds useful constraint context. Token and client_id are left to the schema, which is sufficient.

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?

The description states a precise operation: 'Run 2-5 different RCA models on the SAME payload and combine their root-cause scores via weighted voting.' It is a specific verb (run/combine) with a clear resource (RCA models/payload), and it explicitly contrasts with rca_analysis_batch by saying 'for the SAME model run over multiple different incidents instead, use rca_analysis_batch.' This makes the tool's purpose unmistakable and distinguishes it from siblings.

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?

The description gives explicit guidance: 'Use this when you're unsure which single model family fits the data best and want cross-validation across families,' and it names the exact alternative tool and condition. This is a clear when-to-use and when-not-to-use statement, leaving nothing to inference.

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