Skip to main content
Glama
yaylaerkan

palo-alto-bgp-ipsec

by yaylaerkan

get_dhcp_leases

Read-only

Retrieve DHCP server lease records from a firewall to view active IP assignments, lease durations, and associated clients. Use to verify address allocation and troubleshoot IP conflicts.

Instructions

[READ-ONLY] Retrieves DHCP server lease information. Executes: show dhcp server lease all.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
firewallNoTarget firewall name (from firewalls.json). Required when multiple firewalls are configured; optional otherwise.
Install Server

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the read-only behavior is covered. The description adds the exact command executed, which is helpful context, but it does not disclose return format, whether output can be large, or any filtering/pagination behavior. That is acceptable for a simple read-only command, but no extra behavioral context beyond the annotation is added.

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?

The description is compact and information-dense: one sentence states purpose, read-only nature, and the exact CLI command. It is front-loaded and avoids unnecessary detail, though it could have added a brief note about expected output.

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 one-parameter read-only tool, the definition is complete enough to invoke correctly, but there is no mention of possible response shape or how many leases might be returned. Since there is no output schema, a brief hint about the return data (e.g., lease list with IP/MAC) would improve completeness.

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?

The schema has one optional parameter (firewall) with a clear description, and schema description coverage is 100%. The description does not need to add much; it correctly implies the firewall parameter is only required when multiple firewalls are configured, matching the schema's optional-required condition.

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 clearly identifies the tool as retrieving DHCP server lease information, specifies a read-only nature, and names the exact firewall command executed. It distinguishes itself from sibling tools like get_arp_table / get_routing_table in that it targets DHCP leases specifically.

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 description implies usage for querying DHCP lease info and the schema clarifies when the firewall parameter is needed. However, it does not explicitly state when to choose this over alternatives, nor does it mention that no write/mutation is involved, though the READ-ONLY prefix partially covers that.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yaylaerkan/palo-alto-bgp-ipsec'

If you have feedback or need assistance with the MCP directory API, please join our Discord server