Skip to main content
Glama

Manage IPv6 Address

manage_ipv6_address
DestructiveIdempotent

Add, update, or remove static IPv6 addresses on MikroTik router interfaces, including EUI-64 and DHCPv6-PD pool addresses, with idempotent checks and dry-run support.

Instructions

Add, update, or remove a static IPv6 address on a MikroTik router interface, including EUI-64 and DHCPv6-PD pool (fromPool) addresses. Idempotent by address and interface: an identical add returns already_exists, an update with nothing to change returns no_change. Addresses are compared in canonical form. Dynamic addresses are refused. Supports dry-run for all actions.

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": {
      "action": "<action>",
      "address": "<address>",
      "interface": "<interface>"
    },
    "name": "manage_ipv6_address"
  }
}

Input Schema

NameRequiredDescriptionDefault
eui64NoGenerate the last 64 bits from the interface MAC (EUI-64); the prefix length must be 64 or shorter
noDadNoSkip duplicate address detection; omit to keep RouterOS's default (DAD on)
actionYesAction to perform: add, update, or remove an IPv6 address
dryRunNoIf true, validate and return planned changes without applying
addressYesIPv6 address with prefix length, e.g. 2001:db8::1/64. With eui64, a prefix such as 2001:db8:1::/64 (the interface ID is generated). With fromPool, the interface-ID suffix such as ::1/64 (the prefix comes from the pool).
commentNoOptional comment for the address entry
disabledNoWhether the address should be disabled
fromPoolNoIPv6 pool (e.g. one filled by DHCPv6 prefix delegation) that supplies the prefix; address then gives only the suffix
routerIdNoRouter ID; omit to use the default router.
advertiseNoAdvertise this prefix in router advertisements (SLAAC); omit to keep RouterOS's default
interfaceYesInterface the address is assigned to
confirmationTokenNoToken from a prior APPROVAL_REQUIRED response. Re-submit the identical call with this token to confirm the destructive action.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.18.0

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the concrete idempotency contract (already_exists on identical add, no_change on no-op update), canonical-form comparison, refusal of dynamic addresses, and dry-run support. The annotations already flag destructiveHint=true and idempotentHint=true, but the description explains what 'idempotent' actually means here, which is genuinely useful for deciding whether to retry.

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?

Four tight sentences: purpose and scope first, then idempotency semantics, then constraints (canonical comparison, dynamic refusal, dry-run). No filler wording and no redundancy with the schema.

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

Completeness4/5

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

For a 12-parameter destructive mutation with no output schema, the description covers the essentials an agent needs: idempotency outcomes, static-only constraint, and dry-run safety valve. It omits permission/auth prerequisites and does not mention the APPROVAL_REQUIRED confirmation flow, which is only visible in the schema's confirmationToken field.

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 100% and the schema already documents eui64, fromPool, address forms, advertise, noDad, and confirmationToken in detail. The description restates the EUI-64 and fromPool address shapes but adds no syntax or constraint detail beyond what the schema provides, so the baseline of 3 is appropriate.

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?

States a specific verb set (add/update/remove), a specific resource (static IPv6 address on a MikroTik router interface), and scopes it against the sibling list tools by emphasizing static-address management. An agent can distinguish it from manage_ip_address and list_ipv6_addresses without opening either schema.

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?

Gives clear usage context: only static addresses are handled, dynamic addresses are refused, and dry-run is available for all actions. It does not explicitly route the agent to an alternative tool (e.g., list_ipv6_addresses for reading, or manage_ip_address for IPv4), so the alternatives stay implicit.

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

Deploy Server

Other Tools