Skip to main content
Glama
oomchiller

openstack-mcp-server

by oomchiller

Get subnet

get_subnet
Read-onlyIdempotent

Retrieve a specific OpenStack subnet by its ID, optionally scoped to a project, to inspect network configuration details.

Instructions

Get one subnet by ID.

Input Schema

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

Output Schema

NameRequiredDescriptionDefault
idYes
cidrNo
nameNo
gateway_ipNo
ip_versionNo
network_idNo
project_idNo
descriptionNo
host_routesNo
dns_nameserversNo
is_dhcp_enabledNo
allocation_poolsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is fully covered. The description adds nothing beyond that — no note on error behavior for a missing ID, cross-project lookup behavior, or visibility semantics.

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

Conciseness4/5

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

A single short sentence with no wasted words and the key qualifier ("by ID") front-loaded. It is efficient, though it borders on under-specification rather than true conciseness.

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 described. However, for a tool with an optional project_id that changes scope, the description says nothing about cross-project behavior or where to obtain a valid subnet_id.

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 coverage is 50%: project_id is documented in the schema, but subnet_id has no description. The phrase "by ID" confirms subnet_id is the sole lookup key, adding a small amount of meaning, but it does not compensate for the undocumented required parameter.

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?

"Get one subnet by ID" states a verb and resource, but it essentially restates the tool name and title. It implicitly contrasts with list_subnets (single vs. list) but never names the sibling or clarifies the scope.

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 guidance on when to use this versus list_subnets or get_network, and no mention of prerequisites such as needing a subnet ID from a list call first. The agent must infer all routing from the name alone.

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