Skip to main content
Glama

cdm__DeleteCluster

Delete a Huawei Cloud CDM cluster by cluster ID, with an option to retain the last manual backup.

Instructions

[CDM] 删除集群接口。

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": {
      "cluster_id": "<cluster_id>",
      "keep_last_manual_backup": "<keep_last_manual_backup>",
      "project_id": "<project_id>"
    },
    "name": "cdm__DeleteCluster"
  }
}

Input Schema

NameRequiredDescriptionDefault
cluster_idYes集群ID
project_idYes项目ID
keep_last_manual_backupYes日志备份数,填写为默认填0即可。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior1/5

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

No annotations are provided, so the description must carry the full burden of behavioral disclosure, and it discloses nothing. For a destructive, irreversible delete operation, it does not say whether data or backups are destroyed, whether keep_last_manual_backup preserves anything, whether the cluster must be stopped first, or whether the call is asynchronous.

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

Conciseness2/5

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

It is short, but that brevity comes from omitting information rather than from being efficient. The only content is a redundant tag prefix and a restatement of the tool name, and none of the limited space is used to front-load information that matters for a destructive operation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a destructive tool with three required parameters, no annotations and no output schema, and the description explains none of what that complexity requires: no irreversibility warning, no permission or project-scoping notes, no success or failure behavior. The agent would have to infer everything from the name.

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

Parameters3/5

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

Schema coverage is 100%: cluster_id, project_id and keep_last_manual_backup are all documented in the schema, so the schema already handles parameter meaning. The description adds no extra semantics, but the baseline for high schema coverage with no added parameter details is 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says only "[CDM] 删除集群接口" (CDM delete-cluster interface), which just repeats the tool name and adds no scope, no target resource type, and no way to tell it apart from the sibling delete tools (cdm__DeleteJob, cdm__DeleteLink, css__DeleteCluster and so on). It names a deletion target, but an agent learns nothing beyond what the name DeleteCluster already says.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The definition gives no guidance on when to use it, when not to use it, what prerequisites it requires (project or cluster state), or which siblings to use instead, for example ModifyCluster or ShowClusterDetail before deletion. Nothing in the text routes the agent to or away from this tool.

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