RCA-MCP
v4.4.0Causal root-cause analysis MCP server -- 71 tools: graphs, RCA models, manufacturing, AEC, delay.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
rca_auth_generate_token
Generate a new API key for authenticating all other tools. Always issues the Free plan. Call this FIRST before using any other RCA-MCP tool. Store the returned api_key securely — it cannot be recovered later. Pass it as the 'token' field in every subsequent tool call. It does not expire. Paid plans (Starter/Pro/Enterprise) are NOT requested here — they are issued automatically, tied to your payment, the moment a Paystack subscription payment succeeds. Upgrade at https://rca-mcp.com/upgrade. Args: params (AuthSetupInput): - roles: audit-only metadata for this API key (not au…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_auth_list_keys
List your own API keys and their metadata. Never returns raw or hashed key material. Requires the multi-key feature (Pro plan or above -- up to 5 keys on Pro, unlimited on Enterprise); Free/Starter keys get a security_violation error, since those plans only ever have the one key they authenticated with. Use the returned key_id values with rca_auth_rotate_key or rca_auth_revoke_token to act on a specific key. Returns: str: JSON with total and a list of {key_id, label, plan_at_issue, created_at, last_used_at, is_active}
| Parameter | Type | Description |
|---|---|---|
params * |
rca_auth_rotate_key
Deactivate one of your existing API keys and generate a replacement for the same account in one call. Requires the multi-key feature (Pro plan or above -- up to 5 keys on Pro, unlimited on Enterprise). Use rca_auth_list_keys first to find key_id if you don't already have it. Prefer this over rca_auth_revoke_token when you want a like-for-like replacement key in one step rather than just shutting the old one off. Args: params (RotateKeyInput): - key_id: UUID of the existing key to deactivate (from rca_auth_list_keys), not the raw key string itself Returns: str: JSO…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_auth_revoke_token
Deactivate one of your own API keys immediately — useful when a key is compromised or an integration is being retired. Unlike rca_auth_list_keys/rca_auth_rotate_key, this has no plan gate at all — every plan can revoke, including Free/Starter with only one key (revoking your only key means you'll need rca_auth_generate_token again, or your dashboard, to get back in). If you don't already know key_id_to_revoke and you're Free/Starter (so rca_auth_list_keys is unavailable to you), check your account dashboard for the key's ID instead. Args: params (RevokeTokenInput): - token:…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_admin_health
Return server health status and instance-wide aggregate counts. Any authenticated key can call this (minimum viewer role) -- use this to confirm the server is reachable and to see which model families are supported, not to check your own account's usage. Note: models_in_registry/graphs_on_disk/results_on_disk are counts across ALL users on this server instance, not just yours -- for your own data, use rca_model_list, rca_graph_list_versions, or rca_analysis_list_results instead. Args: params (HealthInput): token, client_id Returns: str: JSON health snapshot (status, timestamp, inst…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_admin_read_audit_log
Read YOUR OWN structured audit log entries for a given hour bucket — one entry per tool call you made, showing which tool ran, when, and whether it succeeded or was denied. Requires the audit_log_export feature (Pro plan or above -- Free/Starter get a plan_required-style security_violation error; use rca_admin_show_plan_info to check your own plan first). Never returns another user's activity, regardless of plan. Use this to investigate why a call was denied or confirm a destructive action (e.g. rca_graph_delete) actually ran — it's an hourly snapshot, not a live stream, so it's not sui…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_admin_purge_namespace
Permanently delete ALL of YOUR OWN records in a storage namespace (graphs/models/results) in one call. Requires confirm=true. This action is IRREVERSIBLE. Only affects data you own -- there is no cross-account purge capability exposed via this or any other tool. Enterprise plan only (a deliberate tier feature, not a bug -- Free/Starter/Pro get a security_violation error). On those plans, delete records one at a time instead: rca_graph_delete for graphs, rca_model_delete for models. There's currently no per-item delete tool for results. Args: params (PurgeInput): - namespace: one…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_graph_create
Create a new, empty causal DAG. Populate it with rca_graph_add_node and rca_graph_add_edge afterward, or use rca_graph_discover instead if you have observational data and want the graph inferred rather than hand-built. Args: params (GraphCreateInput): - name: graph display name (for your own reference) - description: optional free-text notes on this graph's purpose Returns: str: JSON {graph_id, name, message}
| Parameter | Type | Description |
|---|---|---|
params * |
rca_graph_get
Retrieve a causal graph's current state. Use "json" (default) to inspect it programmatically, "dot" to render it visually with Graphviz, or "adjacency" for a plain source->targets mapping. Args: params (GraphGetInput): - graph_id: the graph to retrieve - format: "json" (full node/edge detail, default), "dot" (Graphviz source), or "adjacency" (simple mapping) Returns: str: Graph data in the requested format, or a not_found error if the graph doesn't exist or belongs to another user
| Parameter | Type | Description |
|---|---|---|
params * |
rca_graph_score
Compute structural quality scores for a causal graph -- a sanity check on the graph's shape itself (is it a valid DAG, how connected is it), not a root-cause analysis. Use this after building or editing a graph by hand, or after rca_graph_discover, to catch structural issues (e.g. disconnected components, a graph that isn't actually a DAG) before running rca_analysis_run on it. Args: params (GraphScoreInput): graph_id -- the graph to score Returns: str: JSON GraphScore {node_count, edge_count, dag_valid, density, avg_in_degree, avg_out_degree, max_path_length, conn…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_graph_discover
Automatically discover a causal skeleton from observational metric data using partial-correlation + Fisher-Z conditional independence tests (PC-algorithm). Requires the causal_discovery feature (Pro+). Creates and saves a new graph, same as rca_graph_create, but with edges inferred from data instead of asserted by hand -- use rca_graph_create + rca_graph_add_edge instead if you already know the causal structure and just want to encode it directly. Always review the discovered edges (rca_graph_get or rca_graph_score) before trusting them for RCA -- statistical discovery finds correlational st…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_graph_delete
Delete a causal graph permanently. Requires confirm=true. This action is IRREVERSIBLE via this tool -- if graph versioning is available on your plan, restoring an old version first won't help since the whole graph record is gone, not just its edges. You only need this to remove a graph entirely; to fix a graph you're still using, edit its nodes/edges instead (rca_graph_add_node/remove_node/add_edge/remove_edge). Args: params (GraphDeleteInput): - graph_id: the graph to delete - confirm: must be true, or this returns an "aborted" error without deleting anything…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_graph_list_versions
List all historical versions of a causal graph. A new version is snapshotted automatically every time the graph is saved (node/edge additions, removals, etc) -- there's no separate "save version" step. Requires the graph_versioning feature (Starter+). Use the returned version_id values with rca_graph_restore_version to roll back to an earlier state. Args: params (GraphListVersionsInput): graph_id -- the graph to list versions for Returns: str: JSON {graph_id, total, versions: [{version_id, created_at, node_count, edge_count}, ...]}, newest first
| Parameter | Type | Description |
|---|---|---|
params * |
rca_graph_restore_version
Restore a causal graph to a specific historical version. This creates a new current state from the version snapshot — the version history itself is preserved (the restore operation is snapshotted too, so restoring is itself undoable by restoring forward again). Requires confirm=true and the graph_versioning feature (Starter+). Use rca_graph_list_versions first to find a version_id. Args: params (GraphRestoreVersionInput): - graph_id: the graph to restore - version_id: from rca_graph_list_versions - confirm: must be true, or this returns an "aborted" error Retu…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_graph_merge
Merge two causal graphs into a unified graph for cross-system RCA (e.g. combining a network-layer graph with an application-layer graph). Duplicate edges keep the higher-weight version; edges that would introduce a cycle are dropped and counted, not silently ignored. Requires the causal_discovery feature (Pro+); both source graphs must belong to you. Args: params (GraphMergeInput): - graph_id_a, graph_id_b: the two graphs to merge (both must be yours) - merged_name: name for the new, third graph created by this call (graph_id_a/b are left untouched)…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_graph_add_node
Add a typed node to a causal graph. Node names must be unique within the graph -- adding a node with a name that already exists raises an error rather than overwriting it; remove the existing one first with rca_graph_remove_node if you want to replace it. Args: params (NodeOpInput): - graph_id: the graph to add to - name: unique node name within this graph - node_type: metric | incident | symptom | root_cause | intermediate (default "metric") -- classifies the node for reports and graph views, doesn't affect analysis - description, meta…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_graph_remove_node
Remove a node and all its incident edges from a causal graph. Destructive and irreversible via this tool — undo only by rebuilding the node/edges with rca_graph_add_node + rca_graph_add_edge, or restoring an earlier version with rca_graph_restore_version if versioning is available on your plan. Use this to correct a mistaken node, not to prune weak paths — for that, adjust edge weights instead, or use rca_graph_score_paths first to see which paths actually matter before deciding what to remove. Args: params (RemoveNodeInput): - graph_id: the graph to modify - name: e…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_graph_add_edge
Add a directed causal edge (source → target) to a graph. Both nodes must already exist -- add them first with rca_graph_add_node. Automatically rejects edges that would create a cycle (DAG enforcement) rather than silently allowing an invalid graph. Args: params (EdgeOpInput): - graph_id: the graph to add to - source, target: existing node names (cause -> effect) - weight: causal strength, 0.0-1.0 (default 1.0) - confidence: how sure you are of this edge, 0.0-1.0 (default 1.0) -- distinct from weight; a weak-but-certain edge and a str…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_graph_remove_edge
Remove a directed edge (source → target) from a causal graph. Destructive and irreversible via this tool — undo by re-adding the edge with rca_graph_add_edge, or restoring an earlier version with rca_graph_restore_version. Use this when an edge was added in error or a causal hypothesis is disproven. Use rca_graph_remove_node instead if you want the node itself gone — that already removes all its edges, so you don't need to remove them individually first. Args: params (RemoveEdgeInput): - graph_id: the graph to modify - source, target: exact node names (case-sensiti…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_graph_score_paths
Find and rank all causal paths from every root (no-incoming-edge) node to a target incident node. Score = geometric-mean(edge weights) × avg_confidence / sqrt(hops) — shorter, higher-weight, higher-confidence paths rank above longer or weaker ones. Use this on a graph you've built by hand (rca_graph_create + rca_graph_add_edge) to see which manually-asserted causal chains are strongest. For a data-driven ranking instead of a hand-built graph, use rca_analysis_run with a model family like granger_causality or dowhy_causal_inference instead. Args: params (PathScoreInput): - gra…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_graph_markov_blanket
Return the Markov blanket of a node: parents ∪ children ∪ co-parents -- the minimal set of other nodes needed to fully explain this node's behavior, ignoring the rest of the graph. Use this to scope an investigation to just the metrics that actually matter for one incident node, instead of reasoning about the whole graph -- e.g. before running a targeted analysis, or to decide which upstream metrics are even worth pulling data for. Args: params (MarkovBlanketInput): - graph_id: the graph to search - node: the node to compute the blanket for (must exist in t…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_model_create
Register a new RCA model spec in the registry, starting in "draft" status. This just stores the spec — it doesn't run anything. Plan limits on how many models you can hold: Free 5, Starter 20, Pro+ unlimited (call rca_admin_show_plan_info to check your own count/limit). Typical lifecycle: create (here) → rca_analysis_run to use it → rca_model_validate on hold-out data → rca_model_update_status to mark it "deployed" (or "deprecated"/"failed") → rca_model_delete when you're done with it entirely. Model families: bayesian_network | dowhy_causal_inference | granger_causality |…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_model_list
List all of YOUR registered RCA models, with optional family/status filters. Use this to find a model_id for rca_analysis_run, or to check your usage against your plan's model-count limit (see rca_admin_show_plan_info for the limit itself). Args: params (ModelListInput): - family_filter: only this model family (omit for all) - status_filter: only this status (omit for all) Returns: str: JSON {total, models: [{model_id, name, family, status, version, tags, created_at}, ...]}
| Parameter | Type | Description |
|---|---|---|
params * |
rca_model_update_status
Set a model's lifecycle status directly to any of: draft, trained, validated, deployed, deprecated, failed. This is a direct field update, not a guarded state machine — there is no enforced order (e.g. nothing stops setting "deployed" on a model that was never validated); that discipline is on the caller, not the API. Use "deprecated" to retire a model without deleting it (its past results stay queryable via rca_analysis_get_result); use "failed" to flag one that shouldn't be used, e.g. after rca_model_validate reports poor hold-out performance. Use rca_model_delete instead if you want the…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_model_validate
Run a quick correlation-based sanity check of a model against hold-out data you supply (not automatically split from training data -- you provide a separate dataset). This is a lightweight coverage/confidence check, not full cross-validation or backtesting; use it to catch an obviously broken model, not to certify accuracy. Sets the model's status to "validated" on success -- you don't need to also call rca_model_update_status afterward, though you can still use that tool later to move it to "deployed", "deprecated", or "failed". Args: params (ModelValidateInput): - model_id: th…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_model_delete
Permanently delete a model from the registry and storage. Requires confirm=true. This action is IRREVERSIBLE -- any results already produced by this model (via rca_analysis_run etc.) are unaffected and stay retrievable via rca_analysis_get_result, but you can no longer run new analyses with this model_id. Use rca_model_update_status to mark a model "deprecated" instead if you just want to stop new usage while keeping it around for reference -- delete is for when you're certain you won't need the spec again. Args: params (ModelDeleteInput): - model_id: the model to delete…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_analysis_run
Execute an RCA analysis using a registered model and return ranked root causes. This is the primary, synchronous analysis entry point -- it blocks until the model finishes. For a model that might take a while, use rca_analysis_run_async + rca_analysis_poll_task instead (Pro+); for multiple incidents through the same model in one call, use rca_analysis_batch instead (Starter+). Args: params (RunAnalysisInput): - model_id: an existing model from rca_model_create - payload: family-specific dict -- shape depends on the model's family (see the payload field's own des…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_analysis_get_result
Retrieve a previously saved RCA result by result_id. Use this after rca_analysis_run (or rca_analysis_run_async + rca_analysis_poll_task) to re-fetch a result you already have the ID for — e.g. to hand it to rca_report_generate or rca_analysis_compare later. If you don't have a result_id yet, use rca_analysis_list_results to find one first. Args: params (GetResultInput): - result_id: from a prior analysis call's response Returns: str: JSON of the full stored RCAResult, or a not_found error if the ID doesn't exist or belongs to another user
| Parameter | Type | Description |
|---|---|---|
params * |
rca_analysis_list_results
List all of YOUR stored RCA result IDs, newest first, with pagination. Returns IDs and a count only — not the results themselves; follow up with rca_analysis_get_result for the full content of any one of them. Args: params (ListResultsInput): limit (1-100, default 20), offset (skip this many from the newest, for paging past `limit`) Returns: str: JSON {total, count, offset, result_ids: [...], has_more}
| Parameter | Type | Description |
|---|---|---|
params * |
rca_analysis_query_results
Query stored RCA results by model family, confidence threshold, time range, or tags — without loading every full result record. Use this instead of rca_analysis_list_results whenever you need to filter (e.g. "only high-confidence Granger results from this week"); use rca_analysis_list_results for a plain unfiltered listing instead. Returns lightweight index entries, not full result bodies -- follow up with rca_analysis_get_result for the complete content of any one. Args: params (QueryResultsInput): - model_family: exact family name, e.g. "granger_causality" (omit for…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_analysis_compare
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_familie…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_analysis_explain
Turn a stored RCA result into a human-readable explanation with heuristic recommended actions (IMMEDIATE/MONITOR/TRACK, based on each cause's score) -- useful for a chat response or incident writeup, as opposed to rca_analysis_get_result's raw JSON. Args: params (ExplainInput): - result_id: from a prior analysis call - detail_level: "brief" (summary + top 3 causes + recommended actions), "standard" (default -- adds all root causes, contributing factors, warnings), or "verbose" (adds the raw model output, timestamp, duration) Returns: str…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_analysis_batch
Run the same RCA model over multiple incidents in one call, then rank which root causes recur most often across all of them — use this to spot a systemic cause behind several similar incidents, not just one. Requires Starter+ (Free plan cannot batch at all; Starter allows up to 5 incidents per call, Pro+ up to 20 — call rca_admin_show_plan_info to check your own limit). For a single incident, use rca_analysis_run instead — it's simpler and doesn't need the plan tier. Args: params (BatchAnalysisInput): - model_id: an existing model, applied identically to every in…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_analysis_ensemble
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 Ar…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_pyrca_epsilon_diagnosis
[Adapted from Salesforce PyRCA — BSD-3-Clause] Identify anomalous metrics contributing to a Service Level Indicator (SLI) anomaly by comparing metric distributions in normal vs. incident windows. Uses z-score thresholding: metrics with |z| > epsilon in the incident window relative to the normal baseline are flagged as root cause candidates. Best used as a FIRST STEP in RCA to narrow down candidate metrics before applying more compute-intensive causal methods like rca_pyrca_ht_diagnosis or rca_pyrca_random_walk -- this one needs no causal graph at all, just two data windows. Requires the p…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_pyrca_random_walk
[Adapted from Salesforce PyRCA — BSD-3-Clause] Graph-based root cause localisation via personalised PageRank random walk. Propagates backward through a causal adjacency graph from the SLI node, weighting transitions by anomaly scores to compute root cause probabilities. Requires the pyrca feature (Starter+) and, unlike rca_pyrca_epsilon_diagnosis, needs an adjacency graph you already have (from rca_graph_get's "adjacency" format, or hand-built) plus precomputed anomaly scores per metric -- it doesn't compute those scores itself. Args: params (RandomWalkInput): - adjacency: {sou…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_pyrca_ht_diagnosis
[Adapted from Salesforce PyRCA — BSD-3-Clause] Hypothesis-testing RCA with descendant adjustment (HT-ADJ / CIRCA). Tests whether the SLI anomaly can be statistically explained by causal propagation from each ancestor node. Applies descendant adjustment to reduce indirect cause scores and surface true root causes. This is the most statistically rigorous PyRCA algorithm and is recommended when you have a well-validated causal graph and sufficient pre-anomaly data -- reach for rca_pyrca_epsilon_diagnosis instead if you don't have a graph yet, or rca_pyrca_random_walk if you have a graph but n…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_report_generate
Generate a styled, professional report from a SINGLE RCA analysis result -- use rca_report_compare instead if you want a report covering multiple results together. Supported formats (plan-gated -- Free: markdown only, Starter+: adds html/pdf, Pro+: adds excel; requesting an ungated format returns a security_violation error, not a silent downgrade): pdf — Professional PDF with tables, score bars, and styled sections (requires reportlab; falls back to plaintext if not installed) html — Styled HTML with CSS — embeddable in dashboards or emails (requi…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_report_compare
Generate a comparative report across 2–10 RCA results, showing consensus root causes, model agreement percentages, and per-model summaries. Use this instead of rca_analysis_compare when you want a shareable formatted document rather than raw comparison JSON. `format: "html"` requires Starter+ (Free plan gets a plan_required error and should use the default "markdown" instead). Args: params (ReportCompareInput): - result_ids: 2–10 result IDs to compare (from rca_analysis_run or rca_analysis_list_results) - format: "markdown" (default, all plans) or "html" (S…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_provider_list_configs
Get MCP client configuration and setup instructions for a specific provider or list all supported providers. Use this when a user asks "how do I connect RCA-MCP to X" -- it's documentation lookup, not something that affects RCA-MCP's own behavior. Supported providers: claude_desktop — Claude Desktop app (macOS/Windows) claude_code — Claude Code VS Code extension cursor — Cursor AI code editor ollama_mcphost — Ollama local models via MCPHost bridge groq_mcphost — Groq cloud via MCPHost bridge openai_agents — OpenAI GPT via openai-a…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_pyrca_validate_setup
Validate the PyRCA integration setup and report which strategy is active — a read-only diagnostic, not an action. Takes no parameters beyond authentication (token/client_id); there is nothing else to configure on this call. Run this once before your first rca_pyrca_epsilon_diagnosis, rca_pyrca_ht_diagnosis, or rca_pyrca_random_walk call if you're unsure which strategy is active, or if a PyRCA call errors unexpectedly — the response's "recommendations" field will say what to fix. Checks: - Strategy B (pure Python): always available, no extra setup - Strategy A (subprocess): requires…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_analysis_run_async
Submit a long-running RCA analysis (bayesian_network, dowhy_causal_inference, or any model against a large dataset) as a background task instead of blocking. Requires the async_tasks feature (Pro+); for most models on typical data sizes, the synchronous rca_analysis_run is simpler and doesn't need this or the plan tier. Returns a task_id immediately -- use rca_analysis_poll_task repeatedly to check progress and retrieve the result once it completes. Args: params (RunAnalysisAsyncInput): - model_id: an existing model from rca_model_create - payload: same shape as rca_analy…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_analysis_poll_task
Poll the status of an async RCA task submitted via rca_analysis_run_async. Requires the async_tasks feature (Pro+ -- same gate as submitting the task in the first place). Call this repeatedly (e.g. every few seconds) until status is "completed" or "failed" -- there's no push notification, only polling. status progresses pending → running → completed/failed; `result` is only populated once completed, `error` only once failed. Args: params (PollTaskInput): - task_id: from rca_analysis_run_async's response Returns: str: JSON {task_id, status, progress, result (if completed…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_admin_show_plan_info
Show your current plan, every feature limit, and which locked features an upgrade would unlock. Takes no parameters beyond authentication -- there's nothing else to configure here. Call this proactively before something like rca_analysis_batch, rca_model_create, rca_report_compare, rca_guide_generate_report, rca_dtree_start, or the ai_summary flag on rca_analysis_run/ rca_dtree_answer to check your limits up front, rather than discovering a plan_required error mid-workflow -- several of those tools' docstrings point back to this one for exactly that reason. Returns: str: JSON {plan, dis…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_guide_ingest
🌟 Starter+ — Upload and index an equipment troubleshooting guide into the knowledge base, as plain text content. Use rca_guide_ingest_pdf instead if you're starting from an actual PDF file. Supports three formats: markdown — Structured Markdown with ## headings (recommended); fault codes (F-###, ERR-###) are auto-extracted plain — Raw text; split into sections on double newlines json_dtree — JSON decision tree for interactive diagnostics via rca_dtree_start Guide is immediately searchable via rca_guide_search after ingestion. Plan limits: Starter up t…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_guide_search
✅ All plans — Search the equipment knowledge base by symptom description using TF-IDF relevance ranking. Free plan capped at 3 results. Searches both your own ingested guides and the 4 built-in shared sample guides (visible to every account). Args: params (GuideSearchInput): symptom, equipment_type, tags, top_k (1-20) Returns: str: JSON list of matching guide sections with relevance_score, excerpt, fault_codes, and page_ref
| Parameter | Type | Description |
|---|---|---|
params * |
rca_guide_get
✅ All plans — Retrieve a full troubleshooting guide, or one specific section by ID. Includes the 4 built-in shared sample guides (visible and readable by every account, though only rca_guide_ingest/rca_guide_ingest_pdf can add your own, and only your own can be deleted via rca_guide_delete). Args: params (GuideGetInput): - guide_id: from rca_guide_ingest, rca_guide_ingest_pdf, or rca_guide_search/rca_guide_list results - section_id: optional, to retrieve one section instead of the whole guide (section IDs come from rca_guide_search result…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_guide_list
✅ All plans — List your ingested troubleshooting guides (plus the 4 built-in shared samples visible to every account), with optional equipment_type/tag filters. Use the returned guide_id with rca_guide_get, rca_guide_delete, or rca_dtree_start. Args: params (GuideListInput): - equipment_type: only guides for this type (omit for all) - tags: only guides matching any of these tags (omit for all) Returns: str: JSON {total, guides: [{guide_id, equipment_id, equipment_type, name, version, tags, section_count, created_at}, ...]}
| Parameter | Type | Description |
|---|---|---|
params * |
rca_guide_delete
Permanently delete an equipment guide you ingested. Requires confirm=true. This action is IRREVERSIBLE -- re-ingest via rca_guide_ingest or rca_guide_ingest_pdf if you need it back. Scoped to your own guides only -- the 4 built-in sample guides (shared, visible to every account) can never be deleted this way, since delete_guide() requires an exact ownership match; deleting a guide already referenced by an active decision-tree session doesn't affect that session's in-progress state. Args: params (GuideDeleteInput): - guide_id: the guide to delete (from rca_guide_list or…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_dtree_start
🌟 Starter+ — 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 = <uuid> → 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 enti…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_dtree_answer
🌟 Starter+ — Answer the current diagnostic question to advance the decision tree. Call repeatedly until status == "resolved". Once resolved, use rca_guide_generate_report to turn the session into a shareable report. Args: params (DTreeAnswerInput): session_id, answer (yes|no|unknown), measurement - ai_summary: also generate a short NL executive summary if this answer resolves the session (Starter+, quota-limited -- see field description) Returns: str: JSON with status, question OR diagnosis, progress_pct, and ai_summary/ai_summary_error if…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_dtree_list_sessions
🌟 Starter+ — 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:…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_guide_generate_report
🌟 Starter+ (markdown) / 💎 Pro+ (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 "res…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_dtree_generate_from_fmea
🌟 Starter+ — Auto-generate a diagnostic decision tree from a completed FMEA analysis, converting HIGH-priority failure modes into a sequential yes/no diagnostic tree. Get fmea_result_id first by running rca_analysis_run against a model created with family="fmea". When save_as_guide=True (default), the tree is ingested as a json_dtree guide and the returned guide_id can be passed to rca_dtree_start -- or skip this tool entirely and pass guide_id="auto" directly to rca_dtree_start, which generates the tree on the fly without saving it. Args: params (DTreeGenerateFromFmeaInput): fmea_…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_guide_pdf_preview
🌟 Starter+ — Preview a PDF document before full ingestion to verify parsing quality. Always call this BEFORE rca_guide_ingest_pdf. Strategies: text_native (born-digital, fastest), ocr (scanned, needs Tesseract), table (parts lists/spec tables), mixed (combination), auto (recommended default). Args: params (GuidePDFPreviewInput): pdf_base64, n_pages, strategy Returns: str: JSON with detected_strategy, page_count, scanned_page_ratio, estimated_quality, sample_text, fault_codes_preview, part_numbers_preview, tables_found, recommendations, dependencies
| Parameter | Type | Description |
|---|---|---|
params * |
rca_guide_ingest_pdf
🌟 Starter+ — Parse a PDF equipment manual and ingest it into the RCA knowledge base. Rejects non-PDF input (checked via file signature, not just the base64 wrapper) and files over 50MB. A quality gate runs automatically: if the parsed quality score falls below min_quality_threshold (default 0.3), ingestion is refused with suggestions -- set skip_preview_check=true to bypass it, or lower min_quality_threshold, if you've already reviewed the content via rca_guide_pdf_preview and are OK with a rougher parse. Recommended workflow: 1) rca_guide_pdf_preview to check quality, 2) rca_guide_ing…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_8d_pareto_analyze
🌟 Pro+ — 80/20 Pareto ranking of defect or downtime categories, to pick which problem an 8D case (D2) should chase. Ranks by frequency or cost, flags the "vital few" categories whose cumulative share crosses 80%, and merges small one-off categories into a single "Other" row for display so the ranking stays readable. Args: params (ParetoAnalyzeInput): token, client_id, categories, weight_by, other_bucket_threshold_pct Returns: str: JSON with ranked (display list with cumulative_pct), vital_few (the real category names), vital_few_cumulative_pct, or a ba…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_spc_control_chart
🌟 Pro+ — Generates an SPC control chart (X-bar/R for continuous measurements, or a p-chart for proportion-defective attribute data) and flags both out-of-limit points and run-pattern violations under the chosen rule set. Control limits are always computed from the data itself, never from specification limits. Args: params (SPCControlChartInput): token, client_id, data_type, subgroups OR (defective_counts + subgroup_sizes), rule_set Returns: str: JSON with center_line, control limits, out_of_limits_indices, run_pattern_violation_indices, in_control, rule_set_app…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_spc_capability
🌟 Pro+ — Computes Cp/Cpk (within-subgroup sigma, process potential) and Pp/Ppk (overall sigma, actual long-term performance) from subgroup measurement data, with the two sigma estimators carried through independently rather than one reused for both. At least one of usl/lsl is required. Internally re-checks whether the process is in statistical control and flags (never silently hides) a capability read taken against an unstable process -- this is a documented analysis, not a capability certification. Args: params (SPCCapabilityInput): token, client_id, subgroups, usl, lsl Returns:…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_8d_case_start
🌟 Pro+ — Opens an 8D case (D1 team, D2 problem statement) or, given an existing case_id, updates it -- D3 (containment), D7 (prevention), and D8 (closure) are logged directly on the case this way rather than through separate tools, per the 8D discipline map. D4 and D5/D6 have their own tools (rca_8d_root_cause_analyze, rca_8d_corrective_action_track) since those involve real analysis, not just logging a field. Args: params (EightDCaseStartInput): token, client_id, case_id (omit to create), team, problem_what/when/where/who/why/how/how_much, containment_action, preven…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_8d_root_cause_analyze
🌟 Pro+ — D4: runs fishbone, FMEA, or Bayesian-network analysis scoped to an existing 8D case, reusing the existing causal engines rather than new math. The fishbone path pre-loads the case's problem statement as the effect and auto-seeds all 6M categories; FMEA and Bayesian-network need their own structured input (failure_modes, or data+target) since neither can be derived from a bare problem description. Writes the result onto the case's D4 field. Args: params (EightDRootCauseAnalyzeInput): token, client_id, case_id, method, and the method's own fields (causes / failure_mod…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_8d_corrective_action_track
🌟 Pro+ — D6/D7: logs a corrective action (D5) against an existing case, then uses change-point detection on the full timeline to confirm it actually shifted the tracked metric -- "time passed and nothing bad happened since" is not validation. Finds the segment boundary nearest the action's timestamp and compares the segment means on either side. Appends the result to the case's D5/D6 log. Args: params (EightDCorrectiveActionTrackInput): token, client_id, case_id, action_description, action_timestamp, series, timestamps, penalty Returns: str: JSON with evaluation…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_oee_calculate
🌟 Pro+ — Availability x Performance x Quality from equipment runtime logs. Also reports which of the three factors came in lowest and which of the six-big-losses categories are relevant to it -- feed that factor into rca_oee_loss_rca for causal analysis. Args: params (OEECalculateInput): token, client_id, planned_production_time, run_time, ideal_cycle_time, total_count, good_count Returns: str: JSON with availability, performance, quality, oee, lowest_factor, relevant_loss_categories, or a bad_input error
| Parameter | Type | Description |
|---|---|---|
params * |
rca_oee_loss_rca
🌟 Pro+ — Causal RCA on the "six big losses" OEE taxonomy, scoped to whichever OEE factor came in lowest -- analyzes just that factor's own 2 loss categories, not all six at once. Reuses the existing fishbone or Bayesian-network engine. Args: params (OEELossRCAInput): token, client_id, lowest_factor, method, and the method's own fields (causes / data+target+dag_edges) Returns: str: JSON RCAResult (root_causes, confidence_overall, explanation), or a bad_input error
| Parameter | Type | Description |
|---|---|---|
params * |
rca_structural_investigate
🌟 Pro+ — Runs a causal RCA engine (fault tree, fishbone, or Bayesian network) against a structural failure, then traces every returned root cause back to the specific `evidence` items that support it -- ASCE's Guidelines for Failure Investigation treat an opinion that can't be traced to specific evidence as indefensible by definition, so this tool enforces that structurally rather than leaving it to the caller's narrative. The fishbone path auto-seeds its categories from `evidence` when `causes` is omitted. Args: params (StructuralInvestigateInput): token, client_id, failure…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_defect_classify
🌟 Pro+ — Walks a fixed 4-question decision tree (Design / Construction / Materials / Maintenance -- the standard categories for a defect's origin) and returns the flagged category plus the full reasoning path. Any answer left "unknown" falls back the same way a 'no' would. No category flagged by any answer returns a "needs further investigation" result rather than forcing a guess. Args: params (DefectClassifyInput): token, client_id, loading_matches_design, work_matches_approved_specs, material_matches_certification, maintenance_and_inspections_current Retur…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_safety_incident_investigate
🌟 Pro+ — Causal RCA on a workplace safety incident, scoped to one of OSHA's construction "Fatal Four" hazard categories (falls, struck-by, caught-in/between, electrocution) via a dedicated "safety" category framework, or a fault tree when the failure logic is already known. `witness_statements` is accepted as direct input only -- it is not written to any persisted case, since the retention/redaction policy for that kind of data is a separate, still-open decision. Args: params (SafetyIncidentInvestigateInput): token, client_id, hazard_category, site_conditions, witness_statem…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_delay_schedule_ingest
🌟 Enterprise — Parses a CPM schedule export, validates it as a proper DAG (rejecting cycles, flagging open ends and dangling activities -- the single most common defect in real-world schedules per forensic scheduling literature, and rejecting any predecessor id that doesn't resolve to a real activity rather than letting it corrupt the computation silently), and runs the forward/backward pass once up front so the 3 other delay-analysis tools (rca_delay_as_planned_vs_as_built, rca_delay_time_impact_analysis, rca_delay_windows_analysis) all start from the same known-good baseline critical p…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_delay_as_planned_vs_as_built
🌟 Enterprise — The activity-by-activity comparison (planned dates vs. actual dates, logic changes, critical-path drift) the real SCL Protocol delay methods are built on top of -- not one of SCL's six named methods itself, but the cheapest and most foundational to compute, against the schedule's ingested baseline. Args: params (AsPlannedVsAsBuiltInput): token, client_id, schedule_id, as_built_activities Returns: str: JSON with per-activity planned-vs-actual variance, logic changes, and which activities had logic changes, plus a disclaimer, or a bad_inpu…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_delay_time_impact_analysis
🌟 Enterprise — SCL Protocol's Time Impact Analysis -- the method both SCL and AACE treat as the default where contemporaneous schedule updates exist. Inserts the delay event, modeled as a fragnet, into the schedule's ingested baseline and reports how far the completion date and critical path moved. Args: params (TimeImpactAnalysisInput): token, client_id, schedule_id, delay_event_name, fragnet_activities, responsible_party_tag Returns: str: JSON with completion dates before/after, delay_days, critical path before/after, and a disclaimer, or a bad_input…
| Parameter | Type | Description |
|---|---|---|
params * |
rca_delay_windows_analysis
🌟 Enterprise — SCL Protocol's Windows Analysis -- splits the project into successive windows bounded by actual schedule updates (never arbitrary calendar periods) and recomputes the critical path independently inside each window, since the critical path is allowed to move between windows and a single whole-project calculation can't capture that movement. Args: params (WindowsAnalysisInput): token, client_id, schedule_id, mode, windows Returns: str: JSON with baseline_project_duration and a per-window result (critical path, float/critical-path drift, or as-built…
| Parameter | Type | Description |
|---|---|---|
params * |