Skip to main content
Glama

get_ip_pool_usage

Read-onlyIdempotent

Check IP pool usage to see how many addresses are allocated. Use before deleting a pool to ensure no allocations remain, or to diagnose address exhaustion.

Instructions

[READ] Get current IP allocations for one IP address pool.

Use this after list_ip_pools to see how much of a pool is consumed — e.g. diagnosing TEP address exhaustion, or before delete_ip_pool, which cannot proceed while allocations remain. Returns a single dict (not the list envelope): pool_id, allocation_count and allocations (id, display_name, allocation_ip). An empty allocations list means the pool is unused, not that the query failed. On failure returns {"error", "hint"}.

Args: pool_id: IP pool ID, as returned by list_ip_pools. target: NSX Manager target from config (default if omitted).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNo
pool_idYes
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, etc. Description adds valuable context: returns a single dict with specific fields (pool_id, allocation_count, allocations), clarifies that an empty allocations list means unused (not failure), and describes error response format. No contradictions.

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 concise with a brief summary paragraph followed by parameter descriptions. Every sentence adds value, no fluff. Front-loaded with the purpose and key usage guidance.

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 simple tool with 2 parameters and no output schema, the description is comprehensive. It covers usage sequence, return format, interpretation of empty results, and error response. An agent can correctly invoke this tool without ambiguity.

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 0% schema description coverage, the description fully explains both parameters: pool_id is the IP pool ID as returned by list_ip_pools, and target is the NSX Manager target from the config with a default. This adds essential meaning beyond the schema's type and title.

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 it gets current IP allocations for one pool, using the verb 'get' with a specific resource. It distinguishes from sibling list_ip_pools by stating it is used after listing to see consumption, and from delete_ip_pool by noting it should be checked before deletion.

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?

Explicitly says when to use: after list_ip_pools and before delete_ip_pool. Provides concrete use cases like diagnosing TEP address exhaustion and checking for remaining allocations. No alternatives are needed as the purpose is clear.

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