Skip to main content
Glama

bms__ChangeBaremetalServerOs

Change the operating system of a Huawei Cloud bare metal server, with password or SSH key injection for the new OS.

Instructions

[BMS] 切换裸金属服务器的操作系统。切换操作系统支持密码或者密钥注入,该接口支持企业项目细粒度权限的校验,具体细粒度请参见 bms:servers:changeOS

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": {
      "os-change": "<os-change>",
      "project_id": "<project_id>",
      "server_id": "<server_id>"
    },
    "name": "bms__ChangeBaremetalServerOs"
  }
}

Input Schema

NameRequiredDescriptionDefault
os-changeYes标记为切换裸金属服务器OS操作。详情请参见表 os-change字段数据结构说明。
server_idYes裸金属服务器ID
project_idYes项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/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 usefully discloses that authentication material can be injected either by password or by key, and that a fine-grained permission (bms:servers:changeOS) is enforced — real behavioral context. It omits the more consequential traits of an OS-change operation: destructive effect on the system disk, whether the server must be stopped first, and whether the action can be rolled back.

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 compact sentences that lead with the core action and then add the injection-mode and permission facts. The permission-pointer sentence is somewhat boilerplate, but nothing is redundant enough to obscure the main point.

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

Completeness3/5

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

The rich nested schema covers parameters well and there is no output schema to explain, but the definition still leaves out operational context an agent needs before invoking a destructive OS swap — server state requirements, data-disk preservation, and irreversibility. Adequate for correct parameterization, insufficient for safe invocation.

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 the nested os-change object is documented field by field, including the adminpass/keyname/user_data mutual-exclusivity rules. The description adds no parameter-level syntax or format detail beyond what the schema already states, so the baseline 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 names a specific verb and resource combination — switching the OS of a bare metal server — which is unambiguous on its own. However, it does not distinguish itself from the closely related sibling bms__ReinstallBaremetalServerOs or from the ecs__ChangeServerOs* variants, so an agent must infer the difference from the tool names alone.

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 instead of reinstalling the OS, nor any stated prerequisites such as required server power state, whether data disks are preserved, or whether the action is irreversible. The mention of password vs. key injection and the permission reference describe capabilities, not usage conditions.

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