Skip to main content
Glama

css__UpdateOndemandClusterToPeriod

Converts an on-demand CSS cluster to period (subscription) billing, letting you set the purchase period and auto-pay or auto-renew options to commit to a fixed-term plan.

Instructions

[CSS] 该接口用于按需集群转包周期集群。

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": {
      "cluster_id": "<cluster_id>",
      "periodNum": "<periodNum>",
      "periodType": "<periodType>",
      "project_id": "<project_id>"
    },
    "name": "css__UpdateOndemandClusterToPeriod"
  }
}

Input Schema

NameRequiredDescriptionDefault
isAutoPayNo是否自动支付。下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。该参数适用于包周期集群。
periodNumYes订购周期数。
cluster_idYes指定待转包周期的集群ID。
consoleURLNo云服务ConsoleURL。 订购订单支付完成后,客户可以通过此URL跳转到云服务Console页面查看信息。(仅手动支付时涉及)。
periodTypeYes订购周期类型。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。
isAutoRenewNo是否自动续订,为空时表示不自动续订

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full behavioral burden, yet it discloses nothing about consequences: whether conversion is reversible, how billing changes, how isAutoPay/isAutoRenew affect the order, or that an order/payment flow is created. For a billing-affecting mutation this is a significant 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 short sentence with the operation front-loaded and zero filler. It is efficient, though the brevity reflects under-specification rather than deliberate economy.

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?

For a 7-parameter billing mutation with no annotations and no output schema, the description should say more about payment flow, irreversibility, and period/auto-pay semantics. As written, an agent must infer the entire operational context from the schema alone.

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 7 parameters (periodNum, periodType, isAutoPay, isAutoRenew, consoleURL, cluster_id, project_id) are already documented in the schema. The description adds no additional meaning, which meets the baseline 3 given full structured coverage.

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 sentence names a specific verb+resource pair: converting an on-demand (按需) cluster into a subscription/period (包周期) cluster. An agent can understand the operation without opening the schema. However, it offers no differentiation from sibling conversion tools such as rds__UpdateToPeriod or drs__ChangeToPeriod.

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?

Usage is only implied by the conversion direction built into the purpose statement; there is no explicit when-to-use, when-not-to-use, prerequisite, or prerequisite-state guidance (e.g., the cluster must currently be on-demand). No alternatives are named.

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