Skip to main content
Glama

cbh__CreateInstance

Provisions a Huawei Cloud Bastion Host (CBH) instance with the required network, availability zone, specification, and login credentials for access control.

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": {
      "availability_zone": "<availability_zone>",
      "charging_mode": "<charging_mode>",
      "instance_name": "<instance_name>",
      "network": "<network>",
      "password": "<password>",
      "project_id": "<project_id>",
      "region": "<region>",
      "specification": "<specification>"
    },
    "name": "cbh__CreateInstance"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo标签信息。
regionYes创建云堡垒机实例所在局点ID。
networkYes切换云堡垒机实例vpc所需网络信息。
passwordYes堡垒机实例前端登录密码。
period_numNo订购周期数。(包周期模式必传)
project_idYes项目ID。
ipv6_enableNo云堡垒机实例是否支持IPV6。
is_auto_payNo是否自动支付,下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。
period_typeNo订购周期类型。(包周期模式必传)
charging_modeYes计费模式。
instance_nameYes云堡垒机实例名称,取值范围:
is_auto_renewNo是否自动续订。
specificationYes待创建云堡垒机规格ID,例如:
attach_disk_sizeNo附加磁盘大小。单位TB
availability_zoneYes创建云堡垒机所在的可用分区,需要指定可用分区名称。(主备模式是作为主机可用区)
enterprise_project_idNo企业项目ID。
slave_availability_zoneNo创建云堡垒机备机所在的可用分区,需要指定可用分区名称。(只创建单机时不传此字段)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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, and it discloses almost nothing. It omits that this is a billable, potentially async provisioning operation (charging_mode, period_num, is_auto_pay, is_auto_renew in the schema), that required credentials/permissions are needed, that the front-end password is set at creation, and what happens on partial failure. A missing-resource creation with billing implications deserves far more explanation.

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?

One short sentence, so nothing is wasted, and the purpose is front-loaded. But the brevity is under-specification rather than efficiency, given a 17-parameter, 8-required creation tool with nested objects and billing semantics.

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?

Against this tool's complexity — 17 params, nested network/security group structures, conditional payment fields, no output schema — the description is drastically incomplete. An agent gets no idea of the required operational sequence, cost implications, or what a successful creation 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%, so every one of the 17 parameters (including the nested network, public_ip, private_ip, and security_groups objects) is documented in the schema itself. The description adds no meaning of its own, so the baseline 3 for a fully documented schema applies. It does not, for example, explain how charging_mode interacts with the conditionally required period_type/period_num fields.

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 pairs a verb (创建/create) with a resource (云堡垒机实例/cloud bastion host instance), so the action is identifiable. However, it largely restates the tool name and does nothing to separate it from close siblings such as cbh__CreateInstanceOrder, cbh__CreateCbh, or cbh__CreateInstanceOrder versus this provisioning step. The only added value is spelling out what CBH stands for.

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 when-to-use guidance at all: nothing about prerequisites (project_id, region, availability_zone already provisioned), when to prefer CreateInstanceOrder, or whether this tool can be called directly versus only after an order exists. The single sentence provides no context beyond the 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