Skip to main content
Glama

vpc__CreatePort

Create a Virtual Private Cloud port by specifying the network and project IDs, with optional fixed IP, security group, and device settings for attaching resources to a subnet.

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>",
      "project_id": "<project_id>"
    },
    "name": "vpc__CreatePort"
  }
}

Input Schema

NameRequiredDescriptionDefault
portYes端口对象
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 provided, so the description must carry the full behavioral burden and it discloses nothing. It does not say whether creation is idempotent, what permissions or quota constraints apply, what happens on a conflicting fixed_ip, or whether the call is synchronous.

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 phrase is front-loaded and free of waste, but it is drastically undersized for a tool that takes a deeply nested port object. This is under-specification rather than effective conciseness.

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?

The tool has a complex nested schema, zero annotations, and no output schema, yet the description explains none of this. An agent cannot tell what is returned, whether the port gets a generated ID, or how required project_id and network_id interact.

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 the nested port object documents each field (network_id, fixed_ips, security_groups, allowed_address_pairs) in detail. The description adds no meaning beyond the schema, so baseline 3 applies.

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?

"创建端口" is a direct restatement of the tool name CreatePort with no added specificity. The [VPC] tag gives a service hint, but an agent learns nothing about scope, what a port represents, or how this differs from siblings such as vpc__NeutronCreatePort.

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 prerequisites, and no mention of the parallel Neutron variant or alternatives. Only the bare create verb implies any usage context, which the agent would already have 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