Skip to main content
Glama

ecs__ResizePostPaidServer

Resize a post-paid Huawei Cloud ECS server to change its flavor and upgrade vCPU or memory when current specifications no longer meet workload needs.

Instructions

[ECS] 当您创建的弹性云服务器规格无法满足业务需要时,可以变更云服务器规格,升级vCPU、内存。具体接口的使用,请参见本节内容。

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": {
      "project_id": "<project_id>",
      "resize": "<resize>",
      "server_id": "<server_id>"
    },
    "name": "ecs__ResizePostPaidServer"
  }
}

Input Schema

NameRequiredDescriptionDefault
resizeYes标记为云服务器变更规格操作
dry_runNo是否只预检此次请求。
server_idYes云服务器ID。
project_idYes项目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 provided, so the description carries the full disclosure burden. It only says it changes specs and upgrades vCPU/memory; it does not mention that this is a mutation operation, whether it requires a server stop, permissions needed, reversibility, or how `dry_run` and `mode` affect behavior.

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 first sentence conveys the core purpose efficiently. The second sentence ('具体接口的使用,请参见本节内容') is generic filler that adds no actionable information and should be omitted for an agent-facing definition.

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 mutation tool with nested parameters and no output schema, the description omits critical context: the post-paid distinction, the difference from `ecs__ResizeServer`, and the behavioral implications of parameters like `dry_run` and `mode`. It is not sufficient for an agent to confidently select and invoke this tool.

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 the schema fully documents all parameters. The description adds no parameter semantics beyond what the schema provides; it only restates the general effect of upgrading vCPU/memory.

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 states that it changes cloud server specifications and upgrades vCPU/memory, which is a clear verb and resource. However, it does not mention that this is specifically for post-paid servers or how it differs from the sibling `ecs__ResizeServer`. The generic phrasing and filler second sentence weaken differentiation.

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?

It gives a condition for use (when existing specs cannot meet business needs), but provides no guidance on when to choose this tool over alternatives like `ecs__ResizeServer` or `ecs__ListResizeFlavors`, nor any prerequisites or exclusions.

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