Skip to main content
Glama
RCA-MCP Connector

RCA-MCP Connector

rca_graph_create

Create a new empty causal DAG for root cause analysis, then populate it with nodes and edges or infer the graph from observational data.

Instructions

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): - token/client_id: standard auth fields - name: graph display name, 1-128 chars, for your own reference only -- not required to be unique - description: optional free-text notes on this graph's purpose, up to 512 chars

Returns: str: JSON {graph_id, name, message}

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

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv4.1.15
    • addedInput schema / $defs / GraphCreateInput / properties / client_id / description
      Added value: +"Client namespace ID"
  2. Changed1 schema field changedv4.1.14
    • addedInput schema / $defs / GraphCreateInput / properties / description / description
      Added value: +"Optional free-text notes on this graph's purpose"
  3. First observedv4.1.13

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the safety profile is covered. The description adds non-structured context: the graph is created empty with no inferred structure, it must be populated in a follow-up step, the name need not be unique, and the return payload is JSON with graph_id/name/message. It stops short of noting idempotency or that duplicate names may create indistinguishable graphs beyond the uniqueness remark.

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 with the core action and the two routing sentences, then a clean Args/Returns block. Minor duplication with the schema on the 1-128 / 512 char bounds, but every section is short and useful.

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 create tool in a large graph-analysis family, it covers what is created, what is not, how to continue, when to pick the discovery alternative, and the shape of the response. Since an output schema exists, no further return-value detail is needed.

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

Parameters4/5

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

Schema description coverage is reported as 0%, so the description carries the burden and mostly does: it explains name length bounds and that uniqueness is not required, that description is optional free-text notes up to 512 chars, and that token/client_id are standard auth fields. Only client_id's namespace semantics are left thin ("standard auth fields" does not explain what a client namespace scopes).

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?

"Create a new, empty causal DAG" states a specific verb (create) and resource (causal DAG) plus the crucial scope qualifier "empty." It names the sibling tools it complements (rca_graph_add_node, rca_graph_add_edge) and the alternative (rca_graph_discover), so an agent can place it in the 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?

Gives an explicit post-creation path (populate via add_node/add_edge) and an explicit alternative with its selecting condition: use rca_graph_discover "if you have observational data and want the graph inferred rather than hand-built." Both the when-to-use and the when-to-use-something-else are stated.

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