Skip to main content
Glama

css__UpdateAzByInstanceType

Switches the availability zone for a specified node type in a Huawei Cloud CSS cluster, using source and target AZs, migration type, and an optional index backup check.

Instructions

[CSS] 该接口通过指定节点类型切换AZ。

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": {
      "agency": "<agency>",
      "cluster_id": "<cluster_id>",
      "inst_type": "<inst_type>",
      "migrate_type": "<migrate_type>",
      "project_id": "<project_id>",
      "source_az": "<source_az>",
      "target_az": "<target_az>"
    },
    "name": "css__UpdateAzByInstanceType"
  }
}

Input Schema

NameRequiredDescriptionDefault
agencyYes委托名称,委托给CSS,允许CSS调用您的其他云服务。
inst_typeYes待切换AZ的节点类型。支持:
source_azYes节点当前所在AZ。
target_azYes期望节点最终分布AZ。
cluster_idYes待切换AZ的集群ID。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。
migrate_typeYesAZ迁移方式:
indices_backup_checkNo是否进行全量索引快照备份检测。

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 does not disclose that this is a mutating, potentially disruptive operation (migrating node AZ distribution), whether it is reversible, whether it causes restarts or downtime, or what the agency/index-backup-check prerequisites mean operationally. Only the bare action is stated.

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?

A single waste-free sentence with the action front-loaded after the [CSS] tag. Nothing is redundant, though the brevity borders on under-specification for an eight-parameter invasive operation.

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?

With eight parameters (seven required), no annotations, and no output schema, this is a complex, state-changing operation. The description offers only one sentence and omits prerequisites, danger of data loss, expected duration, and return behavior, so it is not complete enough for an agent to invoke it 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 the schema already documents every parameter, including the inst_type enum and source/target AZ. The description only echoes the inst_type concept ('node type') and adds no semantics such as target_az accepting comma-separated values. 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.

Purpose4/5

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

The description gives a specific verb and resource: switch AZ by specifying node type ('通过指定节点类型切换AZ'). An agent knows it is an AZ-migration operation on a CSS cluster's node types. It does not differentiate from siblings such as css__UpdateInstance or css__UpdateFlavorByType, which is why the score is not 5.

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?

There is no guidance on when to use this tool versus alternatives, no prerequisite conditions (such as requiring an agency delegation), and no exclusions. The one sentence only restates the action, leaving the agent to infer usage from the schema 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