Skip to main content
Glama

delete_client_group

Destructive

Delete a local client group and detach its members. Requires confirm=true to complete; without confirmation, the call does nothing.

Instructions

Delete a local group and its memberships. Requires confirm=true.

Mutating operation: removes the local group (local_only) and detaches its members; it does not touch the UniFi controller. Returns success=false unless confirm=true. Recreate with create_client_group if needed.

Args: name: Name of the local group to delete. site: Site to operate on. Defaults to "default". device: Optional device name to target a specific console; omit for default. confirm: Must be True to delete the group; without it the call is a no-op. Defaults to False.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName of the local group to delete.
siteNoSite to operate on. Defaults to "default".default
deviceNoOptional device name to target a specific console; omit for default.
confirmNoMust be True to delete the group; without it the call is a no-op. Defaults to False.
Install Server

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, the description discloses that members are detached, the UniFi controller is untouched, success=false is returned without confirmation, and the operation is reversible via create_client_group. This gives an agent a clear, accurate behavioral model.

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 well-structured with a front-loaded purpose and a clear Args list. There is minor redundancy around the confirm requirement, appearing both in the opening paragraph and the parameter description, but the overall length is justified for a destructive operation.

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

Completeness5/5

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

For a simple four-parameter destructive tool with destructiveHint already set, the description covers purpose, required confirmation, side effects, recovery path, and the success/failure return signal. Nothing essential for an agent to safely invoke the tool is missing.

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 100%, so the schema already documents all four parameters. The description's Args section largely restates the schema, and while it emphasizes the confirm no-op behavior, it does not add substantive new parameter-level meaning beyond the 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 a specific verb and resource: 'Delete a local group and its memberships.' It clearly distinguishes the operation from siblings like create_client_group and assign_client_group, and further scopes it to local-only groups that do not touch the UniFi controller.

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 explicitly states the confirm=true requirement and the no-op behavior without it, which is essential usage guidance. It also points to create_client_group as the recovery path, though it does not explicitly enumerate when to prefer an alternative over this tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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

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