Skip to main content
Glama

cbh__ChangeInstanceType

Change the instance type of a single-node CBH bastion host. Specify the project, server ID, and optional availability zone or auto-pay settings.

Instructions

[CBH] 修改单机堡垒机实例类型。

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": "cbh__ChangeInstanceType"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idYes实例id
project_idYes项目ID。
is_auto_payNo是否自动支付,下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。
availability_zoneNo可用分区名称。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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 burden, and it discloses almost nothing beyond the fact of mutation. It says nothing about whether the change requires a new order or payment (the schema's is_auto_pay suggests billing consequences), whether the instance is stopped or restarted, downtime duration, or reversibility.

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?

It is a single, short sentence with no filler and the resource is front-loaded. What it lacks is detail, not conciseness: nothing in the sentence is wasted, but it is under-specified for a mutation tool.

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?

For a mutating, potentially billable operation with no annotations and no output schema, the description should explain cost/payment implications, service interruption, and the effect on the running instance. None of that is present, so the agent cannot safely predict the outcome of calling it.

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, is_auto_pay, and availability_zone each documented, so the baseline is 3. The description adds no extra meaning to any parameter, such as how availability_zone interacts with a type change or what is_auto_pay triggers.

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

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a verb ('修改') and a resource ('单机堡垒机实例类型'), so the agent knows it changes an instance's type rather than its network or EIP. However, it never distinguishes this from sibling tools with similar intent, such as cbh__ResizeInstance, cbh__UpgradeInstance, or cbh__UpgradeCbhInstance, leaving the agent to guess which one to call.

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 this tool is appropriate versus the many neighboring mutation tools (ResizeInstance, UpgradeInstance, ChangeInstanceOrder). No prerequisites, no exclusions, and no indication of when it should not be used.

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