Skip to main content
Glama

Add a RouterOS item

mikrotik_add

Adds an item to any RouterOS menu via a specified path and properties, returning the new item's .id for subsequent configuration.

Instructions

Add an item to any RouterOS menu (/<path> add ...). Returns the new item's .id.

Input Schema

NameRequiredDescriptionDefault
pathYesRouterOS menu path, e.g. "/ip/address", "/interface/bridge/port" or "ip firewall filter".
deviceNoName of the configured device. Defaults to the first device (see mikrotik_list_devices).
propertiesYesItem properties as in the CLI, e.g. {"address": "10.0.0.1/24", "interface": "ether2"}.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds real value by disclosing the return value (the new item's .id), which matters because no output schema exists. It says nothing about duplicate creation on repeat calls, whether the item is enabled by default, or how invalid paths/properties fail.

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 sentences, front-loaded with the action and the CLI equivalent, with zero filler. Nothing could be removed without losing information.

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?

For a generic write tool against a live router with no output schema, the definition is minimally adequate: the schema covers inputs fully and the return value is stated. It is missing guidance on failure modes, on the generic-vs-specialized tool choice, and on the live-impact of the write, which an agent would want before invoking.

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%, and the schema already explains `path` formats, `device` defaulting, and the free-form `properties` object with an example. The description adds no parameter meaning beyond this, so the baseline 3 applies. The nested `properties` pass-through, the most error-prone parameter, is not elaborated further.

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?

The description gives a specific verb+resource ('Add an item to any RouterOS menu') and even shows the equivalent CLI form `/<path> add ...`, which makes the scope concrete. It is distinguishable from mikrotik_set/mikrotik_remove by the verb, but never names those siblings explicitly, so it stops short of a 5.

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?

There is no statement of when to use this generic add versus overlapping siblings such as mikrotik_firewall_add_rule (purpose-built) or mikrotik_run_command (which can also issue `add` commands). The only implicit guidance is 'any menu', which leaves the agent guessing at the boundary cases.

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