Skip to main content
Glama

vyos_show_dhcp_leases

Retrieves active DHCP server leases from a VyOS router, showing currently assigned IP addresses and client details for troubleshooting and verification.

Instructions

Show active DHCP server leases.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "vyos_show_dhcp_leases"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing: neither that the operation is read-only/safe, nor whether results are live runtime state versus config, nor any timeout or auth requirement. 'Active' is the only qualifier and its meaning (unexpired leases vs bound leases) is left undefined.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity borders on under-specification rather than tightness.

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

Completeness3/5

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

For a zero-parameter read tool with an output schema, the description covers the essentials of what is returned, so return-value documentation is not needed. It still omits operating context: whether DHCP must be enabled, what 'active' filters out, and whether the data comes from runtime state or the config tree.

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 schema declares zero parameters, so there is no parameter meaning the description needs to add; baseline for a no-param tool applies. The only semantic hint, that results are restricted to active leases, is already in the description but is not a parameter concern.

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?

States a concrete verb and resource: 'Show active DHCP server leases.' The read-only 'show' verb and the DHCP-lease resource distinguish it from the sibling vyos_configure_dhcp_server and from other vyos_show_* tools without opening any schema.

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

Usage Guidelines2/5

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

No when-to-use context, no preconditions (e.g. that a DHCP server must be configured), and no routing to alternatives such as vyos_show or vyos_show_config. The agent must infer that this is the read path for DHCP lease inspection from the name alone.

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