Skip to main content
Glama

vpc__UpdatePort

Updates an existing VPC port's name, DHCP options, security groups, or allowed address pairs using the port ID and project 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": {
      "port": "<port>",
      "port_id": "<port_id>",
      "project_id": "<project_id>"
    },
    "name": "vpc__UpdatePort"
  }
}

Input Schema

NameRequiredDescriptionDefault
portYes端口对象
port_idYes端口ID
project_idYes项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/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 burden of behavioral disclosure and it delivers none. It does not say which port attributes are mutable, whether changes are destructive or reversible, what permissions are needed, or how partial updates are handled. For a mutation tool with a nested-object payload this is a serious gap.

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 description is a single short sentence, but its brevity reflects under-specification rather than efficient communication. There is no structure to front-load because no meaningful information is conveyed. It does avoid padding, which keeps it above a 1.

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?

Given a mutation tool with a nested object payload, no annotations, and no output schema, the description should explain what gets updated and what to expect. Instead it provides one generic phrase, leaving an agent unable to call this correctly without reading the schema closely. Completely inadequate for the tool's complexity.

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 each parameter (port object with nested name, extra_dhcp_opts, security_groups, allowed_address_pairs, plus port_id and project_id) is documented inline. Since the schema already does the heavy lifting, the baseline of 3 applies, and the description adds nothing further. No penalty, but no added value either.

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 names a verb and a resource ("更新端口" / update port), so the agent knows it is a mutation on a port. However, it gives no scope detail and does not distinguish itself from the close sibling vpc__NeutronUpdatePort, which appears to update the same kind of resource. Purpose is identifiable but under-specified.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description contains no when-to-use guidance, no prerequisites, and no mention of any alternative tool. With a sibling like vpc__NeutronUpdatePort operating on the same resource, the agent is left to guess which update tool to pick. Effectively no usage guidance at all.

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