Skip to main content
Glama

ccm__CreateCertificateAuthorityOrder

Creates a Huawei Cloud CCM certificate authority purchase order using billing period, quantity, auto-renewal, and product details.

Instructions

[CCM] 购买CA。

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>",
      "is_auto_renew": "<is_auto_renew>",
      "period_num": "<period_num>",
      "period_type": "<period_type>",
      "product_infos": "<product_infos>",
      "subscription_num": "<subscription_num>"
    },
    "name": "ccm__CreateCertificateAuthorityOrder"
  }
}

Input Schema

NameRequiredDescriptionDefault
period_numYes订购周期数
is_auto_payNo是否自动支付 1是 0否 不填默认为0
period_typeYes订购周期 2月 3年
charging_modeYes计费模式 0包周期
is_auto_renewYes是否自动续费 1是 0否
product_infosYes产品列表,详情请参见**ProductInfo**字段数据结构说明。
promotion_infoNo折扣信息
subscription_numYes订购数量
cloud_service_typeYes云服务类型,固定为'hws.service.type.ccm'
enterprise_project_idNo企业项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/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. "购买" implies a financial, likely irreversible transaction with subscription and auto-pay semantics (is_auto_pay, is_auto_renew, period_type), but the description never mentions cost, payment triggering, renewal behavior, or what state the CA lands in after purchase.

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 tag-length fragment, so there is no wasted wording, but brevity here comes from under-specification rather than discipline. The key fact that this is an order/purchase operation is combined with a bracketed service prefix, which adds little.

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?

A 10-parameter, 7-required order-creation tool with a nested product_infos list, no annotations, and no output schema needs far more description than four characters of content. Nothing tells the agent about payment flow, error conditions, or the result of a successful purchase.

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 10 parameters is already documented in the input schema, including fixed values such as 'hws.service.type.ccm' and 'ca.duration'. The description adds no meaning beyond that, so the baseline of 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?

"[CCM] 购买CA" states a verb (purchase) and a resource (CA), which is more than a tautology. However, it does not differentiate this billing/order tool from the sibling ccm__CreateCertificateAuthority, so an agent cannot tell from the description alone which one actually creates the CA versus which places the purchase order.

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 mention of prerequisites (quota, existing CA, enterprise project), and no pointer to alternatives such as CreateCertificateAuthority or the sibling order tools. The agent must infer everything from the required parameters.

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