Skip to main content
Glama

ecs__UpdateServerBlockDevice

Updates the delete-on-termination setting for a single disk attached to a Huawei Cloud ECS server, letting you control whether the volume is released with the instance.

Instructions

[ECS] 修改云服务器云主机挂载的单个磁盘信息。'当前仅支持修改delete_on_termination字段。

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": {
      "block_device": "<block_device>",
      "project_id": "<project_id>",
      "server_id": "<server_id>",
      "volume_id": "<volume_id>"
    },
    "name": "ecs__UpdateServerBlockDevice"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idYes云服务器ID。
volume_idYes磁盘id,uuid格式
project_idYes项目ID。
block_deviceYes待更新的挂载信息。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does disclose a genuinely useful constraint — currently only the delete_on_termination field can be modified — but says nothing about required permissions, whether the server must be stopped, or whether the change takes effect immediately.

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?

Two short sentences with the resource and the key limitation front-loaded; nothing is padded. The stray nested quotation marks around the constraint are a minor formatting blemish rather than a comprehension problem.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations, no output schema, and a nested parameter object, the definition covers what changes but not the operational context (prerequisites, effect timing, response shape). What is present is accurate but thin relative to the tool's complexity.

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 parameter including the nested delete_on_termination boolean is already documented in the schema. The description repeats the one modifiable field but adds no format, default, or interaction semantics beyond that.

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 and resource: modify the information of a single disk mounted on a cloud server ('修改云服务器云主机挂载的单个磁盘信息'). The word '单个' (single) distinguishes it from the list-style siblings like ListServerBlockDevices, though it does not explicitly name an alternative.

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 or when-not-to-use guidance. With siblings such as UpdateServerAutoTerminateTime and AttachServerVolume that also touch disk lifecycle behavior, an agent gets no help deciding between them; the only scoping content is a field restriction rather than usage guidance.

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