Skip to main content
Glama

css__DeleteCluster

Deletes a CSS cluster by cluster ID and project ID, releasing all associated resources including customer data; create a snapshot first if data must be retained.

Instructions

[CSS] 此接口用于删除集群。集群删除将释放此集群的所有资源,包括客户数据。如果需要保留客户集群数据,建议在删除集群前先创建快照。

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>",
      "project_id": "<project_id>"
    },
    "name": "css__DeleteCluster"
  }
}

Input Schema

NameRequiredDescriptionDefault
cluster_idYes指定删除集群ID。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations present, the description has to carry the full behavioral burden, and it handles the most important point: deletion releases all resources for the cluster, including customer data. This is exactly the destructive context an agent needs before calling it. It does not mention permissions, idempotency, or whether deletion is immediate, which keeps it below a perfect score.

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?

Three short sentences, with the core action stated first, the destructive consequence second, and the data-retention mitigation last. No sentence is redundant or off-topic.

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

Completeness4/5

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

The tool is simple: two required path parameters, no output schema, and no annotations. The description covers purpose, destructiveness, and a mitigation step, which is nearly everything an agent needs. The only gaps are the irreversibility and permission requirements, which are minor for a two-parameter delete endpoint.

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 description coverage is 100%, so both cluster_id and project_id already have inline documentation, including a pointer to how project IDs are obtained. The description adds nothing about the parameters beyond what the schema states, which is the expected baseline when the schema does the work.

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

Purpose4/5

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

The description states a specific verb and resource (delete cluster) in its opening clause, so its function is unambiguous. It does not differentiate itself from sibling delete operations (e.g., dws__DeleteCluster, mrs__DeleteCluster, css__DeleteSnapshot), but the CSS namespace prefix and the deletion semantics make its intent clear enough.

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

Usage Guidelines3/5

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

It provides a useful condition for use: create a snapshot first if customer cluster data must be retained. That is a real precondition rather than filler. However, it does not say when this tool should be chosen over alternatives such as snapshot creation plus other cleanup flows, nor whether the operation can be undone, so the guidance is implied rather than explicit.

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