Skip to main content
Glama
alsamasu

phpIPAM MCP Server

by alsamasu

phpipam.addresses.allocate

Allocate the first available IP address in a subnet. Provide subnet ID and optional hostname, MAC, owner, or notes to assign the next free address.

Instructions

Allocate the first available IP address in a subnet. Requires PHPIPAM_WRITE_ENABLED=true

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
macNoMAC address
noteNoAdditional notes
ownerNoOwner/responsible person
hostnameNoHostname for the address
subnetIdYesSubnet ID to allocate from
descriptionNoDescription
Behavior2/5

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

No annotations are provided, so the description carries the full burden of disclosure. It mentions the write-enable requirement and that allocation picks the first available IP, but it does not specify return values, failure modes (e.g., subnet full), persistence guarantees, or any other side effects. For a mutating tool this is a significant transparency gap.

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 a single, front-loaded sentence that directly states the purpose and the critical environment requirement. Every word is useful; there is no redundancy or fluff.

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

Completeness3/5

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

With no output schema, the description should ideally mention what the tool returns or how to interpret success, but it only covers the core action and the write-enable prerequisite. For a simple allocation tool with well-described parameters, it is minimally adequate but leaves important context (e.g., returned IP, error behavior) unstated.

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

Parameters3/5

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

The input schema already provides descriptions for all 6 parameters (100% coverage), so the baseline is 3. The description adds no parameter-level detail beyond 'in a subnet', but it also does not need to since the schema already documents each parameter clearly.

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 action ('Allocate'), the resource ('first available IP address in a subnet'), and the scope ('in a subnet'). It distinguishes itself from sibling tools like release (frees an address) and upsert (sets a specific address) by emphasizing automatic first-available allocation.

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 description gives an important usage precondition (PHPIPAM_WRITE_ENABLED=true) and implies the tool is for automatically assigning a free IP rather than a specific one. However, it does not explicitly compare itself to alternatives like addresses.upsert or addresses.release, nor does it state when not to use it.

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/alsamasu/phpipam-mcp'

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