Skip to main content
Glama

vyos_configure_dhcp_server

Configure a VyOS DHCP server subnet within a shared network in one commit, setting options like default router, name server, and address ranges, with optional save to persist changes.

Instructions

Configure a DHCP server shared-network subnet in one commit.

Args: shared_network: Shared-network name, e.g. "LAN". subnet: Subnet CIDR, e.g. "192.168.0.0/24". settings: {space-separated path: value} under the subnet, e.g. {"subnet-id": "1", "option default-router": "192.168.0.1", "option name-server": "192.168.0.1", "range 0 start": "192.168.0.100", "range 0 stop": "192.168.0.200"}. save: Persist after commit (default False).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "shared_network": "<shared_network>",
      "subnet": "<subnet>",
      "settings": "<settings>"
    },
    "name": "vyos_configure_dhcp_server"
  }
}

Input Schema

NameRequiredDescriptionDefault
saveNo
subnetYes
settingsYes
shared_networkYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does partially meet it: 'in one commit' and 'save: Persist after commit (default False)' disclose the VyOS commit-vs-persist distinction, which is genuinely useful behavior. However, it omits whether existing subnet config is merged or overwritten, what happens on invalid settings paths, and whether failure leaves a pending uncommitted change.

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?

Front-loaded one-line summary followed by a scannable Args list; every entry earns its place, with the settings example doing the most work. Minor deduction for the docstring-style formatting and trailing blank line, which add nothing.

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 not be explained, and the parameter documentation is strong. But for a mutation tool with zero annotations and a free-form nested object, the description should say something about overwrite semantics, permission/config-mode requirements, or failure behavior; those gaps remain.

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

Parameters5/5

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

Schema coverage is 0%, so the description must compensate, and it does: every one of the four parameters is explained, and the opaque nested 'settings' object is illustrated with a concrete dict showing the space-separated path key convention ('range 0 start', 'option default-router'). That key-format example is exactly the information an agent cannot derive from the free-form object schema.

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 a specific resource ('a DHCP server shared-network subnet'), plus the atomicity note 'in one commit'. This clearly separates it from sibling read tools like vyos_show_dhcp_leases and from generic config tools such as vyos_configure_batch, though it never names an alternative explicitly.

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 or when-not-to-use guidance is given, and no alternative is named. The phrase 'in one commit' implies the tool applies a whole subnet atomically, but the agent must infer from sibling names whether this or vyos_configure_batch is appropriate.

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