Skip to main content
Glama

unifi_update_firewall_group

Update a UniFi firewall group by adding or removing members using its group ID. Modify group membership to control network access rules.

Instructions

Update a firewall group by its _id (add/remove members).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
group_idYes
group_membersYes
site_idNodefault
nameNo
Behavior2/5

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

No annotations are provided, so the description must carry full behavioral transparency. It mentions 'add/remove members' but does not disclose whether members are replaced or merged, permissions required, rate limits, idempotency, or that the 'name' parameter can also update the group's name. This is a significant gap for a mutation tool.

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 a single concise sentence that directly states the core functionality. It could include brief parameter hints but remains efficient and front-loaded with essential information.

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?

For a simple tool with 4 parameters and no output schema, the description covers the main purpose but lacks detail on parameter semantics and behavioral traits (e.g., member merge behavior, name update). The missing information is a notable gap given the tool's simplicity.

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 has 4 parameters with 0% description coverage. The description adds meaning for group_members (add/remove) but does not explain group_id (identifier), site_id (optional site context), or name (optional rename). It partially compensates but leaves half the parameters unexplained.

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 action ('Update'), the resource ('firewall group'), and the purpose ('add/remove members') using its _id. This distinguishes it from create and delete sibling tools, making the purpose specific and unambiguous.

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 implicitly indicates usage for updating existing firewall groups by _id, distinguishing from creation or deletion. However, it lacks explicit guidance on when not to use it or alternatives (e.g., for mass updates), though the context of sibling tools provides some clarity.

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