Skip to main content
Glama

list_devices

Read-onlyIdempotent

Identify devices with active DHCP leases by viewing their IP, MAC, name, and remaining lease time. Use this to locate a device before assigning a static lease or renaming it.

Instructions

List devices currently holding a DHCP lease: ip, mac, name, remaining lease time (live, read-only). Use this to find a device's IP/MAC before pin_device or rename_device. For fixed reservations (including offline devices) use list_static_leases instead.

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 establish readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is covered. The description adds value beyond annotations by noting the data is 'live, read-only' and that it shows current DHCP lease state, including remaining lease time. No contradictions or hidden behavioral surprises.

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?

Three short sentences, each earning its place: the first states the core purpose and fields, the second gives a concrete call-to-action, and the third routes to the correct alternative. The most important scoping constraint is front-loaded.

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 parameterless, read-only list operation with an output schema and strong annotations, the description covers what the tool returns, when to use it, and which sibling to use instead. Nothing an agent needs to invoke it 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 the description need not explain parameter semantics. The baseline of 4 applies because there is nothing for the description to compensate for, and the 100% schema coverage is trivially satisfied by the empty schema.

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 states a specific verb ('List') and a precise resource ('devices currently holding a DHCP lease'), and enumerates the returned fields: ip, mac, name, remaining lease time. It also distinguishes itself from list_static_leases by explicitly scoping to live DHCP leases, so an agent can choose correctly without opening the schema.

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?

It gives explicit when-to-use guidance: use this before pin_device or rename_device to find a device's IP/MAC. It also gives an explicit when-not-to-use condition, directing agents to list_static_leases for fixed reservations and offline devices.

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