Skip to main content
Glama

create_nat_rule

Creates a NAT rule (SNAT, DNAT, or REFLEXIVE) on a Tier-1 gateway to translate network addresses. Specify rule ID, gateway, action, and networks.

Instructions

[WRITE] Create a NAT rule on a Tier-1 gateway.

Args: tier1_id: The Tier-1 gateway ID. rule_id: Unique ID for the NAT rule. action: NAT action: "SNAT", "DNAT", or "REFLEXIVE" (default "DNAT"). source_network: Source network CIDR (required for SNAT). destination_network: Destination network CIDR (required for DNAT). translated_network: Translated network/IP address (required for SNAT, DNAT, and REFLEXIVE). target: Optional NSX Manager target name from config. Uses default if omitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNoDNAT
targetNo
rule_idYes
tier1_idYes
source_networkNo
translated_networkNo
destination_networkNo
Behavior3/5

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

Annotations indicate a write operation with no destruction or idempotency, and openWorldHint=true. The [WRITE] prefix confirms the write nature, but the description does not elaborate on side effects, permissions, or rate limits. It adds some value beyond annotations but leaves gaps.

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 concise, uses a clear 'Args:' list format, and front-loads the purpose with a [WRITE] marker. Every sentence adds value with no redundancy.

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?

Parameters are well-documented, but the description omits return value information (no output schema) and does not mention error conditions or prerequisites. For a 7-parameter tool with no output schema, this is a moderate gap.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden. It explains each parameter's meaning, required conditions, and defaults (e.g., source_network required for SNAT). This provides critical context absent from the schema.

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 clearly states the action ('Create') and the resource ('a NAT rule on a Tier-1 gateway'), with a [WRITE] prefix for emphasis. It is distinct from sibling tools like delete_nat_rule and list_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 Guidelines3/5

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

The description lists parameter details and defaults, but does not provide guidance on when to use this tool versus alternatives (e.g., static routes) or any context around prerequisites or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zw008/VMware-NSX'

If you have feedback or need assistance with the MCP directory API, please join our Discord server