Skip to main content
Glama

ecs__BatchAttachSharableVolumes

Attach a shared volume to multiple ECS instances in a single batch request, enabling consistent multi-server disk mounting.

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>",
      "serverinfo": "<serverinfo>",
      "volume_id": "<volume_id>"
    },
    "name": "ecs__BatchAttachSharableVolumes"
  }
}

Input Schema

NameRequiredDescriptionDefault
volume_idYes共享磁盘ID。
project_idYes项目ID。
serverinfoYes共享磁盘需要挂载的弹性云服务器列表。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/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. It does not say whether the disk must be a shared-capable volume, whether this is asynchronous or returns a job ID, what happens if attachment fails on one server, or what permissions are needed, so there is no disclosure beyond the base action.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

The definition is a single front-loaded sentence with a bracketed service tag, the verb, the resource, and the batch scope, with no filler.

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?

With three required parameters fully documented and no output schema, the schema covers the mechanical side. The description still omits prerequisites and failure behavior for a multi-target mutation, which matters for a batch operation.

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 volume_id, project_id, and the per-server entries are already documented in the schema. The description reinforces the 'shared disk' and 'multiple servers' semantics but adds no format, ordering, or constraint detail beyond the schema.

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 specific action (attach) and resource (shared volume) and a specific scope (multiple ECS servers at once, batch), which distinguishes it from a single-server attach. It does not name a sibling tool explicitly, so it stops short of 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?

The phrase '批量' and '一次性…多个' implies this tool is for attaching one shared disk to several servers, giving the agent implicit selection guidance. There is no explicit when-not-to-use or a named alternative such as a single-server attach tool.

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