Skip to main content
Glama

create_ip_pool

Create an IP address pool with a static subnet and allocation range so NSX consumers like tunnel endpoints receive addresses. Check existing pools first to avoid overlapping ranges.

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. Run list_ip_pools first to avoid overlapping ranges; start_ip and end_ip must both fall inside cidr. The same pool_id overwrites (PUT). Returns the created pool dict, else {"error", "hint"}. Then verify with get_ip_pool_usage; delete_ip_pool is the inverse.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cidrYesSubnet containing the range, e.g. "192.168.1.0/24".
end_ipYesLast allocatable IPv4 address, e.g. "192.168.1.100".
targetNoNSX Manager target from config (default if omitted).
pool_idYesUnique id (alphanumerics, hyphens, underscores only); becomes /infra/ip-pools/<pool_id>.
start_ipYesFirst allocatable IPv4 address, e.g. "192.168.1.10".
gateway_ipNoSubnet default gateway, e.g. "192.168.1.1".
display_nameYesUI display name.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed8 schema fields changedv1.8.16
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / cidr / description
      Added value: +"Subnet containing the range, e.g. \"192.168.1.0/24\"."
    • addedInput schema / properties / display_name / description
      Added value: +"UI display name."
    • addedInput schema / properties / end_ip / description
      Added value: +"Last allocatable IPv4 address, e.g. \"192.168.1.100\"."
    • addedInput schema / properties / gateway_ip / description
      Added value: +"Subnet default gateway, e.g. \"192.168.1.1\"."
    • addedInput schema / properties / pool_id / description
      Added value: +"Unique id (alphanumerics, hyphens, underscores only); becomes /infra/ip-pools/<pool_id>."
    • addedInput schema / properties / start_ip / description
      Added value: +"First allocatable IPv4 address, e.g. \"192.168.1.10\"."
    • addedInput schema / properties / target / description
      Added value: +"NSX Manager target from config (default if omitted)."
  2. First observedv1.3.2

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the write semantics explicitly with '[WRITE]', explains PUT overwrite behavior, describes the return value ('created pool dict, else {"error", "hint"}'), and states the validation constraint between parameters. This adds meaningful behavioral context that annotations alone do not provide.

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 front-loaded with the operation type and purpose, then gives concise workflow instructions. Every sentence adds value: prerequisite, constraint, behavior, return value, verification step, and inverse operation. No filler or redundancy.

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?

For a 7-parameter tool with no output schema and limited annotations, the description is remarkably complete. It covers prerequisites, operational behavior, validation rules, return shape, post-verification step, and inverse relationship. An agent has enough context to use and verify this tool correctly.

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

Parameters4/5

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

Schema coverage is 100%, so the schema already documents every parameter with examples. The description adds important cross-parameter semantics: start_ip and end_ip must both fall inside cidr, and the same pool_id overwrites. This justifies a score above the baseline 3, though not a 5 since most parameter meaning already lives in the schema.

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 states a specific action ('Create an IP address pool'), a specific resource ('IP address pool'), and its scope ('with one static subnet and allocation range'). It also differentiates from related tools by naming list_ip_pools, get_ip_pool_usage, and delete_ip_pool, making the tool's role in the workflow clear.

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 gives explicit usage guidance: run list_ip_pools first to avoid overlaps, ensure start_ip and end_ip fall inside cidr, be aware that same pool_id overwrites (PUT), verify with get_ip_pool_usage, and use delete_ip_pool as the inverse. This is strong practical routing and sequencing guidance.

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

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/vmware-skills/VMware-NSX'

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