Skip to main content
Glama
WLAN-Pi
by WLAN-Pi

get_dhcp_leases

Retrieve DHCP leases held by the WLAN Pi from dhclient lease files to identify IP assignments and client connections.

Instructions

Get DHCP leases held by the WLAN Pi (parsed from dhclient lease files).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It does reveal that leases are parsed from local dhclient lease files, which is useful context beyond the tool name. It does not state side-effect-free behavior or edge cases, but for a simple read operation the source disclosure provides moderate transparency.

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, efficient sentence with no filler. It front-loads the primary action and resource, then adds the source detail in a parenthetical. Every word earns its place.

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?

The tool has no input parameters and an output schema is present, so the description does not need to explain return values or parameter usage. The source of the leases is stated, making the definition complete for an agent deciding to call this tool.

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 the baseline is 4. The description adds context about where the data comes from, but no parameter-specific semantics are needed since the input schema is empty.

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 identifies a specific verb and resource: 'Get DHCP leases held by the WLAN Pi'. It also adds a distinguishing detail about the data source ('parsed from dhclient lease files'), which clearly separates it from sibling tools like renew_dhcp_lease.

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 intended use is implied by the tool name and description: use it to read currently held DHCP leases. However, it does not explicitly state when to use this instead of related tools such as renew_dhcp_lease, nor does it provide exclusions or alternatives.

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