Skip to main content
Glama

ecs__NovaAttachInterface

Attach a network interface card to a Huawei Cloud ECS server by providing the server, project, and interface details.

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

Input Schema

NameRequiredDescriptionDefault
server_idYes云服务器ID。
project_idYes项目ID。
interfaceAttachmentYes需要添加的网卡参数列表。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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, yet it only restates the action. It does not say whether this is a mutating operation with lasting effect, whether the server must be running/stopped, whether permissions or project scoping are required, whether the call is synchronous, or what limits apply (the schema caps fixed_ips at one item). For a mutating network-attachment tool this is a substantial gap.

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 short sentence with zero filler, which is good. However, the brevity comes at the cost of under-specification rather than genuine efficiency, and the '[ECS]' prefix adds little beyond categorisation.

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?

The tool is a mutation with a nested-object parameter, no annotations, and no output schema, so the description must carry more weight than it does. An agent calling it needs to know about server-state requirements, network/port choice semantics, and side effects, none of which appear. Only the bare action is conveyed.

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 coverage is 100%, so the baseline of 3 applies and the description itself adds no parameter meaning. Notably the schema's own descriptions for net_id and port_id are just whitespace/tab placeholders, so the nested interfaceAttachment object is poorly explained overall. The description does not clarify the likely mutual exclusivity of net_id versus port_id or the single-IP constraint.

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 verb+resource pair in Chinese: adding (添加) a network interface card (网卡) to a cloud server (云服务器). This distinguishes it from ecs__NovaDetachInterface and ecs__NovaShowServerInterface, whose names imply opposite/read-only operations. It loses a point only because it does not explicitly name those siblings or state the resulting effect.

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 guidance on when to use this tool versus alternatives such as ecs__ChangeServerNetworkInterface or ecs__UpdateServerInterface, nor any exclusion criteria. No prerequisites (server state, quota limits, network availability) are stated. The agent must infer everything from the tool 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