Skip to main content
Glama
jelmervdm

Sophos Firewall MCP Server

by jelmervdm

sophos_update_firewall_rule

Idempotent

Update configuration fields on an existing firewall rule, including action, zones, logging, and status, to adjust security policy behavior.

Instructions

Update configuration fields on an existing firewall rule.

Use when modifying parameters such as logging, action, zones, host objects, or status on an existing security policy.

Args: name: Name of the firewall rule to update. action: Optional new rule policy action ('Accept', 'Drop', or 'Reject'). source_zones: Optional list of source network zone names. destination_zones: Optional list of destination network zone names. source_networks: Optional list of source host/network object names. destination_networks: Optional list of destination host/network object names. services: Optional list of service object names. log_traffic: Optional logging setting ('Enable' or 'Disable'). status: Optional rule status ('Enable' or 'Disable'). client: Optional SophosFirewallClient instance.

Returns: API response status dictionary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName of the firewall rule to update.
actionNoRule policy action: 'Accept', 'Drop', or 'Reject'.
clientNo
statusNoRule status: 'Enable' or 'Disable'.
servicesNoList of service object names (e.g. ['HTTP', 'HTTPS']).
log_trafficNoEnable or disable logging: 'Enable' or 'Disable'.
source_zonesNoList of source network zone names (e.g. ['LAN']).
source_networksNoList of source host/network object names (e.g. ['Any']).
destination_zonesNoList of destination network zone names (e.g. ['WAN']).
destination_networksNoList of destination host/network object names (e.g. ['Any']).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already declare idempotentHint=true, destructiveHint=false, and readOnlyHint=false. The description adds that it updates fields and returns an API response status dictionary, but does not disclose additional behavioral traits beyond what annotations and schema already convey. No contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a purpose line, usage line, parameter list, and return type. However, it is somewhat lengthy due to the repetitive Args section, which could be trimmed. It is adequate but not exceptionally concise.

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?

With 10 parameters, 1 required, and an output schema present, the description provides a clear purpose, usage guidance, and return description ('API response status dictionary'). It is reasonably complete, though it could briefly mention the relationship to sophos_update_firewall_rule_status for further clarity.

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 high (90%), so baseline is 3. The description's Args section repeats parameter info largely matching the schema, adding little extra meaning. It does not provide examples or clarifications beyond the schema descriptions.

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 updates configuration fields on an existing firewall rule, using a specific verb and resource. It lists what can be modified (logging, action, zones, etc.), distinguishing it from siblings like sophos_create_firewall_rule, sophos_delete_firewall_rule, and sophos_update_firewall_rule_status.

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 specifies when to use this tool: 'Use when modifying parameters such as logging, action, zones, host objects, or status on an existing security policy.' It provides context but does not explicitly exclude cases where it should not be used or mention alternatives, though the sibling list implies the distinction.

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