Skip to main content
Glama

css__UpdateFlavorByType

Updates the node specifications for a specified node type in a Huawei Cloud CSS cluster by applying a new flavor ID.

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>",
      "newFlavorId": "<newFlavorId>",
      "project_id": "<project_id>",
      "types": "<types>"
    },
    "name": "css__UpdateFlavorByType"
  }
}

Input Schema

NameRequiredDescriptionDefault
typesYes指定待更改的集群节点类型。
isAutoPayNo是否自动支付。下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。该参数适用于包周期集群。
cluster_idYes指定待更改规格的集群ID。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。
newFlavorIdYes变更后节点规格ID。 该参数通过[获取实例规格列表](ListFlavors.xml)接口获取,根据name属性所需要的规格,选择对应的flavor_id。 仅支持同一个Esasticsearch引擎版本下的节点规格变更。
needCheckReplicaNo是否需要检查副本,取值范围为true或false。默认开启校验。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden for a mutation tool. It says nothing about required permissions, the billing impact implied by isAutoPay and 包周期集群, the replica-check behavior, or whether the change is reversible or service-disrupting.

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 the single sentence is truncated mid-thought: "支持修改:" promises an enumeration that never arrives. The dangling clause takes up space without delivering information, leaving the definition looking broken rather than concise.

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 six-parameter mutating operation with no annotations and no output schema, so the description should compensate. Instead it omits the constraints that matter most for safe invocation, such as engine-version compatibility and payment handling, and it never explains what a successful change returns.

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 all six parameters, including types, newFlavorId, isAutoPay and needCheckReplica, are already documented in the schema. The description adds nothing beyond that, and its trailing colon suggests a field list that was never written. Baseline 3 applies when the schema does the heavy lifting.

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

Purpose3/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 ("修改集群规格" / modify cluster flavor), so the broad intent is inferable. However, it ends on a dangling colon after "支持修改:" without ever listing what can be modified, and it gives no hint of how this differs from the sibling css__UpdateFlavor, which sounds like the same operation.

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?

There is no when-to-use guidance, no when-not-to-use guidance, and no named alternative. The agent is left to guess whether css__UpdateFlavor or css__UpdateExtendInstanceStorage is the right sibling for a given change request.

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