Skip to main content
Glama
dave1362

RCA-MCP Connector

rca_graph_get

Read-onlyIdempotent

Retrieve a causal graph's current state as JSON, Graphviz DOT, or adjacency mapping for programmatic inspection or visual rendering.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv4.1.15
    • addedInput schema / $defs / GraphGetInput / properties / client_id / description
      Added value: +"Client namespace ID"
    • addedInput schema / $defs / GraphGetInput / properties / token / description
      Added value: +"API key to authenticate this request"
  2. First observedv4.1.13

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the description only needs to add context beyond that. It usefully discloses the not_found error condition for nonexistent graphs or graphs belonging to another user, and it specifies the return type as a string in the requested format. This is consistent with the annotations and adds meaningful behavioral detail.

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?

The description is well-organized: a one-sentence purpose, a format-guidance line, an Args block, and a Returns block. It is front-loaded and free of filler. The format list slightly overlaps with the schema enum, but the added semantic explanations justify the repetition.

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 simple read-only retrieval tool, this description is largely complete: it states the resource, the available formats, and the error behavior. It does not mention token or client_id in the Args list, but the schema provides those details and annotations cover the safety profile, so the agent has enough information to select and invoke the tool correctly.

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 explains graph_id and adds meaningful semantics to the format values ('full node/edge detail', 'Graphviz source', 'simple mapping'). However, it omits the required token parameter and the client_id namespace parameter, and context signals indicate 0% schema description coverage, so the description does not fully compensate for the missing parameter documentation.

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?

The description opens with a specific verb and resource: 'Retrieve a causal graph's current state.' It also distinguishes among three output formats (json, dot, adjacency), making the tool's purpose concrete and differentiable from sibling tools like rca_graph_create, rca_graph_delete, and rca_graph_list_versions.

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?

The description gives clear format-selection guidance: use 'json' for programmatic inspection, 'dot' for Graphviz rendering, and 'adjacency' for a simple source->targets mapping. It does not explicitly contrast this tool with an alternative, but the retrieval intent is clear enough for an agent to select it over mutation or versioning siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.