Skip to main content
Glama

create_dhcp_server

Create a DHCP server on a specified MikroTik interface, setting lease time and optional address pool to allocate IP addresses dynamically.

Instructions

Creates a DHCP server bound to the specified interface on the MikroTik device.

Notes: lease_time: duration e.g. "1d", "12h", "30m", "1h30m"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
deviceNo
commentNo
disabledNo
interfaceYes
lease_timeNo1d
address_poolNo
authoritativeNoyes
delay_thresholdNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations include destructiveHint=false and openWorldHint=false, setting a low bar. The description adds a useful note about lease_time duration format, which is extra context. However, it does not disclose potential side effects, validation requirements, or behavior on conflicting configurations.

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?

The description is succinct, with the main action upfront and a single structured note. No filler or redundant content; every sentence adds value.

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

Completeness2/5

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

With 9 parameters, only 2 required, and no parameter descriptions, the tool is underspecified. The output schema exists, so return values are covered, but the description lacks context about dependencies (e.g., interface must exist), typical usage flow, or implications of settings like authoritative. The lease_time note is helpful but not enough.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It only explains lease_time, leaving other parameters (name, interface, address_pool, authoritative, etc.) with no additional meaning beyond bare names and types. This is insufficient for a 9-parameter tool.

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 action ('Creates a DHCP server') and the target resource ('bound to the specified interface on the MikroTik device'). It is specific and distinguishable from sibling tools like list_dhcp_servers or create_dhcp_network.

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 is provided on when to use this tool versus alternatives, such as create_dhcp_network or create_dhcp_pool. It does not mention prerequisites (e.g., existing interface, address pool) or exclusions.

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/jeff-nasseri/mikrotik-mcp'

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