Skip to main content
Glama
MCP-OpenStack-Ops

MCP-OpenStack-Ops

by call518

Get Network Ports

get_network_ports

List Neutron ports owned by the current project or retrieve details for one port by name or ID.

Instructions

List Neutron ports owned by the current project, or show one port.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_network_ports"
  }
}

Input Schema

NameRequiredDescriptionDefault
port_nameNoOptional port name or ID. When provided, show that port (with created_at and updated_at); otherwise list ports.
all_projectsNoList only. If True, list every port Neutron shows the credential in any project, such as Octavia amphora VRRP ports, which belong to the project Octavia uses for its Neutron calls, not to the load balancer's project. Requires ALLOW_CROSS_PROJECT_READ=true on the server; rows then carry project_name, and the result has a scope (check scope.warning).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.1.3

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it does contribute one meaningful fact: results are implicitly filtered to the current project. However, it omits the cross-project behavior entirely — that all_projects requires ALLOW_CROSS_PROJECT_READ=true on the server, that rows then carry project_name, and that a scope.warning should be checked. Those are consequential runtime behaviors that appear only inside the parameter schema.

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

Conciseness5/5

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

A single sentence with no filler that front-loads the primary operation and then the secondary mode. Nothing is redundant with the title or schema, and no word is wasted.

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

Completeness3/5

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

An output schema exists and the parameter schema is fully documented, which covers return values and parameter meaning, so the description only needs to frame the operation. It does so adequately for the default path, but it leaves the non-default cross-project path unmentioned, which is the one aspect of this tool an agent could get wrong.

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%, so both parameters are already thoroughly documented, including the port_name mode switch and the all_projects prerequisite. The description adds no interpretation beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('List Neutron ports') plus a second mode ('show one port'), so an agent knows exactly what operation it performs. It also states the default tenancy scope ('owned by the current project'), which is more than a restatement of the name. It stops short of differentiating itself from siblings like get_network_details, but its resource scope is narrow enough that confusion is unlikely.

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

Usage Guidelines3/5

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

The two modes are presented, implying that supplying a port selects the single-port view and omitting it lists — but the description never states that selection rule; that information lives only in the schema's port_name description. There is no guidance on when to prefer this tool over related network tools, and no mention of prerequisites. Usage is inferable but not explicit.

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