Skip to main content
Glama

vpc__UpdateSubNetworkInterface

Updates an auxiliary elastic network interface in a VPC, letting you change its description, security groups, or allowed address pairs; use dry_run to validate the request first.

Instructions

[VPC] 更新辅助弹性网卡

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>",
      "sub_network_interface": "<sub_network_interface>",
      "sub_network_interface_id": "<sub_network_interface_id>"
    },
    "name": "vpc__UpdateSubNetworkInterface"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo功能说明:是否只预检此次请求
project_idYes项目ID
sub_network_interfaceYes更新辅助弹性网卡请求体
sub_network_interface_idYes辅助弹性网卡的唯一标识

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?

No annotations are provided, so the description carries the full behavioral burden, but it discloses only that an update occurs. It does not say whether the body is a full replacement or a merge/patch, whether fields omitted from sub_network_interface are preserved, whether the change is reversible, what permissions are needed, or what dry_run actually reports. For a no-annotation mutation 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?

The single bracketed phrase contains no filler, but brevity here reflects under-specification rather than disciplined editing. There is no structure to speak of — no distinction between what the tool does and how to use it.

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 has a nested request body, a path-scoped resource ID, and a dry_run flag, with no annotations and no output schema. Given that richness, the description omits everything an agent would need beyond the schema: update semantics, precheck behavior, and side effects. The schema alone cannot convey these.

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 every parameter (project_id, sub_network_interface_id, the nested request body, dry_run) is already documented in the schema itself. The description adds no extra semantics such as typical body contents or behavior of the precheck flag, so the baseline of 3 applies.

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 description "[VPC] 更新辅助弹性网卡" names a specific verb (update) and resource (auxiliary elastic network interface), so the general intent is discernible. However, it offers no scope, no indication of what portions of the interface can be changed, and nothing that separates it from sibling update tools such as ecs__UpdateServerInterface or vpc__NeutronUpdateNetwork. It sits at vague-but-not-tautological.

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 when-to-use guidance, no preconditions, and no mention of alternatives. An agent reading only this description cannot tell when to choose UpdateSubNetworkInterface rather than Create/Delete/Show, or whether dry_run should be used first.

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