Skip to main content
Glama
RCA-MCP Connector

RCA-MCP Connector

rca_guide_generate_report

Read-onlyIdempotent

Generate a maintenance or troubleshooting report from a resolved diagnostic session, covering root cause, confidence score, recommended actions, parts list, and recorded measurements.

Instructions

Starter+ plan required for markdown; Pro+ required for PDF/HTML. Generate a maintenance/ troubleshooting report from a completed diagnostic session. The session must already be resolved (finished via rca_dtree_answer) — an in-progress session returns an error telling you to keep answering questions first.

Report includes equipment/symptom summary, full diagnostic path, root cause with confidence score, recommended actions and parts list, measurements recorded, guide section references, and escalation flag.

Args: params (GuideReportInput): - session_id: must be a session already marked "resolved" (check via rca_dtree_list_sessions) - format: "markdown" (default, Starter+), "pdf" or "html" (Pro+ only — Starter requesting these gets plan_required, not a silent downgrade) - include_guide_refs, custom_title

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

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 / GuideReportInput / properties / client_id / description
      Added value: +"Client namespace ID"
    • addedInput schema / $defs / GuideReportInput / properties / token / description
      Added value: +"API key to authenticate this request"
  2. Changed3 schema fields changedv4.1.14
    • addedInput schema / $defs / GuideReportInput / properties / custom_title / description
      Added value: +"Custom report title, up to 200 chars (default: auto-generated from equipment/symptom)"
    • addedInput schema / $defs / GuideReportInput / properties / format / description
      Added value: +"'markdown' (default, Starter+) or 'pdf'/'html' (Pro+ only — Starter requesting these gets plan_required, not a silent downgrade)"
    • changedInput schema / $defs / GuideReportInput / properties / session_id / description
      Previous value: -"Completed diagnostic session ID"New value: +"A session_id already marked 'resolved' (check via rca_dtree_list_sessions)"
  3. First observedv4.1.13

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds genuinely new behavior: tier gating (Starter+ markdown, Pro+ pdf/html) and the fact that a Starter request for pdf/html returns plan_required rather than silently downgrading. It also discloses the error contract for unresolved sessions. It does not say where the artifact goes or whether anything is persisted, which for a report generator is a modest gap.

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

Conciseness3/5

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

The plan requirement is usefully front-loaded and the report-contents sentence is informative, but the Args section duplicates the input schema almost verbatim, adding length without adding meaning. Line-wrapping mid-sentence makes it slightly harder to scan than it needs to be.

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?

For a generate-report tool with an output schema, the description supplies the prerequisites, plan constraints, error behavior and recovered report contents, which is close to everything an agent needs before calling. The only omission is any statement about whether a report artifact is stored or retrievable later via rca_guide_get.

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%, but the schema itself already describes every property, so the Args block is largely a restatement. It documents session_id, format, include_guide_refs and custom_title semantics (including the plan-gating on format), but omits token and client_id entirely, so it only partially compensates for the coverage signal.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: generate a maintenance/troubleshooting report from a completed diagnostic session, and enumerates what the report contains. It implicitly separates itself from generic report siblings by binding the operation to a resolved rca_dtree session, though it never names rca_report_generate or rca_report_compare as alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It gives a clear precondition (the session must already be resolved) and names the exact failure mode if it is not, plus routes the agent to rca_dtree_list_sessions to check status and to rca_dtree_answer for resolution. It lacks an explicit statement of when to prefer this over the sibling report tools.

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