Skip to main content
Glama
dave1362

RCA-MCP Connector

rca_graph_delete

Destructive

Permanently remove an entire causal graph after explicit confirmation. Irreversible action deletes the whole graph record, so use it only for complete removal.

Instructions

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

Returns: str: JSON {deleted: graph_id}, 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 / GraphDeleteInput / properties / client_id / description
      Added value: +"Client namespace ID"
    • addedInput schema / $defs / GraphDeleteInput / properties / token / description
      Added value: +"API key to authenticate this request"
  2. First observedv4.1.13

TDQS

A4.9/5.0
Behavior5/5

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

The description goes well beyond the destructiveHint annotation by stating the action is IRREVERSIBLE, that versioning/restore cannot rescue the record, that confirm=false aborts without deleting, and that a not_found error is returned for missing or other-user graphs. This is useful behavioral context the annotations alone cannot convey.

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

Conciseness5/5

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

The critical irreversibility warning is front-loaded, usage guidance follows, and the Args/Returns sections are clearly structured. The repetition of permanence is intentional emphasis rather than fluff.

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 destructive tool, the description covers prerequisites, alternatives, error behavior, return value, and ownership caveats. There is no missing information an agent would need to select and invoke it correctly.

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 description adds meaningful behavior to graph_id and especially confirm, including the abort-if-false outcome. It omits token and client_id, but the nested GraphDeleteInput schema already describes those unambiguously, so the gap is minor.

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: 'Delete a causal graph permanently.' It immediately distinguishes the tool from graph-editing siblings and from version restore, so an agent can tell exactly what this tool is for.

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 explicitly states when deletion is needed ('only need this to remove a graph entirely') and when it is not, naming rca_graph_add_node/remove_node/add_edge/remove_edge as alternatives for fixing a graph. It also gives the mandatory confirm precondition.

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