Skip to main content
Glama

ecs__ChangeServerNetworkInterface

Updates the IPv4 or IPv6 address of a specified cloud server network interface, enabling IP configuration changes for an ECS port identified by port ID.

Instructions

[ECS] 更新云服务器指定网卡属性,当前仅支持更新网卡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": {
      "port_id": "<port_id>",
      "project_id": "<project_id>",
      "server_id": "<server_id>"
    },
    "name": "ecs__ChangeServerNetworkInterface"
  }
}

Input Schema

NameRequiredDescriptionDefault
port_idYes网卡port id
server_idYes云服务器ID。
subnet_idNo子网ID ,UUID格式。更新IP地址时,必须指定该参数;更新IPv6地址时,该参数可以不填。
ip_addressNoIPv4地址,为空字符串时表示随机更新网卡IPv4地址。
project_idYes项目ID。
ipv6_addressNoIPv6地址,为空字符串时表示随机更新网卡IPv6地址。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/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, but it only states that the tool updates NIC attributes and currently only IP updates are supported. It does not disclose whether the operation is disruptive, requires a stopped server, affects existing connections, or what the mutation returns.

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 description is a single front-loaded sentence with no wasted wording. It states the resource being updated and the current scope immediately.

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?

The schema fully documents the six parameters, which supports correct invocation, and the description states the core operation and current limitation. However, for a mutation tool with no annotations and no output schema, the description leaves important behavioral context such as prerequisites, side effects, and return expectations unstated.

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 the input schema already documents each parameter, including the conditional role of subnet_id for IPv4 versus IPv6 updates. The description adds little parameter meaning beyond the high-level note that only IP updates are currently supported.

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 gives a specific verb + resource: update a cloud server network interface's attributes, and states the current scope limitation that only the NIC IP can be updated. It is clear what the tool does, but it does not distinguish itself from similar siblings such as ecs__UpdateServerInterface or vpc__UpdateSubNetworkInterface.

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 only usage guidance is the scope note that currently only NIC IP updates are supported. There is no explicit guidance on when to use this tool instead of sibling interface-update tools, and no prerequisites or exclusions are stated.

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