Skip to main content
Glama

set_nat_rule_enabled

DestructiveIdempotent

Enable or disable a specific MikroTik NAT rule using its rule ID and desired state, to manage network address translation.

Instructions

Enable or disable one NAT rule.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
enabledYes
rule_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

The description adds no behavioral detail beyond what the annotations already provide. idempotentHint and destructiveHint are present, but the text does not explain consequences, such as whether disabling a rule affects active connections or whether the rule persists while disabled. It does not contradict the annotations, but it also does not add transparency.

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. Every word contributes to identifying the action and the target resource.

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?

This is minimally viable for a two-parameter toggle with an output schema and annotations: an agent can understand the core action. However, it lacks parameter provenance guidance, e.g., using list_nat_rules to find rule IDs, and does not address the destructiveHint implications that would help an agent use the tool carefully.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not explicitly explain rule_id or the enabled boolean. The phrase 'Enable or disable one NAT rule' implies the relationship, but there is no guidance on how to obtain a rule_id or the meaning of the enabled values beyond inference.

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?

The description uses a specific verb and resource ('Enable or disable' + 'one NAT rule') and the singular scope clarifies that it operates on a single rule. It is immediately distinguishable from siblings like set_firewall_rule_enabled and set_interface_enabled because it explicitly targets NAT rules.

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 guidance about when to use this tool versus alternatives such as list_nat_rules, add_nat_rule, or remove_nat_rule. No prerequisites, exclusions, or context is given; the resource name only weakly implies the intended scenario.

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