Skip to main content
Glama

cbh__ResizeInstance

Changes the specifications of a Huawei Cloud Bastion Host (CBH) instance, including resource spec code, attached disk size, and optional auto-payment.

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__ResizeInstance"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idYes云堡垒机实例ID,使用UUID格式表示。
project_idYes项目ID。
is_auto_payNo是否自动支付,下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。
attach_disk_sizeNo附加磁盘大小。单位TB
new_resource_spec_codeNo待变更云堡垒机规格ID,例如:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior1/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, yet it discloses nothing about behavior. It does not state that this is a mutating/possibly disruptive operation, that it creates an order and may auto-charge the account (implied by is_auto_pay), whether the instance restarts or goes offline during the change, or whether the change is reversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single short sentence contains no filler, but for a 5-parameter mutating tool it is under-specified rather than concise; the bracketed "[CBH]" product tag adds no decision-relevant information.

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

Completeness1/5

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

This is a complex mutation with a nested-object parameter, no annotations, and no output schema, yet the description is a five-word fragment. It omits the ordering/payment implications, the effect on the running instance, and the return value, leaving the agent unable to call 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 every parameter including the nested is_auto_pay object and new_resource_spec_code is already documented in the schema. The description adds no extra meaning such as format examples, valid spec-code sources, or disk-size constraints, so the baseline of 3 applies.

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

Purpose2/5

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

"变更云堡垒机实例" only restates the tool name (ResizeInstance) with a vague verb (变更/change) and the resource. It never says the operation is a specification/size change, and gives no way to tell it apart from siblings such as cbh__ChangeInstanceType, cbh__ChangeInstanceNetwork, or cbh__ChangeInstanceOrder, which all read as "change instance" operations too.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no prerequisites, and no mention of the sibling tools it could be confused with. An agent has no basis for choosing this over the other cbh__Change*/Resize siblings from the description alone.

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