Skip to main content
Glama

vpc__DeletePort

Deletes a specified Huawei Cloud VPC port using its port ID and project ID, removing an unneeded network interface from the project.

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_id": "<port_id>",
      "project_id": "<project_id>"
    },
    "name": "vpc__DeletePort"
  }
}

Input Schema

NameRequiredDescriptionDefault
port_idYes端口ID
project_idYes项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/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, yet it discloses nothing beyond the word "delete". It is silent on irreversibility, whether an attached or in-use port can be removed, permission prerequisites, and what happens to dependent resources. For a destructive mutation 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.

Conciseness3/5

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

The description is a single short sentence with no padding, so it is not verbose. Its brevity, however, reflects under-specification rather than disciplined editing: nothing is front-loaded beyond a restatement of the name.

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?

For a destructive two-parameter delete operation with no annotations and no output schema, the definition should describe consequences and prerequisites. Instead it offers only a translated name, leaving the agent without what it needs to call this safely.

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?

Both parameters (port_id, project_id) are fully documented in the schema with patterns and examples, so schema coverage is 100% and the baseline is 3. The description adds no extra meaning, such as the format of IDs or whether the project must own the port, but the schema already does that work.

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] 删除端口。" restates the tool name (vpc__DeletePort) in Chinese with a service tag; it adds no scope, no target description, and nothing that separates it from siblings such as vpc__NeutronDeletePort or vpc__DeletePrivateip. It is a tautology rather than a purposeful statement.

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 mention of when not to use it, and no reference to any alternative tool. An agent must infer that this is a deletion and guess how it differs from the Neutron-prefixed variant on its own.

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