Skip to main content
Glama

bms__ReinstallBaremetalServerOs

Reinstalls the operating system on a Huawei Cloud bare metal server while preserving data disks, using the original image for the system disk and supporting password or SSH key injection.

Instructions

[BMS] 重装裸金属服务器的操作系统。快速发放裸金属服务器支持裸金属服务器数据盘不变的情况下,使用原镜像重装系统盘。重装操作系统支持密码或者密钥注入

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-reinstall": "<os-reinstall>",
      "project_id": "<project_id>",
      "server_id": "<server_id>"
    },
    "name": "bms__ReinstallBaremetalServerOs"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idYes裸金属服务器ID
project_idYes项目ID
os-reinstallYes标记为重装裸金属服务器操作

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It discloses that the system disk is reinstalled, data disks remain unchanged for quick-provisioned servers, and password/key injection is supported, but it omits critical mutation details such as irreversibility, required server state, downtime, permissions, and asynchronous behavior.

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 description is three concise sentences and front-loads the core purpose before operational details. There is no significant waste, though it could be slightly better structured by separating purpose, behavior, and usage guidance.

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?

For a destructive OS reinstall with nested parameters and no output schema, the description is adequate but incomplete. It covers the basic action and some data-disk/password behavior, but lacks prerequisites, impact warnings, and execution details that would fully prepare an agent to invoke it safely.

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 fully documents all parameters including the nested os-reinstall object. The description only adds a high-level mention of password or key injection and does not add syntax or constraints beyond what the schema provides.

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 and resource: reinstall the operating system of a bare metal server, and adds scope about quick-provisioned servers using the original image. It is clear what the tool does, but it does not explicitly distinguish itself from the sibling ChangeBaremetalServerOs, so it falls short of a 5.

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

Usage Guidelines3/5

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

It provides contextual usage information: quick-provisioned BMS can reinstall the system disk while keeping data disks unchanged, and supports password or key injection. However, it gives no explicit when-to-use guidance versus ChangeBaremetalServerOs or other alternatives, and no prerequisites or exclusions.

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