Skip to main content
Glama

bms__ShowWindowsBaremetalServerPwd

Retrieves the initial random Administrator password generated for a Windows bare metal server; ensure Cloudbase-init is installed for private images (public images include it).

Instructions

[BMS] 获取Windows裸金属服务器初始安装时系统生成的管理员帐户(Administrator帐户或Cloudbase-init设置的帐户)随机密码。如果裸金属服务器是通过私有镜像创建的,请确保已安装Cloudbase-init。公共镜像默认已安装该软件

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

Input Schema

NameRequiredDescriptionDefault
server_idYes裸金属服务器ID
project_idYes项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.7/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 full behavioral burden. It usefully discloses that the password is system-generated at initial install and that private images require Cloudbase-init, but it does not state that this is a sensitive read operation, its permission requirements, whether the value is retrievable repeatedly, or what error occurs if Cloudbase-init is absent.

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 sentences, with the resource and scope stated first and the conditional prerequisite second. The text is dense but there is little waste.

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

Completeness4/5

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

There is no output schema, so the return value (the password) should be explained, and it is: the password is a random password generated by the system. The description also supplies the key prerequisite for private images. What is missing is the credential-sensitivity and permission context expected of a password-retrieval tool.

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% (server_id and project_id are both documented), so the baseline is 3. The description adds no further meaning about what these identifiers refer to.

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

Purpose5/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: retrieving the system-generated random administrator password from the initial install of a Windows bare metal server, and clarifies it covers the Administrator account or the account configured by Cloudbase-init. This is clearly distinguishable from the Delete, Reset and ShowResetPwd siblings.

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?

The usage context is implied: this is for obtaining the initial password, and a prerequisite is given for private images. However, it never says when to prefer this over bms__ShowResetPwd or bms__ResetPwdOneClick, nor what to do if the server is not Windows or was created without Cloudbase-init.

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