Skip to main content
Glama
RCA-MCP Connector

RCA-MCP Connector

rca_dtree_list_sessions

Read-onlyIdempotent

List equipment diagnostic sessions with status and diagnosis, filter by equipment or resolved-only, and find session IDs for reports or continued diagnosis.

Instructions

Starter+ plan required. List your equipment diagnostic sessions (started via rca_dtree_start), each with its status and diagnosis if resolved. Free-plan keys get a plan_required error instead of results.

Use this to find a session_id for rca_guide_generate_report, check whether a session is already resolved before continuing it with rca_dtree_answer, or review diagnostic history for one piece of equipment.

Args: params (DTreeListInput): equipment_id (optional filter), resolved_only (default false — includes in-progress sessions too)

Returns: str: JSON {total, sessions: [{session_id, equipment_id, status, diagnosis, ...}, ...]}

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

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 / DTreeListInput / properties / client_id / description
      Added value: +"Client namespace ID"
    • addedInput schema / $defs / DTreeListInput / properties / token / description
      Added value: +"API key to authenticate this request"
  2. Changed2 schema fields changedv4.1.14
    • addedInput schema / $defs / DTreeListInput / properties / equipment_id / description
      Added value: +"Filter to only this equipment's sessions (omit for all equipment)"
    • addedInput schema / $defs / DTreeListInput / properties / resolved_only / description
      Added value: +"If true, only return sessions that reached a final diagnosis (default: include in-progress too)"
  3. First observedv4.1.13

TDQS

A4.4/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 the safety profile is covered. The description adds information the annotations cannot carry: a Starter+ plan gate and the specific failure mode (free-plan keys receive a plan_required error rather than empty results). It does not mention pagination or result-size limits, which keeps it short of a 5.

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 plan requirement, then usage, then args, then returns — a clean structure with no filler sentences. The Returns block partly duplicates the existing output schema, which is the only wasted 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 read-only list tool with one nested params object and an output schema that documents the return shape, the description covers everything an agent needs: access tier, error behavior, filter semantics, and downstream consumers of the session_id.

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 description restates the two meaningful filters (equipment_id, resolved_only with default false including in-progress sessions), but since the schema already carries those exact descriptions, the added meaning is minimal. It says nothing about token or client_id, and coverage signals are low, so the description only partially compensates.

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 ('List your equipment diagnostic sessions') and ties the resource to its creator ('started via rca_dtree_start'), so an agent can distinguish it from siblings like rca_analysis_list_results or rca_graph_list_versions without opening a schema. It also notes each item carries status and diagnosis.

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 three explicit when-to-use cases tied to concrete alternatives: finding a session_id for rca_guide_generate_report, checking resolved status before continuing with rca_dtree_answer, and reviewing history for one piece of equipment. This is routing guidance, not just a restatement of purpose.

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