Skip to main content
Glama

create_ip_pool

Create an IP address pool with a static subnet and allocation range for NSX tunnel endpoints. Provide pool ID, display name, start/end IP, and CIDR.

Instructions

[WRITE] Create an IP address pool with one static subnet and allocation range.

IP pools supply addresses to NSX consumers such as tunnel endpoints (TEPs). Check list_ip_pools first to avoid overlapping ranges; start_ip and end_ip must both fall inside cidr. Re-running with the same pool_id overwrites it (PUT semantics). Returns the created pool dict; verify consumption later with get_ip_pool_usage. On failure returns {"error", "hint"}. Recorded in the audit log (~/.vmware/audit.db).

Args: pool_id: Unique pool identifier (alphanumerics, hyphens, underscores only); becomes policy path /infra/ip-pools/. display_name: Human-readable name shown in the NSX UI. start_ip: First allocatable IPv4 address, e.g. "192.168.1.10". end_ip: Last allocatable IPv4 address, e.g. "192.168.1.100". cidr: Subnet containing the range, in CIDR notation, e.g. "192.168.1.0/24". gateway_ip: Default gateway IP for the subnet, e.g. "192.168.1.1". Optional. target: NSX Manager name from config.yaml. Uses the default target if omitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cidrYes
end_ipYes
targetNo
pool_idYes
start_ipYes
gateway_ipNo
display_nameYes
Behavior1/5

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

The description states that re-running with the same pool_id overwrites it (PUT semantics), which implies idempotent behavior. However, annotations set 'idempotentHint' to false, creating a contradiction. While the description adds useful context about audit logging and error responses, the contradiction with annotations severely undermines transparency.

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?

The description is well-structured with a front-loaded purpose statement, context, behavioral notes, and a parameter list. While somewhat lengthy, each sentence contributes value, especially given the lack of schema descriptions. Minor redundancy could be trimmed, but overall it's efficient.

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

Completeness5/5

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

Given 0% schema description coverage and no output schema, the description is remarkably complete. It covers when to use (supply addresses to TEPs), preconditions (check overlaps), behavior (PUT semantics, audit log), error response format, and post-usage verification (get_ip_pool_usage). It leaves no critical gaps.

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

Parameters5/5

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

With schema description coverage at 0%, the description fully compensates by providing detailed parameter explanations in the Args section: pool_id format constraints, display_name purpose, start_ip/end_ip examples, cidr notation, gateway_ip optionality, and target defaulting. This adds significant meaning beyond the schema's bare titles.

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

Purpose5/5

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

The description clearly states the tool creates an IP address pool with a subnet and allocation range. It explicitly mentions the verb 'create' and the resource 'IP address pool', and distinguishes itself from sibling tools like list_ip_pools, delete_ip_pool, and get_ip_pool_usage.

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

Usage Guidelines5/5

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

The description provides clear usage guidance: it instructs to check list_ip_pools first to avoid overlapping ranges, explains that re-running with the same pool_id overwrites (PUT semantics), and gives context that IP pools supply addresses to NSX consumers like TEPs. It implicitly suggests using list_ip_pools before and get_ip_pool_usage after.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zw008/VMware-NSX'

If you have feedback or need assistance with the MCP directory API, please join our Discord server