Skip to main content
Glama

bms__DetachBaremetalServerVolume

Detach a cloud volume from a Huawei Cloud bare metal server by attachment ID, project ID, and server ID; system disks mounted at /dev/sda are not supported.

Instructions

[BMS] 将挂载至裸金属服务器中的磁盘卸载;对于挂载在系统盘盘位(也就是“/dev/sda”挂载点)上的磁盘,不允许执行卸载操作;对于挂载在数据盘盘位(非“/dev/sda”挂载点)上的磁盘,支持离线卸载和在线卸载(裸金属服务器处于“运行中”状态)磁盘

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

Input Schema

NameRequiredDescriptionDefault
server_idYes裸金属服务器ID
project_idYes项目ID
attachment_idYes裸金属服务器的云磁盘ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It discloses valuable preconditions (system-disk refusal, server must be Running for online detach), but says nothing about what happens to the disk or its data after detach, whether permissions beyond project_id are required, or whether the operation is asynchronous.

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?

Purpose is front-loaded and the constraints follow in a compact semicolon-separated list with no filler. The single long sentence is dense but every clause carries operational meaning.

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 and no output schema, the definition covers the critical refusal case and the online/offline distinction, but leaves out post-condition behavior (disk retention, state transitions) and permission requirements that an agent would want before invoking a detach.

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 all three path parameters (server_id, project_id, attachment_id) documented in the schema itself. The description adds no parameter-level detail beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource pair: detach a disk mounted to a bare metal server. That is unambiguous and implicitly distinguishes it from the sibling AttachBaremetalServerVolume without needing to name it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states clear when-not-to-use rules (system disk at the /dev/sda slot cannot be detached) and when-to-use conditions (data disk slots support offline detach, and online detach when the server is Running). It does not point to an alternative tool for the disallowed case, which keeps it short of a 5.

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