Skip to main content
Glama

cbh__CreateInstanceOrder

Creates a Cloud Bastion Host (CBH) instance subscription order with billing and product details. Use it after provisioning a CBH instance to submit the purchase order for that instance.

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": {
      "charging_mode": "<charging_mode>",
      "cloud_service_type": "<cloud_service_type>",
      "instance_key": "<instance_key>",
      "period_num": "<period_num>",
      "period_type": "<period_type>",
      "product_infos": "<product_infos>",
      "project_id": "<project_id>",
      "region_id": "<region_id>",
      "subscription_num": "<subscription_num>"
    },
    "name": "cbh__CreateInstanceOrder"
  }
}

Input Schema

NameRequiredDescriptionDefault
region_idYes云堡垒机实例局点ID。
period_numYes订购周期数。
project_idYes项目ID。获取方法详见API参考,附录[获取项目ID](https://support.huaweicloud.com/api-cbh/cbh_02_0020.html)。
period_typeYes订购周期类型。
instance_keyYes云堡垒机实例key。
charging_modeYes计费模式。
is_auto_renewNo是否自动续订。
product_infosYes产品信息
subscription_numYes订购数量。当前仅支持订购1个,填写默认值1。
cloud_service_typeYes云服务类型,默认填写“hws.service.type.cbh”。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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 behavioral burden, and it does little beyond noting the call ordering. It does not say that this creates a billable subscription order, whether the call is idempotent, what permissions are required, or what an order result looks like—all material for a financial mutation tool.

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 short clauses with the action first and the prerequisite second, no filler or repetition. It is efficient, though the terse parenthetical packs an important ordering constraint into a subordinate phrase.

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 10-parameter billing mutation with no annotations and no output schema, the definition covers the key prerequisite but omits cost/pricing implications, idempotency and what the returned order contains. The fully documented schema compensates for parameter gaps, but not for behavioral ones.

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% across all 10 parameters, so the schema already defines region_id, period_type, product_infos and the fixed literals like hws.service.type.cbh. The description adds no parameter-level meaning such as valid charging_mode values or how period_type relates to period_num, leaving it at the baseline for a fully documented schema.

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 uses a specific verb plus resource, '创建云堡垒机实例订单', which tells an agent it is an ordering tool rather than a delete, resize or status tool in the sibling list. The '[CBH]' prefix and parenthetical note add scope, but it does not explicitly contrast with the similarly named ChangeInstanceOrder.

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

Usage Guidelines3/5

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

It states a real prerequisite: call the create-instance API before this one, which is useful sequencing guidance. However, it gives no when-not guidance and never distinguishes this from ChangeInstanceOrder or from the create-instance call itself, so an agent must infer when to order versus modify.

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