Skip to main content
Glama
mhajder

NetBox MCP Server

by mhajder

Netbox Get Available

netbox_get_available
Read-onlyIdempotent

Find available IP addresses, child prefixes, VLAN IDs, or ASNs in a NetBox pool by specifying the parent type and ID.

Instructions

List free IPs, child prefixes, VLAN IDs or ASNs in a pool.

Examples: free IPs in prefix 12 -> ('ipam.prefix', 12, 'ips'); free /24s in a prefix -> ('ipam.prefix', 12, 'prefixes'); free VLAN IDs in group 3 -> ('ipam.vlangroup', 3, 'vlans').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYesWhat to look for: 'ips' (prefix or IP range), 'prefixes' (prefix), 'vlans' (VLAN group), 'asns' (ASN range).
limitNoMaximum results.
parent_idYesNumeric object ID.
parent_typeYesType of the parent object that holds the pool.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/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 covered. The description adds valid parent/kind combinations, which is useful, but says nothing about what 'free' means, how results are computed, or pagination behavior.

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?

Purpose is front-loaded in the first sentence, followed by three compact, illustrative examples. No filler; the examples earn their place by clarifying invocation. Slightly verbose in example repetition but well organized.

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?

With read-only annotations covering safety and an output schema covering return values, the description only needs to convey purpose and invocation, which it does. The remaining gap is sibling differentiation versus netbox_allocate_available.

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 baseline would be 3. The description earns above baseline by mapping valid parent_type/kind pairings (e.g., 'ips'/'prefixes' with ipam.prefix, 'vlans' with ipam.vlangroup), which the flat schema does not encode as constraints.

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?

States a specific verb (list) and resource (free IPs, child prefixes, VLAN IDs, ASNs in a pool), which is clearly distinct from generic readers like netbox_get_objects. However, it never names or contrasts the closely related sibling netbox_allocate_available, so the agent must infer the boundary between listing and allocating.

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?

The examples imply usage (free IPs in a prefix, free /24s in a prefix, free VLAN IDs in a group), giving the agent a sense of when this applies. But there is no explicit when-to-use / when-not guidance and no direction toward netbox_allocate_available for the consuming operation.

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