Skip to main content
Glama

reserve_client_ip

Idempotent

Assign a fixed IP address to a client by creating a DHCP reservation, ensuring it retains the same address across leases.

Instructions

Create a DHCP reservation pinning an IP to a client.

Mutating operation: reserves the client's current IP (when ip is omitted) or the given IPv4 address, so the client keeps it across leases. Requires the client to be known; use list_clients to find the current IP if needed.

Args: client: Client MAC address or name to reserve an IP for. ip: Optional IPv4 address to reserve; omit to keep the client's current IP. site: Site to operate on. Defaults to "default". device: Optional device name to target a specific console; omit for default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipNoOptional IPv4 address to reserve; omit to keep the client's current IP.
siteNoSite to operate on. Defaults to "default".default
clientYesClient MAC address or name to reserve an IP for.
deviceNoOptional device name to target a specific console; omit for default.
Install Server

TDQS

A4.1/5.0
Behavior4/5

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

The description explicitly labels the operation as 'Mutating operation' and explains the lasting effect: the client keeps the IP across leases. This adds behavioral detail beyond the idempotentHint annotation, covering conditional behavior when ip is omitted versus provided.

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 front-loaded with a clear purpose and includes a useful mutation warning before the args list. The only minor redundancy is repeating the ip omission behavior in both the prose and the parameter list, but overall it is appropriately sized and structured.

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?

For a single-required-parameter mutation with no output schema, the description covers the prerequisite, default values, and the effect of the operation. It is sufficient for an agent to decide when and how to call it, though it does not describe response/error behavior.

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?

Schema description coverage is 100%, so the baseline is 3. The Args section essentially mirrors the schema descriptions (client as MAC/name, ip optional, site default, device optional), adding little new parameter-level meaning beyond what the schema already provides.

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 opens with 'Create a DHCP reservation pinning an IP to a client,' which names a specific verb, resource, and outcome. It clearly explains the two modes—reserving the current IP or a provided IPv4—so the tool's function is unambiguous even among many sibling tools.

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

Usage Guidelines4/5

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

It states the prerequisite that the client must already be known and explicitly points to list_clients for discovering the current IP. This gives clear context for when and how to invoke the tool, though it does not discuss exclusionary cases or alternatives beyond that.

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

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/mikeholownych/unifi-mcp'

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