Skip to main content
Glama

bms__AttachBaremetalServerVolume

Attach an existing cloud volume to a baremetal server as a data disk when current storage is insufficient or unsuitable, with optional device path control.

Instructions

[BMS] 裸金属服务器创建成功后,如果发现磁盘不够用或者当前磁盘不满足要求,可以将已有云硬盘挂载给裸金属服务器,作为数据盘使用

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": "bms__AttachBaremetalServerVolume"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idYes裸金属服务器ID
project_idYes项目ID
volumeAttachmentYes要挂载的卷相关信息,详情请参见表 volumeAttachment数据结构说明。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3/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 for a mutation operation. It discloses neither permission requirements, whether the server must be stopped or running, whether the volume must be unattached and in the same availability zone, nor whether a reboot or follow-up action is needed afterward. Only the scenario is described, not the operation's side effects or constraints.

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?

It is a single sentence with no redundant clauses, but the actual action (挂载云硬盘) is buried behind a conditional preamble about disk shortfalls. The scenario is useful context but would read better with the verb-resource statement front-loaded.

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 no annotations and no output schema, the description covers only the motivating scenario. It omits state prerequisites, success/failure behavior, and any indication of what the caller gets back or must do next, leaving the agent to infer operational safety from the schema alone.

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%, including detailed nested documentation for volumeAttachment.device (mount point naming, ordering rules, auto-generation when omitted) and volumeId (UUID, retrievable from the EVS console or list API). The description adds no parameter-level meaning beyond that, so the baseline of 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 description names a concrete verb-action and resource pair: attaching an existing cloud volume (云硬盘) to a bare metal server to serve as a data disk. An agent can tell what the tool does without opening the schema. It does not distinguish itself from siblings such as ecs__AttachServerVolume or the Nova attach variants, which is the only thing keeping it from 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 Guidelines3/5

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

It supplies a use scenario — after server creation, when the existing disk is insufficient or does not meet requirements — and implies the volume must already exist ("已有云硬盘"). There is no explicit when-not guidance, no statement of server power state or volume state prerequisites, and no routing to the ECS/Nova attach siblings or to volume-creation flows.

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