Skip to main content
Glama
oomchiller

openstack-mcp-server

by oomchiller

Get port

get_port
Read-onlyIdempotent

Retrieve an OpenStack networking port by ID, including allowed address pairs, to inspect its configuration and project association.

Instructions

Get one port by ID, including allowed address pairs.

Input Schema

NameRequiredDescriptionDefault
port_idYes
project_idNoProject ID to work in; omit for the default project. Allowed values are listed by get_scope.

Output Schema

NameRequiredDescriptionDefault
idYes
nameNo
statusNo
device_idNo
fixed_ipsNo
network_idNo
project_idNo
descriptionNo
mac_addressNo
device_ownerNo
is_admin_state_upNo
security_group_idsNo
allowed_address_pairsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds that allowed address pairs are included, but it omits behavior such as not-found handling or project scoping.

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?

The description is a single front-loaded sentence with no wasted words. Every clause contributes either the operation or the notable returned content.

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, so return values need not be explained, and annotations cover safety. Still, the description leaves gaps around project scoping and the required port_id parameter's semantics for a simple retrieval tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 50%: project_id is documented in the schema, but port_id has no schema description. The description only says 'by ID' and does not compensate with format, source, or constraint details for the required port_id parameter.

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 states a specific verb and resource: 'Get one port by ID.' It implicitly distinguishes itself from the sibling list_ports by fetching a single port, though it does not name that sibling explicitly.

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 phrase 'Get one port by ID' implies usage for retrieving a single known port, which is adequate minimum guidance. However, it does not explicitly say when to use this instead of list_ports or what prerequisites exist.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.