Skip to main content
Glama

remove_dhcp_lease

Delete a DHCP lease by IP address, showing a preview first unless confirm=true is set. Use to clear stale or unwanted leases from Pi-hole.

Instructions

Remove a DHCP lease by IP. Preview unless confirm=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipYes
confirmNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses a preview-by-default behavior and the role of confirm=true, which is critical safety context for a destructive operation. It still lacks details about permissions, irreversibility, or consequences of removing an active lease.

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 two short, front-loaded sentences with no wasted text. The core action and the safety condition are immediately visible.

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 two-parameter mutation tool with an output schema, the description covers the essential action and preview/confirm safety behavior. It is nearly complete, though it could say more about what happens to clients using the lease or whether actual removal is irreversible.

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 description coverage is 0%, so the description must compensate. It does so by explaining that ip identifies the lease and that confirm=true is required to actually remove rather than preview. It does not add format details for the IP string, but both parameters receive meaningful semantic context.

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?

The description states a specific verb and resource: 'Remove a DHCP lease by IP.' This clearly separates it from read-oriented siblings like list_dhcp_leases, though it does not explicitly name that sibling or explain the relationship.

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 implied usage rule with 'Preview unless confirm=true,' which tells the agent how to safely invoke it. However, it does not explain when to use this tool versus alternatives such as list_dhcp_leases, nor does it state prerequisites or exclusions.

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