Skip to main content
Glama
RCA-MCP Connector

RCA-MCP Connector

rca_dtree_start

Start an interactive decision-tree diagnostic session and receive the first question to answer step by step until a root-cause diagnosis is reached; resumes open sessions by ID.

Instructions

Starter+ plan required. Begin an interactive diagnostic session using a decision tree guide. Returns a question — answer with rca_dtree_answer, one call per question, until the session resolves to a diagnosis.

Two modes:

  1. guide_id = → Use a specific json_dtree guide

  2. guide_id = "auto" → Auto-generate tree from FMEA results (requires fmea_result_id pointing to a completed FMEA analysis)

session_id resume behavior (non-obvious): if you pass a session_id that's yours and not yet resolved, this returns its CURRENT question — guide_id/equipment_id/symptom are ignored entirely in that case. If the session_id is missing, already resolved, or belongs to someone else, it's silently treated as if you'd omitted it: a brand-new session starts fresh under that same session_id (or a fresh UUID if you didn't supply one) — you won't get an error, so a typo'd ID quietly starts over rather than resuming.

Args: params (DTreeStartInput): - guide_id: guide UUID or "auto" - equipment_id: equipment being diagnosed - symptom: initial fault description - session_id: optional; see resume behavior above - fmea_result_id: required when guide_id="auto"

Returns: str: JSON with session_id, question, options (yes/no/unknown), progress_pct

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

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 / DTreeStartInput / properties / client_id / description
      Added value: +"Client namespace ID"
    • addedInput schema / $defs / DTreeStartInput / properties / token / description
      Added value: +"API key to authenticate this request"
  2. Changed1 schema field changedv4.1.14
    • addedInput schema / $defs / DTreeStartInput / properties / equipment_id / description
      Added value: +"Equipment this diagnostic session is for, e.g. 'pump_XR200_unit3'"
  3. First observedv4.1.13

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false and idempotentHint=false; the description adds context they cannot carry, notably the Starter+ plan gate and the genuinely non-obvious session_id resume semantics (silently starting a fresh session instead of erroring on a typo'd or foreign ID). That silent-fallback warning is exactly the kind of behavioral trait that prevents misuse, and the return fields are enumerated as well.

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?

Well front-loaded: purpose and workflow first, then modes, then the critical resume caveat, then args and returns. The Args and Returns blocks partially restate what the schema and output schema already provide, which is the only redundancy; the 'non-obvious' framing slightly over-explains but the content justifies the space.

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 session-creating tool with branching modes and tricky resume behavior, the description covers entry conditions, mode selection, follow-up protocol, and the failure mode agents would otherwise trip over. Since an output schema exists, the Returns block is optional but harmless, so nothing an agent needs to call this correctly is missing.

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

Parameters5/5

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

With schema description coverage reported at 0%, the description carries the full burden, and it does: it defines the guide_id mode branching, pins fmea_result_id to the 'auto' case, describes equipment_id/symptom by role, and adds resume semantics for session_id that no schema line conveys. Only token and client_id go unexplained, which is a negligible gap.

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 ('Begin an interactive diagnostic session using a decision tree guide') and immediately distinguishes itself from the sibling it hands off to ('answer with rca_dtree_answer, one call per question'). An agent knows both what this does and how it fits into the surrounding workflow 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 Guidelines5/5

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

Explicitly covers both invocation modes: a specific guide UUID versus 'auto', including the prerequisite that 'auto' requires a completed FMEA analysis via fmea_result_id. It also names the required follow-up tool and the iteration contract (one call per question until the session resolves to a diagnosis), 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.

Deploy Server

Other Tools