Skip to main content
Glama

vpc__NeutronUpdateSubnet

Update an existing VPC subnet's name, DHCP setting, DNS servers, host routes, or allocation pools by subnet ID.

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": {
      "subnet": "<subnet>",
      "subnet_id": "<subnet_id>"
    },
    "name": "vpc__NeutronUpdateSubnet"
  }
}

Input Schema

NameRequiredDescriptionDefault
subnetYessubnet对象
subnet_idYes子网ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/5.0
Behavior1/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 and delivers nothing: it does not say whether this is a partial or full-replacement update, whether omitted fields (e.g. enable_dhcp, dns_nameservers) are reset to defaults, whether the operation is idempotent or synchronous, or what permissions and failure modes apply. One phrase conveys no behavior beyond the word "update".

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 certainly short and has no wasted wording, but the brevity comes from under-specification rather than disciplined editing. A bracketed service tag plus a two-word phrase leaves no structure to front-load useful information into.

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?

This is a mutation tool with a nested object parameter, no annotations, and no output schema, so the description is the only place behavioral context could live — yet it says nothing about update semantics, required state, or results. For the complexity involved, the definition is essentially empty.

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 every field of the nested subnet object (name, enable_dhcp, host_routes, dns_nameservers, allocation_pools) plus subnet_id is documented in the schema itself, so the baseline of 3 applies. The description adds no meaning of its own — notably it never states that subnet_id identifies the target while subnet holds the fields to change.

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?

"[VPC] 更新子网" names a verb (update) and resource (subnet), so the basic intent is recoverable, but it is effectively a restatement of the tool name NeutronUpdateSubnet. It gives no hint of what aspects of the subnet are updatable, and it does nothing to distinguish this from the near-identical sibling vpc__UpdateSubnet.

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 at all: nothing says when to prefer this over vpc__UpdateSubnet, when to use CreateSubnet/ShowSubnet/DeleteSubnet instead, or what preconditions (existing subnet, correct VPC, permissions) must hold. The agent must infer everything from the tool 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