Skip to main content
Glama

hss__CreateQuotasOrder

Creates a subscription order for Huawei Cloud HSS quotas, enabling periodic billing for specified resource specifications and quantities.

Instructions

[HSS] HSS服务创建订单订购配额,只支持包周期计费模式

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": {
      "period_num": "<period_num>",
      "period_type": "<period_type>",
      "project_id": "<project_id>",
      "resource_spec_code": "<resource_spec_code>",
      "subscription_num": "<subscription_num>"
    },
    "name": "hss__CreateQuotasOrder"
  }
}

Input Schema

NameRequiredDescriptionDefault
period_numYes订购周期数
project_idYes项目ID
is_auto_payNo是否支持自动支付,true表示支持,false表示不支持,默认值为false
period_typeYes订购周期类型
is_auto_renewNo是否支持自动续订,true表示自动续订,false表示不自动续订,默认值为false
subscription_numYes订购数量
resource_spec_codeYes资源规格
enterprise_project_idNo主机所属的企业项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/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. It discloses the billing-mode restriction, but says nothing about what actually happens on invocation: whether payment is triggered (is_auto_pay defaults to false), whether the call is idempotent, what permissions or project scope are required, or what errors occur for an invalid spec code. For a purchase/mutation tool this is a substantial gap.

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 compact sentence with the service tag and the crucial billing constraint front-loaded; nothing is redundant. It is arguably under-specified rather than padded, so no penalty for verbosity.

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?

With 8 parameters, 5 of them required, no annotations, and no output schema, the agent still lacks decision-critical context: what a successful response contains (order ID? quota IDs?), how the order is fulfilled or paid, and what valid values period_type accepts. The description covers only the billing mode, leaving the rest to the schema.

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 all eight parameters already carry their own descriptions, which sets the baseline at 3. The description adds nothing beyond the schema – notably it does not clarify the domain values for the integer period_type (0-100, no enum) or the relationship between period_num, period_type and subscription_num.

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 ('创建订单订购配额' – create an order subscribing quotas) and adds the key scope constraint that only package-period (subscription) billing is supported. It does not name a sibling to contrast with, so it stops short of 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 Guidelines3/5

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

The 'only supports package-period billing' clause implicitly tells the agent when this tool applies and excludes pay-as-you-go scenarios, but there is no explicit when-not guidance, no prerequisites (e.g. ordering a quota vs. listing quotas in ListQuotasDetail/ShowResourceQuotas), and no named alternative for non-subscription purchases.

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