Skip to main content
Glama
ZenixSolutions

unifi-network-mcp

unifi_firewall_zones

Destructive

Manage UniFi firewall zones: list, create custom zones, update, and delete with confirmation. Use filters for targeted queries.

Instructions

Firewall zones. Operations:

  • list (Read): List Firewall Zones

  • create (Create): Create Custom Firewall Zone

  • delete (Destructive): Delete Custom Firewall Zone — requires confirm: true

  • get (Read): Get Firewall Zone

  • update (Update): Update Firewall Zone List results are pages: { offset, limit (max 200), count, totalCount, data[] }. Filtering: pass filter as property.function(args); combine with and(...), or(...), not(...). Functions: eq, ne, gt, ge, lt, le, like, in, notIn, isNull, isNotNull; SET: contains, containsAny, containsAll, containsExactly, isEmpty. Strings use single quotes ('guest'); like patterns: '.'=one char, '*'=any run, ''=escape. For request-body shapes call unifi_spec with { operation: "unifi_firewall_zones." }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoRequest body for: create, update. Exact schema via unifi_spec.
limitNoPage size (default 25, max 200). Used by: list.
filterNoFilter expression (see tool description). Used by: list.
offsetNoPagination offset (default 0). Used by: list.
siteIdNositeId (uuid). Used by: list, create, delete, get, update.
confirmNoMust be true to execute: delete. These change or remove live configuration.
consoleIdNoCloud mode only: the console to target. Discover IDs with unifi_consoles. Ignored in direct (single-console) mode.
operationYesWhich operation to perform.
firewallZoneIdNofirewallZoneId (uuid). Used by: delete, get, update.
Behavior4/5

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

Annotations already indicate destructive behavior; the description adds valuable context by labeling delete as 'Destructive' and requiring 'confirm: true', with the confirm parameter warning that actions 'change or remove live configuration'. This goes beyond the annotation without contradicting it.

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 dense but well-structured, using line breaks to separate operations, pagination, and filtering. Every sentence contributes useful information, with no fluff, though it is slightly long due to the complexity of the filtering section.

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?

Without an output schema, the description explains list result shape and directs users to unifi_spec for request-body schemas. It covers pagination, filtering, and operation usage. It could mention return values for other operations, but overall it is sufficiently complete for the tool's complexity.

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

Parameters4/5

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

Input schema covers 100% of parameters, so baseline is 3. The description enriches this by explaining filter function syntax (eq, ne, like, contains, etc.) and pagination field structure, adding meaning beyond the schema's simple 'Used by' notes.

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 enumerates five distinct operations (list, create, delete, get, update) with specific verbs and the resource 'Firewall Zones'. This provides strong differentiation from sibling tools that operate on other UniFi resources.

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 provides clear operational context such as pagination structure, filter syntax, and the confirm requirement for delete. However, it does not explicitly state when to use this tool over alternatives like unifi_firewall_policies, so it lacks explicit exclusion or alternative guidance.

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/ZenixSolutions/unifi-network-mcp'

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