Skip to main content
Glama

ecs__UpdateServerInterface

Updates a cloud server network interface attachment by setting whether the specified port is deleted when the server is terminated.

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": {
      "interface_attachment": "<interface_attachment>",
      "port_id": "<port_id>",
      "project_id": "<project_id>",
      "server_id": "<server_id>"
    },
    "name": "ecs__UpdateServerInterface"
  }
}

Input Schema

NameRequiredDescriptionDefault
port_idYesThe network card ID of the cloud server.
server_idYes云服务器ID。
project_idYes项目ID。
interface_attachmentYes更新云服务器网卡信息结构体。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description must carry the full behavioral burden for a mutation, and it does not. It never states whether the update is destructive, what happens to the existing attachment when delete_on_termination is toggled, whether permissions or a stopped server are required, or whether the result is reversible.

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?

The single short sentence is front-loaded and free of padding, but its brevity crosses into under-specification. There is no structure explaining the nested interface_attachment object or the effect of delete_on_termination, so the terseness does not earn its place.

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 tool with four required parameters, a nested object, and no annotations or output schema to fall back on. For that complexity, a one-line description leaves critical gaps about side effects and the meaning of delete_on_termination.

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%, with all four parameters documented, including the nested delete_on_termination field, so the schema already does the explanatory work. The description adds no semantics beyond the schema, which is the baseline expectation at this coverage level.

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

Purpose3/5

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

The Chinese description states a verb (更新 / update) plus a resource (云服务器网卡挂载信息 / cloud server NIC attachment info), so the general intent is graspable. However, it does not distinguish this tool from close siblings such as ecs__ChangeServerNetworkInterface or ecs__NovaUpdateServerInterface, so an agent cannot tell which update path applies without inspecting schemas.

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 the many sibling interface tools (ChangeServerNetworkInterface, NovaAttachInterface, BatchAddServerNics, etc.). No prerequisites, no exclusions, and no stated conditions under which this call is appropriate.

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