Skip to main content
Glama

dsc__CreateProductOrder

Creates a Huawei Cloud DSC instance order using charging mode, billing period, product details, region, and zone to support provisioned resource purchasing.

Instructions

[DSC] 根据计费方式、计费周期等信息进行实例下单

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>",
      "period_num": "<period_num>",
      "period_type": "<period_type>",
      "product_infos": "<product_infos>",
      "project_id": "<project_id>",
      "region_id": "<region_id>",
      "zone": "<zone>"
    },
    "name": "dsc__CreateProductOrder"
  }
}

Input Schema

NameRequiredDescriptionDefault
zoneYes所属国家区域
region_idYes当前项目所在region的id,如:xx-xx-1。
period_numYes订购周期数目
project_idYes项目ID
discount_idNo折扣ID
period_typeYes订购周期类型,2:月,3:年
charging_modeYes计费模式,0:包周期计费,1:按需计费,2:一次性计费
is_auto_renewNo是否自动续费
product_infosYes产品信息列表
promotion_infoNo促销信息
cloud_service_typeYes云服务类型
composite_product_idNo组合套餐ID
promotion_activity_idNo促销ID

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. It does not disclose that this is a financially consequential purchase, whether the call is idempotent, what permissions are needed, whether it provisions immediately or only creates an order record, or what happens on partial failure — all critical for an unstubbed 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.

Conciseness3/5

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

It is a single short sentence with the purpose front-loaded, which is fine structurally. But it is under-specified rather than economical — the '等信息' filler occupies space that could have carried real behavioral guidance.

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?

This is a complex 13-parameter, 8-required purchase tool with a nested product_infos list and no output schema or annotations. The description says nothing about the expected response (order ID? status?) or the provisioning outcome, leaving the agent reliant entirely on the schema for one side and with nothing for the other.

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 coverage is 100%, so the schema already documents all 13 parameters, including the enum-like mappings for charging_mode and period_type. The description only echoes two of those fields without adding format or constraint detail, so the baseline 3 applies.

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 names a specific action ('实例下单' - place an instance order) and its driving inputs ('计费方式、计费周期'), so the general purpose is discernible. However, '等信息' hedges the scope, and nothing distinguishes this DSC ordering tool from the many other CreateOrder siblings beyond the '[DSC]' prefix — it does not say what kind of instance or product is being ordered.

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 to use this tool versus alternatives, no mention of prerequisites (e.g. an existing project, region, or quote), and no exclusions. The sentence simply restates the act of ordering.

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