Skip to main content
Glama

drs__ChangeToPeriod

Converts DRS synchronization and disaster recovery tasks from pay-as-you-go to subscription billing, with options for auto-pay and auto-renew.

Instructions

[DRS] DRS同步和灾备任务按需计费转包周期计费。

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": {
      "is_auto_pay": "<is_auto_pay>",
      "is_auto_renew": "<is_auto_renew>",
      "job_id": "<job_id>",
      "period_num": "<period_num>",
      "period_type": "<period_type>",
      "project_id": "<project_id>"
    },
    "name": "drs__ChangeToPeriod"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes转包周期的任务ID。
period_numYes订单周期数
project_idYes租户在某一Region下的Project ID。 获取方法请参见[获取项目ID。](https://support.huaweicloud.com/api-drs/drs_api_0106.html)
is_auto_payYes是否自动支付
period_typeYes订单类型,取值:
is_auto_renewYes是否自动续费

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?

No annotations are provided, so the description carries the full behavioral burden. It discloses only the billing-mode change, saying nothing about the fact that this creates a paid order, that payment may be triggered (relevant to the is_auto_pay flag), whether the change is reversible, or what happens to the running job during conversion. For a financially consequential 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?

It is a single short sentence with zero filler and the core action is front-loaded. Its brevity is efficient rather than padded, though it borders on under-specification for a mutation tool.

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, all-required billing mutation with no annotations and no output schema, one clause is not enough. The agent lacks preconditions, side effects, cost implications, and any indication of what a successful response represents.

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 are documented in the schema and the baseline is 3. The description adds no extra meaning about period_type values, period_num constraints, or how is_auto_pay/is_auto_renew interact with the resulting order.

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 names a specific action and target: converting DRS sync/disaster-recovery jobs from pay-as-you-go billing to period (subscription) billing. That is concrete enough for an agent to know what the tool does. It does not differentiate from related billing-conversion siblings (e.g. eip__ChangeBandwidthToPeriod, rds__UpdateToPeriod), 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 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, no preconditions (e.g. the job must currently be on-demand billing and in an eligible state), and no mention of alternatives or when not to call it. The agent must infer usage entirely from the billing-context phrasing.

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