Skip to main content
Glama

Manage DHCP Lease

manage_dhcp_lease
Idempotent

Convert a dynamic DHCP lease to static or remove a lease using its MAC address. Idempotent operations for reliable network management.

Instructions

Convert a dynamic DHCP lease to static (make-static) or remove a lease. Idempotent by MAC address.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
routerIdNoRouter ID; omit to use the default router.
actionYesAction to perform: make-static converts a dynamic lease to static; remove deletes the lease
macAddressYesMAC address of the lease — idempotency key (case-insensitive)
dryRunNoPreview changes without applying.
Behavior3/5

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

Annotations already indicate the tool is not read-only, not destructive, and idempotent. The description adds the detail 'Idempotent by MAC address,' reinforcing the idempotent hint. However, no further behavioral context is given (e.g., what happens if the lease does not exist, whether removal is reversible).

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 16-word sentence that efficiently front-loads the actions and key property (idempotency). No fluff or unnecessary repetition.

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 tool with 4 parameters, no output schema, and good schema coverage, the description is mostly complete. It covers the core actions and idempotency. However, it could clarify whether 'remove' applies to all leases or only dynamic ones, and mention error scenarios.

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 description does not add any meaning beyond the schema; it only restates the concept of idempotency by MAC, which is already in the schema parameter description. No extra semantic value.

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 tool's purpose: converting a dynamic DHCP lease to static or removing a lease. It specifies the resource (DHCP lease) and actions (make-static, remove), distinguishing it from sibling tools like manage_dhcp_client and manage_dhcp_server.

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 implies usage (when you need to make a lease static or remove it) but provides no explicit guidance on when to use this tool versus alternatives such as list_dhcp_leases or other manage_ tools. No when-not-to-use or alternative tools are mentioned.

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/AliKarami/MikroMCP'

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