Skip to main content
Glama

list_static_leases

Read-onlyIdempotent

View static DHCP reservations (MAC-to-IP) to check which addresses are already pinned before setting or removing a lease.

Instructions

List static DHCP reservations (MAC → fixed IP) from the router's running-config (read-only). Use this to check which IPs are already reserved before set_static_lease/pin_device, or to find the MAC to pass to remove_static_lease. Includes offline devices; for currently connected devices use list_devices.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/destructive behavior, and the description adds useful context: it reads from the router's running-config and includes offline devices, which affects how results should be interpreted. This goes beyond the annotations without contradicting them.

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 compact: the core operation is front-loaded, and each sentence earns its place by adding use-case or alternative tool guidance. There is no filler or redundancy.

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 simple, zero-parameter read-only list operation with an output schema and strong annotations, the description covers source, scope, and use cases. Nothing needed to invoke or route correctly is missing.

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?

The tool has zero parameters, so there is no parameter semantics burden on the description. The input schema is empty and fully covered, and the description adds all needed operational context.

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 names a specific verb and resource: 'List static DHCP reservations (MAC → fixed IP)'. It further distinguishes itself from list_devices by noting it covers offline devices, so an agent can tell these tools apart immediately.

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?

The description explicitly states when to use this tool: before set_static_lease/pin_device to check reserved IPs, and to find the MAC for remove_static_lease. It also names the alternative list_devices for currently connected devices, giving clear routing guidance.

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