Skip to main content
Glama

vpc__UpdateSubnet

Modify an existing VPC subnet's name, description, DNS servers, DHCP settings, IPv6, or extra DHCP options by specifying the project, VPC, and subnet IDs.

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>",
      "subnet": "<subnet>",
      "subnet_id": "<subnet_id>",
      "vpc_id": "<vpc_id>"
    },
    "name": "vpc__UpdateSubnet"
  }
}

Input Schema

NameRequiredDescriptionDefault
subnetYes
vpc_idYes子网对应的vpc_id
subnet_idYes子网ID
project_idYes项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden, yet it discloses nothing about behavior: no permission requirements, no statement of whether this is a full replace or a partial patch, no note on which subnet attributes can be reverted, and no indication of the response. Only the word '更新' hints at mutation, which the name already conveys.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single short sentence contains no filler, but here brevity reflects under-specification rather than conciseness. There is no front-loaded scoping, no field list, and no routing information an agent could act on.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations, no output schema, a nested object parameter, and four required parameters, the description supplies none of the context needed to invoke it correctly or predict its effects. It is completely inadequate relative to the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 75%, below the threshold where the schema alone suffices, and the description adds nothing about the four required parameters — not the nested `subnet` object (with name, dnsList, dhcp_enable, ipv6_enable, extra_dhcp_opts), not the vpc_id/subnet_id path scoping, and not project_id. The schema does most of the work, but the description does not compensate for the remaining gap.

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?

"[VPC] 更新子网。" only restates the tool name vpc__UpdateSubnet in Chinese. It names a verb and resource, but gives no indication of what aspects of the subnet are updatable nor how it differs from the sibling vpc__NeutronUpdateSubnet, so it is effectively a tautology.

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, no prerequisites, and no mention of when to prefer vpc__NeutronUpdateSubnet or other update paths. The agent must infer usage entirely from the 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