Skip to main content
Glama

css__UpdateFlavor

Updates an Elasticsearch cluster's node flavor to resize ESS nodes within the same engine version, with optional auto-pay and replica validation.

Instructions

[CSS] 该接口用于变更集群规格。只支持变更ess节点类型。

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

Input Schema

NameRequiredDescriptionDefault
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.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It says the operation mutates cluster specs but does not disclose whether the cluster restarts, whether the change is reversible/downgradable, whether payment (isAutoPay, 包周期) must be arranged first, or what happens on failure — all critical for an irreversible-feeling mutation.

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?

Two short clauses, front-loaded with purpose followed by constraint; nothing is padded. It is efficient but its brevity is achieved partly by omitting information rather than by tight editing.

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?

For a 5-parameter mutation tool with no annotations and no output schema, the description is thin: it omits operational consequences, payment requirements, and how the result is reported. Combined with the undifferentiated sibling UpdateFlavorByType, an agent lacks enough context to invoke this confidently.

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 every parameter (cluster_id, newFlavorId, project_id, isAutoPay, needCheckReplica) is already documented in the schema. The description adds no syntax, format, or semantic detail beyond it, 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?

States a specific verb+resource ('变更集群规格' = change cluster flavor) and adds a scoping constraint ('只支持变更ess节点类型'). However, it never distinguishes itself from the near-identical sibling css__UpdateFlavorByType, so an agent cannot tell from the description alone which of the two applies.

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

Usage Guidelines2/5

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

The only usage-relevant content is the constraint that only ess node types can be changed; there is no statement of prerequisites, no when-not-to-use, and no reference to alternatives such as UpdateFlavorByType or UpdateExtendCluster. The agent must infer the selection rule from tool names alone.

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