Skip to main content
Glama

scm_create_nat_rule

Create NAT rules in Palo Alto Networks Strata Cloud Manager to translate source or destination IP addresses and ports for network traffic routing.

Instructions

Create a NAT rule.

Args: name: Unique name for the NAT rule. folder: Folder to create the rule in. nat_type: NAT type — 'ipv4' (most common), 'nat64', or 'nptv6'. source_zone: List of source zone names. destination_zone: List of destination zone names. source: Source address objects/groups (default ['any']). destination: Destination address objects/groups (default ['any']). service: Service name (default 'any'). source_translation: Dict describing source NAT, e.g. {'dynamic_ip_and_port': {'interface_address': {'interface': 'ethernet1/1'}}}. destination_translation: Dict describing destination NAT (DNAT/port forwarding), e.g. {'translated_address': '10.0.0.5', 'translated_port': 8080}. description: Optional description. tag: Optional list of tag names. disabled: Whether the rule is disabled (default False). tsg_id: Optional TSG ID or named alias. Defaults to SCM_TSG_ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
folderYes
nat_typeYes
source_zoneYes
destination_zoneYes
sourceNo
destinationNo
serviceNo
source_translationNo
destination_translationNo
descriptionNo
tagNo
disabledNo
tsg_idNo
Behavior2/5

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

With no annotations provided, the description carries full burden but offers minimal behavioral disclosure. It states this is a creation tool (implying mutation) but doesn't mention permission requirements, whether changes are immediate or require commit, error conditions, rate limits, or what the tool returns. For a 14-parameter creation tool with zero annotation coverage, this is inadequate.

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?

The description is well-structured with a brief purpose statement followed by organized parameter documentation. Each parameter explanation is concise yet informative. While slightly lengthy due to 14 parameters, every sentence earns its place by adding semantic value not present in the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex creation tool with 14 parameters, no annotations, and no output schema, the description is incomplete. While parameter semantics are well-covered, it lacks crucial context about the creation process: what permissions are needed, whether a commit is required, what the return value contains, error handling, and how this integrates with the broader SCM workflow. The parameter documentation is strong, but overall completeness is insufficient.

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?

With 0% schema description coverage, the description fully compensates by providing detailed parameter explanations beyond just names. It clarifies defaults ('any', False, null), gives nat_type enum values, provides concrete examples for complex parameters (source_translation, destination_translation), and explains optional vs required parameters. This adds substantial value over the bare schema.

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 clearly states the tool creates a NAT rule, specifying the verb 'Create' and resource 'NAT rule'. It distinguishes itself from siblings like 'scm_update_nat_rule' and 'scm_delete_nat_rule' by its creation purpose, but doesn't explicitly contrast with other rule types like security or PBF 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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., existing zones, addresses), when NAT rules are appropriate versus other rule types, or what happens after creation (e.g., need for commit). With many sibling tools available, this lack of context is a significant gap.

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/ReverseThrottle/scm-mcp'

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