Skip to main content
Glama

Manage DHCP Server

manage_dhcp_server
Idempotent

Add, remove, enable, or disable a DHCP server on a MikroTik router with idempotent operations by server name.

Instructions

Add, remove, enable, or disable a DHCP server. Idempotent by name: add returns already_exists if a server with the same name, interface, and address pool already exists.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
routerIdNoRouter ID; omit to use the default router.
actionYesAction to perform
nameYesServer name — idempotency key
interfaceNoInterface to serve DHCP on (required for add)
addressPoolNoIP pool name (required for add)
leaseTimeNoLease duration (e.g. '1d', '12h')
commentNoOptional comment
dryRunNoPreview changes without applying.
Behavior3/5

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

Annotations already indicate idempotentHint=true and destructiveHint=false. The description adds specific idempotency behavior by name but does not disclose side effects of actions (e.g., whether remove fails if server doesn't exist, or what enable does if already enabled).

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?

Two concise sentences with no redundant information. Every word adds value, and the idempotency note is front-loaded.

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?

Given 8 parameters and full schema coverage, the description covers the core behavior but lacks details on prerequisites (e.g., server must exist for non-add actions) and interaction between 'dryRun' and other actions. No output schema exists, but the description doesn't mention return values beyond 'already_exists'.

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 description coverage is 100%, so baseline is 3. The description adds context by linking idempotency to the 'name' parameter, but does not significantly enhance understanding of other parameters like 'dryRun' or 'leaseTime' beyond the 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 explicitly states the tool manages DHCP servers via add, remove, enable, or disable. It clearly distinguishes from sibling tools like list_dhcp_servers (read-only) and manage_dhcp_lease (different resource).

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 mentions idempotency but does not provide guidance on when to use this tool versus other management tools (e.g., manage_dhcp_lease, manage_ip_pool). No explicit when-not-to-use or alternatives are given.

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

Install Server

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/AliKarami/MikroMCP'

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