Skip to main content
Glama

cbh__ResetInstancePassword

Resets the web login password for the admin user of a Cloud Bastion Host instance, helping recover access or rotate credentials. Requires the instance ID, project ID, and a new password.

Instructions

[CBH] 重置云堡垒机实例web登录admin用户密码。

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

Input Schema

NameRequiredDescriptionDefault
server_idYes云堡垒机实例ID,使用UUID格式表示。
project_idYes项目ID。
new_passwordYesadmin用户修改后的新密码,8-32位,大写字母、小写字母、数字和特殊字符。

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 provided, so the description carries the full burden of behavioral disclosure, and it falls well short. It does not state that this is an irreversible mutation, whether existing admin sessions are invalidated, whether a restart or re-login is required afterward, or what permissions the caller needs. Only the bare action is disclosed.

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 short sentence with no filler, and the action is front-loaded. The '[CBH]' tag is a redundant prefix, which is the only inefficiency, so a 4 rather than a 5.

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?

This is a 3-required-parameter destructive mutation with no annotations and no output schema. The description says nothing about the effect of the reset on the admin account, the response, or failure modes. It is under-specified for the tool's complexity.

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 schema already documents server_id (UUID instance ID), project_id, and new_password with the 8-32 character complexity rule. The description adds no meaning beyond the schema, so the baseline of 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 states a specific verb and resource in '重置...admin用户密码' and narrows the scope to the cloud bastion host instance's web login admin account. This is clear enough to distinguish it from sibling tools such as cbh__RebootInstance or cbh__ChangeInstanceNetwork. It stops short of explicitly contrasting itself with the closely named cbh__ResetPassword, so a 4 rather than 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 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 the near-identical cbh__ResetPassword or cbh__ResetInstanceLoginMethod siblings. No prerequisites are stated (for example, whether the instance must be running, or whether the caller needs admin rights). The agent must infer the usage context entirely from the tool name.

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