Skip to main content
Glama

Remove a RouterOS item

mikrotik_remove
Destructive

Removes a RouterOS configuration item by ID or exact-match filter from a specified menu path on a target device.

Instructions

Remove an item (/<path> remove <id>), identified by id or a where filter matching exactly one item.

Input Schema

NameRequiredDescriptionDefault
idNo
pathYesRouterOS menu path, e.g. "/ip/address", "/interface/bridge/port" or "ip firewall filter".
whereNoEquality filters, e.g. {"type": "ether", "disabled": false}.
deviceNoName of the configured device. Defaults to the first device (see mikrotik_list_devices).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare `destructiveHint: true`, `idempotentHint: false`, and `openWorldHint: true`. The description adds a meaningful behavioral safety rule: the item is removed by `id` or by a `where` filter that matches exactly one item, which helps prevent accidental mass deletion. It omits details about permissions, irreversibility, and response behavior, but the annotations carry much of that burden.

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 a single front-loaded sentence with no filler. The action and command syntax come first, followed by the key targeting constraint.

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 destructive mutation tool with rich annotations and no output schema, the description supplies enough to call it correctly: `path` is required, and the target is selected by `id` or an exactly-one-match `where` filter. It could say more about confirmation/irreversibility, but the annotations already signal destructiveness.

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?

Schema coverage is 75%, so the schema already documents `path`, `where`, and `device`. The description adds useful semantics beyond the schema by clarifying that the target is identified either by `id` or by a `where` filter matching exactly one item.

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 ('Remove'), resource ('item'), and even the RouterOS command form, with identification by `id` or a `where` filter. It does not explicitly contrast with siblings like `mikrotik_run_command` or `mikrotik_set`, so it stops short of the sibling-differentiation bar for 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 Guidelines3/5

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

The description gives an important selection constraint: a `where` filter must match exactly one item. However, it provides no explicit when-to-use/when-not guidance and does not name alternatives such as `mikrotik_run_command` or `mikrotik_set`.

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