Skip to main content
Glama
jelmervdm

Sophos Firewall MCP Server

by jelmervdm

sophos_update_nat_rule

Idempotent

Update status or translation parameters on existing NAT or port-forwarding rules in a Sophos Firewall.

Instructions

Update fields on an existing NAT rule.

Use when updating status or target translation parameters on an existing NAT or port-forwarding rule.

Args: name: Name of the NAT rule to update. status: Optional new status ('Enable' or 'Disable'). translated_source: Optional new translated source object. translated_destination: Optional new translated destination object. translated_service: Optional new translated service object. client: Optional SophosFirewallClient instance.

Returns: API response status dictionary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName of the NAT rule to update.
clientNo
statusNoOptional new status: 'Enable' or 'Disable'.
translated_sourceNoOptional new translated source object.
translated_serviceNoOptional new translated service object.
translated_destinationNoOptional new translated destination object.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already provide idempotentHint=true, destructiveHint=false, readOnlyHint=false. The description adds value by enumerating the updateable fields (status, translated_source, etc.) and stating the return type (API response dictionary). This goes beyond annotations.

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 well-structured docstring with clear sections: purpose, usage, args, returns. It is concise (8 lines) and front-loaded with the main purpose, with no wasted sentences.

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

Completeness5/5

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

Given the tool's moderate complexity (6 parameters, optional fields) and the presence of annotations and output schema, the description is thorough. It explains what can be updated, when to use, arguments, and return value, leaving no significant 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 coverage is high (83%) with most parameters described. The description's docstring replicates parameter descriptions with minimal added context. The 'client' parameter is described as 'Optional SophosFirewallClient instance' in docstring but not in schema, providing marginal value.

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 'Update fields on an existing NAT rule' with a specific verb and resource. It differentiates from sibling tools (list, get, create, delete) by focusing on updating an existing 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 updating status or target translation parameters on an existing NAT or port-forwarding rule', providing clear context on when to use. It does not explicitly list alternatives but implies other tools for other operations.

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