Skip to main content
Glama

ecs__AssociateServerVirtualIp

Associates a virtual IP address with a specified ECS server NIC to add a secondary private IP and support high-availability configurations across cloud servers.

Instructions

[ECS] 虚拟IP地址用于为网卡提供第二个IP地址,同时支持与多个弹性云服务器的网卡绑定,从而实现多个弹性云服务器之间的高可用性。

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": {
      "nic": "<nic>",
      "nic_id": "<nic_id>",
      "project_id": "<project_id>"
    },
    "name": "ecs__AssociateServerVirtualIp"
  }
}

Input Schema

NameRequiredDescriptionDefault
nicYes需要配置私有IP的网卡参数列表。
nic_idYes云服务器网卡ID。
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.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 behavioral burden, yet it discloses nothing about the effects of the operation: whether it mutates the NIC's allowed_address_pairs, whether it is idempotent, what happens if the IP is already bound, required permissions, or error conditions. It provides conceptual background about virtual IPs rather than behavioral traits of this call.

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 no padding, so it is not verbose, but the one sentence it spends is on background rather than on the tool's action, meaning it does not earn its place as a functional description. The [ECS] prefix is the only front-loaded signal.

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?

This is a mutating operation with a nested parameter object, no annotations, and no output schema, so the description needs to explain operation, side effects, and preconditions. It supplies only domain background, leaving an agent unable to determine what the call actually does to the target NIC or what result to expect.

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% and the nested nic object documents subnet_id, ip_address, and reverse_binding individually, so the schema does the heavy lifting. The description adds no parameter meaning at all — it never mentions nic, nic_id, or project_id — so the baseline 3 applies.

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

Purpose2/5

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

The description explains what a virtual IP address is used for (a second IP on a NIC, binding across multiple ECS instances for high availability) but never states the operation the tool performs — associating a virtual IP with a server NIC. An agent reading only the description must infer the verb from the tool name; there is no explicit statement of action or scope.

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?

The high-availability framing implies a scenario, but there is no explicit when-to-use guidance, no prerequisites (e.g. NIC must not already have this IP attached), and no mention of the natural counterpart ecs__DisassociateServerVirtualIp as the reversal path. Usage must be inferred entirely.

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