Skip to main content
Glama
ZenixSolutions

unifi-network-mcp

unifi_devices

Destructive

Manage UniFi network devices: list pending/adopted, adopt, remove, retrieve details and statistics, and execute actions like restart or PoE power-cycle.

Instructions

UniFi devices (adoption, details, statistics, restart, PoE port power-cycle). Operations:

  • list_pending (Read): List Devices Pending Adoption

  • list (Read): List Adopted Devices

  • adopt (Create): Adopt Devices

  • remove (Destructive): Remove (Unadopt) Device — requires confirm: true

  • get (Read): Get Adopted Device Details

  • execute_action (Admin): Execute Adopted Device Action — requires confirm: true

  • execute_port_action (Admin): Execute Port Action — requires confirm: true

  • get_statistics (Read): Get Latest Adopted Device Statistics 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_devices." }.

Input Schema

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

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

The description goes beyond annotations by classifying each operation as Read, Create, Destructive, or Admin, and clearly flagging any destructive or admin actions as requiring confirm:true. It also details pagination behavior and filtering semantics, giving a fuller picture of the tool's effects.

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 long but well-structured with a clear operations list and grouped information for pagination, filtering, and request bodies. Every section serves a purpose, though some details (e.g., filter grammar) could arguably live in a sub-spec without loss.

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?

The description covers list/filter/pagination well and references unifi_spec for request bodies, but it leaves some operation behaviors underspecified (e.g., execute_action vs execute_port_action) and does not describe return shapes for non-list operations. A complex multi-operation tool would benefit from a bit more detail or a pointer to output specs.

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?

Schema coverage is 100%, providing baseline value. The description adds meaning by explaining the filter expression grammar (eq, like, contains, etc.), pagination structure, and confirm semantics, complementing the schema's per-parameter 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 states this tool manages UniFi devices, listing eight concrete operations (adopt, remove, get, statistics, etc.) with a title summarizing the scope. This distinguishes it from sibling tools like unifi_clients or unifi_sites.

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 context on when to use this tool (device operations) and explicitly directs users to unifi_spec for request-body shapes, which is helpful complementary guidance. It lacks explicit when-not-to-use alternatives, but the resource focus is unambiguous.

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