Skip to main content
Glama
RCA-MCP Connector

RCA-MCP Connector

rca_analysis_compare

Read-onlyIdempotent

Compares 2-10 RCA results to surface overlapping root causes, model-family agreement, and confidence scores side by side. Use it to spot disagreement and get raw comparison JSON.

Instructions

Compare multiple RCA results: surface overlapping root causes and how much each model family agreed on them, plus each result's own confidence score side by side so disagreement is visible from the numbers themselves. Returns raw comparison JSON for programmatic use -- use rca_report_compare instead if you want the same comparison rendered as a shareable markdown/HTML document.

Args: params (CompareResultsInput): result_ids -- 2-10 result_ids to compare (from rca_analysis_run or rca_analysis_list_results)

Returns: str: JSON {result_count, consensus_root_causes, model_families, confidences, avg_confidence}, or a not_found error if any result_id doesn't exist or belongs to another user

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_analysis_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv4.1.15
    • addedInput schema / $defs / CompareResultsInput / properties / client_id / description
      Added value: +"Client namespace ID"
    • addedInput schema / $defs / CompareResultsInput / properties / token / description
      Added value: +"API key to authenticate this request"
  2. Changed1 schema field changedv4.1.14
    • addedInput schema / $defs / CompareResultsInput / properties / result_ids / description
      Added value: +"2-10 result_ids to compare side by side (from rca_analysis_run or rca_analysis_list_results)"
  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?

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely new behavior: raw-JSON versus rendered-document output, and the not_found failure mode when any result_id is missing or belongs to another user. The enumerated return keys largely restate the output schema, which caps this at 4.

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

Conciseness5/5

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

The purpose, the format distinction from the sibling, and the failure mode are front-loaded in the first paragraph; the Args/Returns block that follows is compact and scannable. No sentence is filler, and the tool-vs-sibling routing appears before any schema restatement.

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 read-only comparison tool with an output schema already present, the description covers what an agent still needs: the input prerequisites, the JSON-vs-document choice, and error behavior. Nothing required 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.

Parameters3/5

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

Schema description coverage is reported at 0%, so the description carries the parameter burden; it does document result_ids cardinality (2-10) and provenance, though those details are also in the schema. It says nothing about the token authentication parameter or client_id namespace, leaving half the parameters uninterpreted in prose.

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 ('Compare multiple RCA results') and then narrows the output to concrete artifacts: overlapping root causes, per-model agreement, and side-by-side confidence scores. It also explicitly distinguishes itself from rca_report_compare by output format, so an agent can pick between them 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 routing rule: use this tool for raw comparison JSON, use rca_report_compare when a shareable markdown/HTML document is wanted. It also tells the agent where valid result_ids come from (rca_analysis_run or rca_analysis_list_results), which is the main prerequisite for calling it.

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