Skip to main content
Glama

Manage VLAN Interface

manage_vlan
DestructiveIdempotent

Manage VLAN interfaces on MikroTik devices: create, delete, enable, or disable them. Idempotent by name and supports dry-run preview.

Instructions

Add, remove, enable, or disable a VLAN interface. Idempotent by name: add returns already_exists when a VLAN with matching name, vlan-id, and parent interface exists. Supports dry-run mode.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
routerIdNoRouter ID; omit to use the default router.
actionYesAction to perform
nameYesVLAN interface name — idempotency key (alphanumeric, hyphens, underscores, max 15 chars)
vlanIdNoVLAN ID (1-4094; required for add)
parentInterfaceNoParent interface name (e.g., ether1, bridge1; required for add)
mtuNoMTU size (add only)
disabledNoWhether to create the VLAN disabled (add only)
commentNoOptional comment (add only)
dryRunNoPreview changes without applying.
confirmationTokenNoToken from a prior APPROVAL_REQUIRED response. Re-submit the identical call with this token to confirm the destructive action.
Behavior4/5

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

Beyond the annotations (destructiveHint, idempotentHint), the description explains idempotency behavior on add and supports dry-run. It does not detail the exact effects of destructive actions like remove, but the annotations already signal destructiveness.

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 two sentences (30 words) with no wasted text. The first sentence immediately states the tool's purpose, and the second adds key behavioral details.

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

Completeness5/5

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

Given the rich schema covering all parameters and the annotations, the description adds sufficient behavioral context (idempotency, dry-run) for an agent to use the tool correctly. No output schema is present, but return values are not expected to be described.

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

Parameters4/5

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

The input schema already has 100% coverage with descriptions for all 10 parameters. The description adds value by explaining that idempotency is keyed on name, vlanId, and parentInterface, and mentions dry-run mode, reinforcing schema details.

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 states the tool adds, removes, enables, or disables a VLAN interface. It uses a specific verb and resource, distinguishing it from many sibling tools that manage other resources like bridges or DHCP leases.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for VLAN interface management and mentions idempotency and dry-run mode. However, it does not explicitly state when to use this tool over alternatives, nor does it provide when-not-to-use guidance.

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