Skip to main content
Glama
sjk4425

ncloud-mcp-server

by sjk4425

ncloud_serverless_delete_cluster

DestructiveIdempotent

Delete a Cloud DB Serverless cluster. Set confirm=true to execute; use cascading=true to also remove the cluster's users and databases.

Instructions

⚠️ Destructive: Delete a Cloud DB Serverless cluster (DELETE /mysql/v1/clusters/{clusterName} → 202 Operation). With cascading=false (default) the call fails with 409 while users/databases remain; cascading=true deletes them too. 409 ResourceInUse while a restore is running. Set confirm=true to execute.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNoMust be true to actually execute the destructive operation
cascadingNotrue = also delete the cluster's users and databases (default false)
clusterNameYesCluster name (3-30 chars, lowercase letters/digits/'-', no leading or trailing '-'; immutable after creation)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.16.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, the description discloses the destructive consequence, the confirmation guard, the cascading deletion semantics, the default behavior, and the specific 409 failure scenarios. This is far richer behavioral context than the annotation alone provides.

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 compact, front-loads the destructive warning, and packs essential operational details into three sentences with no filler. Every sentence adds meaningful information.

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 with no output schema, the description covers the confirmation requirement, cascading behavior, error conditions, and async operation result (202). An agent has enough context to call the tool correctly and anticipate consequences.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although the schema already documents all three parameters with 100% coverage, the description adds crucial semantics not in the schema: cascading=false causes 409 while users/databases remain, cascading=true deletes them, and confirm must be true to execute. These details materially change how an agent should set the parameters.

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 clearly states the action ('Delete a Cloud DB Serverless cluster'), identifies the exact API endpoint, and names the resource type. It is unambiguous and distinct from sibling deletion tools by specifying the Cloud DB Serverless cluster context.

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 explains key operational usage details: cascading behavior, the default value, the required confirm=true to execute, and the 409 error when users/databases remain or when a restore is running. It does not explicitly name alternatives or state 'use this instead of X,' but the resource and behavior are specific enough to guide correct invocation.

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