Skip to main content
Glama
jelmervdm

Sophos Firewall MCP Server

by jelmervdm

sophos_create_nat_rule

Create NAT rules for port forwarding, SNAT masquerading, or DNAT inbound translation on Sophos Firewall.

Instructions

Create a Network Address Translation (NAT or DNAT) rule.

Use when defining port forwarding, SNAT masquerading, or DNAT inbound translation rules.

Args: name: Unique name for the NAT rule. status: Rule status ('Enable' or 'Disable'). Default is 'Enable'. original_source: Original source host/network object names. original_destination: Original destination host/network object names. original_service: Original service object names. translated_source: Translated source object ('MASQUERADE', 'Original', etc.). translated_destination: Translated destination host/network object. translated_service: Translated service object name. client: Optional SophosFirewallClient instance.

Returns: API response status dictionary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesUnique name for the NAT rule.
clientNo
statusNoRule status: 'Enable' or 'Disable'.Enable
original_sourceNoOriginal source host/network object names (e.g. ['Any']).
original_serviceNoOriginal service object names (e.g. ['HTTP']).
translated_sourceNoTranslated source object or 'MASQUERADE' / 'Original'.Original
translated_serviceNoTranslated service object name.Original
original_destinationNoOriginal destination host/network object names (e.g. ['WAN_IP']).
translated_destinationNoTranslated destination host/network object name.Original

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations indicate not readOnly, not idempotent, not destructive. The description adds that it creates a rule and returns a status dictionary, but does not disclose potential failure conditions or prerequisites beyond the schema.

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 summary, use-case, argument list, and return info. It is concise but could be slightly shorter by removing redundant parameter details already in schema.

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?

The description covers the tool's purpose, use cases, parameters, and return format. With high schema coverage and annotations, it is fairly complete. Missing details about uniqueness constraints or error handling are minor gaps.

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 89%, so the schema already documents most parameters. The description lists parameters with brief descriptions, adding minimal extra value (e.g., default values). Baseline 3 is appropriate.

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 tool creates NAT/DNAT rules and lists specific use cases (port forwarding, SNAT, DNAT). This distinguishes it from sibling tools like sophos_list_nat_rules or sophos_get_nat_rule.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The description explicitly says 'Use when defining port forwarding, SNAT masquerading, or DNAT inbound translation rules', providing clear context. However, it does not mention alternatives or when not to use this tool.

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/jelmervdm/sophos-firewall-mcp'

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