Skip to main content
Glama
RCA-MCP Connector

RCA-MCP Connector

rca_dtree_delete_session

Destructive

Permanently delete an owned equipment diagnostic session after confirmation; use it to remove resolved or unresolved sessions irreversibly.

Instructions

Permanently delete an equipment diagnostic session started via rca_dtree_start, resolved or not. Requires confirm=true. This action is IRREVERSIBLE -- if you want a record of a resolved session's outcome first, call rca_guide_generate_report before deleting it.

Only affects a session you own -- there is no cross-account delete capability exposed via this or any other tool. Requires Starter+, matching every other session-history tool in this group.

Args: params (DTreeDeleteSessionInput): - token/client_id: standard auth fields - session_id: the session to delete, from rca_dtree_start/rca_dtree_list_sessions - confirm: must be true, or this returns an "aborted" error without deleting anything

Returns: str: JSON {deleted: session_id}, or a not_found error if the session doesn't exist or belongs to another user

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

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.4.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, but the description adds materially: IRREVERSIBLE, the 'aborted' error when confirm is not true (nothing deleted), ownership scoping, the Starter+ plan requirement, and the not_found case for missing or foreign sessions. These are exactly the failure modes an agent needs before invoking a destructive tool.

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 irreversibility warning and the confirm requirement are front-loaded before any housekeeping. Some space is spent restating the schema in the Args/Returns blocks, and the Returns section duplicates the existing output schema, but the structural grouping makes the critical safety content easy to find.

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 single-parameter tool, the definition covers irreversibility, auth and plan prerequisites, ownership limits, the confirm gate and its exact failure behavior, plus the not_found outcome. Nothing an agent needs to invoke it safely 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 block adds meaning beyond the schema: it identifies the provenance of session_id (from rca_dtree_start or rca_dtree_list_sessions) and specifies confirm's behavioral consequence rather than just 'must be true to delete'. token/client_id are only labeled 'standard auth fields', which adds little given the schema already describes them, but the two consequential parameters are well covered.

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?

Opens with a specific verb+resource ('Permanently delete an equipment diagnostic session') and scopes it by provenance ('started via rca_dtree_start, resolved or not'), which separates it cleanly from list/start/answer siblings. An agent can identify the target object without opening the 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 precondition (requires confirm=true) and a concrete alternative path with its trigger condition: call rca_guide_generate_report first if you want a record of a resolved session's outcome. It also states the boundary that no cross-account delete exists via this or any other tool, so the agent knows not to search for one.

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