Skip to main content
Glama
ZenixSolutions

unifi-network-mcp

unifi_acl_rules

Destructive

Manage ACL rules on UniFi Network consoles: list, create, reorder, update, and delete rules with pagination and filtering.

Instructions

ACL rules and their ordering. Operations:

  • list (Read): List ACL Rules

  • create (Create): Create ACL Rule

  • get_ordering (Read): Get User-Defined ACL Rule Ordering

  • update_ordering (Update): Reorder User-Defined ACL Rules

  • delete (Destructive): Delete ACL Rule — requires confirm: true

  • get (Read): Get ACL Rule

  • update (Update): Update ACL Rule 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_acl_rules." }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoRequest body for: create, update_ordering, 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, get_ordering, update_ordering, delete, get, update.
confirmNoMust be true to execute: delete. These change or remove live configuration.
aclRuleIdNoaclRuleId (uuid). Used by: delete, get, update.
consoleIdNoCloud mode only: the console to target. Discover IDs with unifi_consoles. Ignored in direct (single-console) mode.
operationYesWhich operation to perform.
Behavior4/5

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

Even though annotations already mark destructiveHint=true and readOnlyHint=false, the description adds valuable behavior: paginated list results with offset/limit, detailed filter expression syntax, and the convention that request-body shapes are retrieved via unifi_spec. It also explicitly flags delete as requiring confirm: true. No contradiction with 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 compact but information-dense, using a bulleted operations list, a short paragraph on pagination, and a focused paragraph on filtering. It ends with a necessary reference to unifi_spec. Every sentence earns its place and the most important information (operations) is front-loaded.

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?

For a multi-operation tool with 9 parameters and no output schema, the description covers the full operation list, pagination, filtering, and the path to get request bodies. It does not explicitly state return shapes for non-list operations, but the unifi_spec pointer likely covers those, so the description is sufficiently complete for effective use.

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?

The input schema already provides descriptions for all 9 parameters (100% coverage), so the baseline is 3. The description goes further by explaining the filter expression grammar (property.function(args), combining with and/or/not, supported functions, quoting rules) and by pointing to unifi_spec for body schemas, which adds meaningful semantics beyond the bare schema.

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 opens with 'ACL rules and their ordering' and lists all seven operations with explicit action verbs (List, Create, Reorder, Delete, Get, Update), clearly identifying the tool's scope. It distinguishes from sibling tools by explicitly managing ACL rules rather than firewall policies or DNS policies.

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?

It provides clear context for each operation, including a note that delete requires confirm: true, and explains when list, create, get_ordering, update_ordering, delete, get, and update are appropriate. However, it does not explicitly compare with sibling tools or state exclusions (e.g., 'use unifi_firewall_policies for firewall rules'), so it falls just short of a 5.

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