Skip to main content
Glama

get_subnet

Retrieves a Neutron subnet by ID for read-only network inspection, returning found=false when a provider or external subnet is inaccessible. Use its network ID to configure gateways and floating IPs.

Instructions

Get one Neutron subnet. Service: Neutron (network). Read-only. Does not mutate state.

A 404 or 403 on a provider or external subnet is returned as found=false. Use the network id for the gateway and for floating IPs.

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": {
      "subnet_id": "<subnet_id>"
    },
    "name": "get_subnet"
  }
}

Input Schema

NameRequiredDescriptionDefault
subnet_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does well on safety: it declares the operation read-only and non-mutating, and it discloses non-obvious error behavior (403/404 on provider or external subnets surface as found=false rather than an exception). It does not mention authentication scope or permissiveness beyond the 403 note.

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?

It is short and front-loads the core operation, which is good. However, "Service: Neutron (network). Read-only. Does not mutate state." is telegraphic and partly redundant, and the trailing sentence about network ids reads as context bled in from adjacent operations rather than information about this call.

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

Completeness4/5

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

For a single-parameter getter with an output schema, the description covers what matters: scope, read-only nature, and the found=false outcome on 403/404. The notable gap is the absence of any statement about the identifier format or required permissions, but overall it is close to sufficient.

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?

The sole parameter has 0% schema description coverage, so the description must compensate, yet it never clarifies whether subnet_id is a UUID versus a name or gives any format/example. The only id-related sentence refers to the network id for gateways and floating IPs, which is a different identifier and risks confusing which id this parameter expects.

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 gives a specific verb and resource ("Get one Neutron subnet") and names the service (Neutron/network), so an agent can identify the operation immediately. It does not explicitly contrast with siblings like list_subnet_pools or create_subnet, relying on "one" to imply single-object retrieval.

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?

Usage is only implied: the tool fetches one subnet when you already have a subnet_id. There is no explicit when-to-use/when-not or pointer to an alternative such as a listing call. The final sentence about the network id gestures at downstream usage but is not framed as selection guidance.

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