Skip to main content
Glama

rds__UpdateToPeriod

Converts a Huawei Cloud RDS instance from pay-per-use billing to a monthly or yearly subscription, with options for auto-payment and auto-renewal.

Instructions

[RDS] RDS实例按需转包周期

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": {
      "instance_id": "<instance_id>",
      "period_num": "<period_num>",
      "period_type": "<period_type>",
      "project_id": "<project_id>"
    },
    "name": "rds__UpdateToPeriod"
  }
}

Input Schema

NameRequiredDescriptionDefault
period_numYes周期数。
project_idYes租户在某一region下的project ID
instance_idYes操作的实例ID
period_typeYes周期类型。MONTH:月;YEAR:年
auto_pay_policyNo是否自动支付。YES:自动扣费;NO:手动支付(默认)
auto_renew_policyNo是否到期自动续期。YES:自动续费;NO:不自动续费(默认)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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 adds essentially nothing beyond the title. Critically, this is a billing mutation that can trigger an actual charge (as evidenced only by the auto_pay_policy parameter), yet the description does not mention cost commitment, payment behavior, irreversibility of the conversion, or any required permissions. Only the implied fact that it is a mutating billing operation is conveyed.

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?

The single clause is front-loaded and free of filler, but here brevity is under-specification rather than efficiency: it says only what the name already says. A sentence or two on preconditions and payment impact would have earned its place.

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 six-parameter, require-four, money-affecting mutation with no annotations and no output schema, the definition is too thin. It does not tell the agent what the call commits the user to, what happens on success, or what constraints must hold before invoking it, leaving significant gaps for a high-consequence operation.

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 six parameters — including period_num, period_type, auto_pay_policy, and auto_renew_policy — are already documented in the schema with their enum-like value meanings. The description adds no additional semantics such as valid ranges, defaults, or interactions between period_type and period_num, so the baseline of 3 applies.

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+resource pair: converting an RDS instance from pay-per-use (on-demand) to a subscription/period billing model. The '[RDS]' prefix and 'RDS实例' make the resource unambiguous against the analogous billing-conversion siblings on other resources (css, drs, eip). It stops short of naming any sibling or scoping the action further, but the operation itself is clear.

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 when-to-use guidance beyond the bare operation name: nothing about preconditions (instance must currently be on-demand, must be in a stable/running state), when-not-to-use, or what alternative tools exist for related billing changes. The agent must infer everything from the tool name and schema.

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