Skip to main content
Glama

bms__ResetPwdOneClick

Resets the password for a bare metal server's management account (root or Administrator) when one-click reset is supported, helping restore server access.

Instructions

[BMS] 在裸金属服务器支持一键重置密码功能的前提下,重置裸金属服务器管理帐号(root用户或Administrator用户)的密码。可以通过6.10.1-查询是否支持一键重置密码API查询是否支持一键重置密码。

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>",
      "reset-password": "<reset-password>",
      "server_id": "<server_id>"
    },
    "name": "bms__ResetPwdOneClick"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idYes裸金属服务器ID。可以从裸金属服务器控制台查询,或者通过调用7.3.4-查询裸金属服务器列表(OpenStack原生)API获取。
project_idYes项目ID。获取方式请参见获取项目ID。
reset-passwordYesreset-password信息详情。请参见表 reset-password字段结构说明。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/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 behavioral burden. It discloses the support precondition, but says nothing about required permissions, whether the server must be in a particular state, whether a reboot is needed for the new password to take effect, or that the previous credential is irreversibly replaced — all critical for an unannotated credential-mutating call.

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 precondition front-loaded before the action and the verification pointer trailing. The '6.10.1-查询是否支持一键重置密码API' reference is somewhat document-index noise but is a useful pointer, and nothing is repeated.

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 three-parameter mutation tool with a nested object, the schema does heavy lifting on the password rules, and the description covers scope and the support precondition. However, with no annotations and no output schema, an agent still cannot tell whether a restart is required, what permissions are needed, or what the call returns.

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%, with server_id, project_id and the nested reset-password.new_password all documented in detail, including password complexity rules. The description adds no meaning beyond that schema, 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: resetting the management-account password (root or Administrator) of a bare metal server, scoped by the one-click-reset precondition. It is clearly distinguishable from other bms__ password tools such as DeleteWindowsBareMetalServerPassword, but it never names the sibling tool (e.g. ShowResetPwd) that performs the support check, referring instead to an external API section number.

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

Usage Guidelines4/5

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

It states an explicit precondition: the server must support one-click password reset, and directs the caller to first query support status via a separate API. What is missing is an explicit negative case (what to do if unsupported) or a named alternative tool for that check, so the routing is implied rather than spelled out.

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