Skip to main content
Glama
dave1362

RCA-MCP Connector

rca_model_delete

Destructive

Permanently delete a model from the registry and storage to stop new analyses, requiring confirmation. Existing results remain retrievable, but the action is irreversible.

Instructions

Permanently delete a model from the registry and storage. Requires confirm=true. This action is IRREVERSIBLE -- any results already produced by this model (via rca_analysis_run etc.) are unaffected and stay retrievable via rca_analysis_get_result, but you can no longer run new analyses with this model_id.

Use rca_model_update_status to mark a model "deprecated" instead if you just want to stop new usage while keeping it around for reference -- delete is for when you're certain you won't need the spec again.

Args: params (ModelDeleteInput): - model_id: the model to delete - confirm: must be true, or this returns an "aborted" error without deleting anything

Returns: str: JSON {deleted_model_id}, or a not_found error if the model 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 / ModelDeleteInput / properties / client_id / description
      Added value: +"Client namespace ID"
    • addedInput schema / $defs / ModelDeleteInput / properties / token / description
      Added value: +"API key to authenticate this request"
  2. Changed2 schema fields changedv4.1.14
    • changedInput schema / $defs / ModelDeleteInput / properties / confirm / description
      Previous value: -"Must be true"New value: +"Must be true to proceed with the deletion"
    • addedInput schema / $defs / ModelDeleteInput / properties / model_id / description
      Added value: +"Model to permanently delete"
  3. First observedv4.1.13

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the destructiveHint=true annotation, the description discloses irreversibility, that existing results remain retrievable via rca_analysis_get_result, and that new analyses can no longer use this model_id. It also documents error behavior for confirm=false and for missing or non-owned models. This is exactly the operational context needed for 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.

Conciseness5/5

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

The description is well-organized into a warning, an alternative usage path, Args, and Returns. No sentence is wasted, and the critical irreversibility warning is front-loaded before the details.

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 deletion tool, the description covers prerequisites, postconditions, error cases, and return value. It also routes to the appropriate sibling for the non-destructive alternative, making it complete for correct invocation and decision-making.

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 adds useful plain-language meaning to model_id and confirm, including the 'aborted' error when confirm is not true. It omits explicit descriptions of token and client_id, but the nested schema already provides clear descriptions for those fields, so the description still adds meaningful value beyond the schema.

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: 'Permanently delete a model from the registry and storage.' It clearly distinguishes this tool from rca_model_update_status by explaining that delete is irreversible and for when you no longer need the spec. An agent can immediately tell what this tool does and how it differs from its siblings.

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?

The description explicitly states when to use this tool: 'delete is for when you're certain you won't need the spec again.' It also names the alternative, rca_model_update_status, for marking a model deprecated while keeping it available. It further specifies that confirm=true is required and explains the consequence for future analyses.

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