Skip to main content
Glama

List Bridge VLANs

list_bridge_vlans
Read-onlyIdempotent

Lists MikroTik bridge VLAN table entries with configured and active tagged/untagged ports, dynamic status, and filters by bridge or VLAN ID plus pagination.

Instructions

List the bridge VLAN table (interface/bridge/vlan) on a MikroTik router: per entry the bridge, vlan-ids, configured tagged/untagged ports, the current-tagged/current-untagged ports RouterOS actually applies, and whether it is dynamic. Filter by bridge and by a VLAN id (matched inside ranges and lists), with pagination.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_bridge_vlans"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results to return.
bridgeNoOnly entries of this bridge
offsetNoPagination offset.
vlanIdNoOnly entries whose vlan-ids include this VLAN (ranges and lists are expanded)
routerIdNoRouter ID; omit to use the default router.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.18.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile needs no restating. The description still adds real domain value beyond that: it explains the distinction between configured tagged/untagged ports and the 'current' ports RouterOS actually applies, plus the dynamic flag — details an agent needs to interpret results correctly.

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?

A single dense sentence, but well front-loaded: resource path first, then returned fields, then filtering and pagination. No filler sentences, though the long enumeration of returned fields makes it heavier than it needs to be.

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?

There is no output schema, so describing the returned per-entry fields is essential and the description does it. Combined with filter and pagination notes and a 5-param schema that is fully documented, an agent has enough to call this correctly; only cross-tool routing guidance is absent.

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%, so all five parameters (limit, offset, bridge, vlanId, routerId) are already documented. The description restates the filtering and pagination behavior and reinforces that vlanId matching expands ranges and lists, which is corroboration rather than net-new meaning, so the baseline 3 applies.

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 names a specific verb and resource ('List the bridge VLAN table (interface/bridge/vlan)') and enumerates the per-entry fields returned, so the agent knows exactly what data comes back. It does not explicitly contrast itself with the sibling write tools (manage_bridge_vlan, manage_bridge), leaving that inference to the 'List' vs 'manage' naming.

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?

Usage is implied rather than stated: 'List... with pagination' and 'Filter by bridge and by a VLAN id' tell the agent how to narrow results but not when to prefer this tool over manage_bridge_vlan or list_bridge_ports. No when-not-to-use condition or prerequisite (e.g., router connectivity) is given.

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