Skip to main content
Glama

mikrotik_get_firewall_nat_rules

List firewall NAT rules (masquerade, dstnat, srcnat) on MikroTik RouterOS v7 devices, with an optional chain filter for targeted read-only inspection.

Instructions

List firewall NAT rules (masquerade, dstnat, srcnat).

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": "mikrotik_get_firewall_nat_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoOptional chain filter (e.g. 'srcnat', 'dstnat')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. 'List' implies a read-only, non-destructive operation, but the description does not state permissions required, whether disabled or dynamic rules are included, pagination behavior, or what the response contains.

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 redundant wording. For a simple list operation it is efficiently sized.

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?

The tool is simple (one optional parameter, no output schema), so the description need not explain return values. However, with no annotations and no output schema, the description could do more to clarify read-only behavior and result scope; it is minimally adequate rather than complete.

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 the single optional 'chain' parameter is already documented with an example ('srcnat', 'dstnat'). The parenthetical in the description loosely maps to chain/action concepts but adds no syntax or filtering semantics beyond what the schema provides.

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 uses a specific verb ('List') and resource ('firewall NAT rules'), and the parenthetical examples (masquerade, dstnat, srcnat) clarify what kinds of rules are covered. It distinguishes NAT rules from the sibling mikrotik_get_firewall_filter_rules by name and subject, though it does not explicitly contrast the two.

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 explicit when-to-use or when-not-to-use guidance, and no mention of the alternative filter-rules tool or when the optional chain filter should be applied. Usage is only implied by the tool name and the word 'List'.

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