Skip to main content
Glama

unifi_create_firewall_group

Create a UniFi firewall group with type address-group, port-group, or ipv6-address-group and define members as IPs/CIDRs or ports/ranges.

Instructions

Create a firewall group. group_type: 'address-group' | 'port-group' | 'ipv6-address-group'. group_members: list of IPs/CIDRs (address-group) or ports/ranges (port-group).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
group_typeYes
group_membersYes
site_idNodefault
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It does not disclose behavioral traits such as idempotency, permissions needed, or what happens if a group with the same name already exists. The details on group_type and group_members help slightly, but overall transparency is minimal.

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 concise at two sentences, with no superfluous text. It front-loads the main action and then provides parameter details. It could be more structured (e.g., bullet points), but overall it is efficient and to the point.

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

Completeness3/5

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

Given no output schema and no annotations, the description covers the core functionality and main parameters. However, lacking explanation of name and site_id, and no return value information, the tool is not fully contextualized for an agent. It is adequate but not complete.

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?

The description adds meaning for group_type (enum values) and group_members (expected format per type), but it does not explain the name parameter (e.g., constraints) or site_id (its purpose or default behavior). With 0% schema description coverage, the description compensates partially but leaves gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Create a firewall group,' specifying the verb and resource. It lists the group_type options and group_members format, distinguishing it from other firewall-related tools. However, it does not explicitly differentiate from sibling tools like update or delete, but the verb 'create' is unambiguous.

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

Usage Guidelines2/5

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

The description lacks any guidance on when to use this tool versus alternatives like update_firewall_group or delete_firewall_group. There is no mention of prerequisites, when not to use it, or best practices. The implied usage is simply when you need to create a group, but no explicit context is provided.

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/haiduongacm/unifi-ap-mcp'

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