Skip to main content
Glama

mrs__DeleteCluster

Deletes an MRS cluster when data processing is complete or the cluster is unavailable. Supports Sahara-compatible deletion requests.

Instructions

[MRS] 数据完成处理分析后或者集群运行异常无法提供服务时可删除集群服务。该接口兼容Sahara。

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": "mrs__DeleteCluster"
  }
}

Input Schema

NameRequiredDescriptionDefault
cluster_idYes集群ID。获取方法,请参见[获取集群ID](https://support.huaweicloud.com/api-mrs/mrs_02_9001.html)。
project_idYes项目编号。获取方法,请参见[获取项目ID](https://support.huaweicloud.com/api-mrs/mrs_02_0011.html)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description must carry the full burden of behavioral disclosure, and it barely does. For a destructive delete it never states that the operation is irreversible, that cluster data is lost or what happens to jobs, that permissions are required, or whether deletion is asynchronous or eventual. It also does not warn about what happens to a non-existent or already-deleting cluster.

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 guidance is front-loaded in one compact sentence, with a short note on Sahara compatibility, and there is no filler. The compatibility note is marginally useful context rather than noise.

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

Completeness2/5

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

This is a destructive deletion with no annotations and no output schema, yet the description says nothing about safety, irreversibility, consequences for dependent resources or the expected response or polling behavior. An agent deciding whether to call this has important unknowns left unresolved.

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% and both parameters, cluster_id and project_id, are documented in the schema with example formats and links to retrieval instructions. The description adds no additional meaning about either parameter, so the baseline of 3 applies.

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 (delete) and resource (cluster service) and pairs it with concrete situations that motivate deletion: data processing finished, or the cluster is unhealthy and cannot serve. It does not name a sibling such as ShrinkCluster, so the agent must infer that this deletes the whole cluster rather than only scaling it down; however, the operation itself is unambiguous.

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?

It gives two explicit conditions for use, namely finishing data analysis and a cluster that is abnormal and unable to provide service, which is real when-to-use guidance rather than a tautology. It stops short of saying when not to use it, such as during an active job or when resizing would suffice, and it names no alternative 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