Skip to main content
Glama

configure_dhcp_server

Enable DHCP on a Cisco Packet Tracer device and create or update address pools with gateway, DNS, start IP, mask, and lease limits.

Instructions

Configure the DHCP service of a server: switch it on and create or update pools (gateway, DNS, start address, mask, maximum users). Existing pools with the same name are updated.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
portNoPort the DHCP service runs on. Defaults to `FastEthernet0`.
poolsNo
deviceYes
enabledNoSwitch the service on or off. Defaults to on.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
portYes
poolsYes
deviceYes
enabledYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare it is a non-read-only, non-destructive, closed-world write. The description usefully adds the idempotency semantics ('existing pools with the same name are updated') and the default-on behavior, but says nothing about whether unspecified pools are preserved or removed, or whether the service restarts.

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?

Two sentences, front-loaded with the action and then the pool fields and update rule. No filler, though the parenthetical field list is a slightly dense inventory.

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?

An output schema exists, so return values need no explanation, and annotations cover safety. However, for a mutation tool whose schema leaves `device`/`port` undocumented, the description should clarify which device identifier is expected and the port default to be fully actionable.

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?

Schema coverage is 50%; the pool fields are well documented but `device` and `port` have no schema description, and the description only loosely covers `enabled` ('switch it on') without mentioning port or device naming. It compensates partially but leaves gaps.

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 specific verb (configure) and resource (DHCP service of a server), and enumerates the sub-actions (enable, create/update pools). It doesn't distinguish itself from the sibling configure_dns_server, so it stops short of a 5.

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 guidance on when to use this versus configure_dns_server, set_server_service, or list_server_services, and no prerequisites or exclusions stated. The agent must infer the context 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.