Skip to main content
Glama
RCA-MCP Connector

RCA-MCP Connector

rca_graph_list_versions

Read-onlyIdempotent

Lists all historical versions of a causal graph, showing timestamps and node/edge counts, so you can review changes and get version IDs to restore an earlier state.

Instructions

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): - token/client_id: standard auth fields - graph_id: the graph to list versions for -- must already exist and belong to you (check with rca_graph_get if unsure)

Returns: str: JSON {graph_id, total, versions: [{version_id, created_at, node_count, edge_count}, ...]}, newest first

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

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 / GraphListVersionsInput / properties / client_id / description
      Added value: +"Client namespace ID"
    • addedInput schema / $defs / GraphListVersionsInput / properties / token / description
      Added value: +"API key to authenticate this request"
  2. First observedv4.1.13

TDQS

A4.6/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavior that the annotations do not cover: versions are snapshotted automatically on every save, so there is no separate save-version step, and results are returned newest first. It says nothing about rate limits or large-history handling, but no such limit is implied.

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 definition is front-loaded with purpose, then the automatic-snapshot behavior, then the follow-up tool, followed by Args and Returns. Every sentence earns its place, though the Returns block largely duplicates the existing output schema and could be trimmed.

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 listing tool, the definition covers the prerequisite feature gate, the existence and ownership precondition, the ordering of results, and how the output feeds the restore tool. Because an output schema exists, the description does not need to explain return values in more detail, so nothing essential is missing.

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?

The Args section restates the auth fields and graph_id, but it also adds a constraint the schema does not express: graph_id must already exist and belong to the caller, and rca_graph_get can be used to verify it. That is real added meaning even though the schema already carries short per-parameter descriptions.

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: 'List all historical versions of a causal graph.' That phrasing is unambiguous and cannot be confused with the mutation siblings (rca_graph_restore_version, rca_graph_create) or with rca_graph_get, which reads the graph itself.

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?

It gives the prerequisite that the graph_versioning feature must be enabled (Starter+), points the agent to rca_graph_get when it needs to confirm that the graph exists, and names rca_graph_restore_version as the tool to use with the returned version_id values. The agent is told both when this tool applies and what the natural follow-up action is.

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