Skip to main content
Glama

remove_static_lease

Destructive

Delete a device's static DHCP reservation by MAC address, so it reverts to a dynamic IP at next lease renewal.

Instructions

Delete the static DHCP reservation for a MAC and save the router config. Irreversible (re-create it with set_static_lease). The device stays online but may get a different dynamic IP at its next lease renewal. Use list_static_leases to find the exact MAC first. To move a device to another IP, call set_static_lease/pin_device directly instead of removing first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
macYesDevice MAC address, e.g. aa:bb:cc:dd:ee:ff (case-insensitive).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Discloses effects beyond annotations: irreversibility, config save, device staying online, possibly receiving a different dynamic IP. DestructiveHint=true is confirmed and expanded with the exact consequences and recovery path.

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?

Every sentence is functional: action, irreversibility, network consequence, prerequisite, and routing to alternatives. Front-loaded primary action, no filler.

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

Completeness5/5

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

For a one-parameter destructive command, description covers prerequisites, consequences, alternatives, and recovery. Output schema exists, so return-format documentation is not required. Nothing an agent needs to call this safely is missing.

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?

Input schema already fully documents the MAC parameter (100% coverage) with format and case-insensitivity, so description adds little about semantics. The instruction to find the exact MAC through list_static_leases adds value but baseline 3 applies because schema covers the parameter definition.

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?

States the action precisely: 'Delete the static DHCP reservation for a MAC and save the router config.' Names the resource (static DHCP reservation) and differentiates from siblings by referencing set_static_lease and list_static_leases. An agent knows exactly what operation this performs.

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

Usage Guidelines5/5

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

Explicitly instructs to 'Use list_static_leases to find the exact MAC first' and warns 'To move a device to another IP, call set_static_lease/pin_device directly instead of removing first.' This gives clear when-to-use, prerequisites, and exclusions.

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