Skip to main content
Glama

ecs__AttachServerVolume

Attaches a disk volume to a specified Huawei Cloud ECS server, with optional dry-run precheck and mount point configuration.

Instructions

[ECS] 把磁盘挂载到弹性云服务器上。

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>",
      "server_id": "<server_id>",
      "volumeAttachment": "<volumeAttachment>"
    },
    "name": "ecs__AttachServerVolume"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo是否只预检此次请求。
server_idYes云服务器ID。
project_idYes项目ID。
volumeAttachmentYes云服务器挂载信息。

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 supplied, so the description carries the full disclosure burden, and it is a one-line statement for a mutating operation. It says nothing about permissions/authorization needs, what happens if the volume is already attached, whether the operation is idempotent or reversible, what dry_run's pre-check actually returns, or how the count field changes behavior. Only the bare intent of a write 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short sentence with no filler, so there is nothing to trim. The flip side is that nothing is front-loaded beyond the verb+resource; the brevity is efficient but leaves no structure for routing or caveats.

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 mutating tool with a nested object parameter, three required inputs, no annotations, and no output schema, a one-clause description is insufficient. An agent gets no information on preconditions, side effects, dry_run semantics, or error cases that would let it call the tool safely on the first attempt.

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%, with every property, including the nested volumeAttachment fields, documented in the schema, so the description need not repeat them. The description adds no meaning beyond the schema, such as constraints between count and volumeId or valid device naming. Baseline 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 single sentence states a specific verb+resource: attach a disk (磁盘) to an ECS server (弹性云服务器). That is unambiguous about the operation. It does not, however, distinguish the tool from close siblings such as ecs__NovaAttachVolume or bms__AttachBaremetalServerVolume, so an agent cannot tell from the description alone why this variant is the right one.

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 prerequisite for the server or volume state (e.g. volume must be available, server must be running), and no mention of alternatives like the Nova or BMS attach tools. The agent must infer the calling context entirely from the name.

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