Skip to main content
Glama

list_clients

Read-onlyIdempotent

Retrieve all connected clients with details on type, MAC, IP, connection time, and authorization. Identify distribution issues across access points and unauthorized guests.

Instructions

List all currently connected clients (wired, wireless, VPN, guest). Shows client type, MAC, IP, connection time, and authorization status. Use this to check client distribution across APs — if one AP has 20 clients and another has 3, there may be a roaming or placement issue. Also check for unauthorized guests that may need attention. To identify unknown clients, check: (1) MAC address — if bit 1 of the first octet is set (second hex char is 2/3/6/7/a/b/e/f), the MAC is randomized (modern phone/laptop/tablet); if not, the first 3 octets are an OUI identifying the manufacturer. (2) IP address — cross-reference with list_networks to determine which VLAN/network the client is on. (3) Connection type — WIRED clients are typically infrastructure (servers, smart hubs, media devices); WIRELESS with randomized MAC are personal devices. (4) Name — a descriptive hostname means the device announced itself via DHCP; a raw MAC address means the device didn't announce a name and needs an alias.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filterNoUniFi filter expression. Examples: type.eq('WIRELESS'), access.authorized.eq(false)
limitNoMax results per page (default 200)
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint. The description adds behavioral details: it shows client type, MAC, IP, connection time, and authorization status. It also discloses that the tool can be used to detect roaming issues and unauthorized guests, which is useful beyond the annotations. There is no contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the main purpose but then includes a lengthy guide on identifying unknown clients. While informative, this section could be condensed or placed in documentation. The length reduces quick readability for an AI agent.

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?

There is no output schema, but the description explicitly lists what is shown (client type, MAC, IP, connection time, authorization status). It also provides practical context like AP distribution checks and unauthorized guest detection, making it complete for a list tool.

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 coverage is 100% and the schema already provides descriptions for both parameters (filter and limit). The description does not add any additional meaning or examples for these parameters, so it meets the baseline of 3.

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 tool lists all currently connected clients with their type, MAC, IP, connection time, and authorization status. It distinguishes from sibling tools like list_known_clients (which lists known clients) by specifying 'all currently connected clients' and focusing on live client distribution.

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 gives explicit context for when to use this tool: checking client distribution across APs to detect roaming or placement issues, and checking for unauthorized guests. It also provides a step-by-step guide for identifying unknown clients. However, it does not explicitly mention when not to use it or suggest alternatives, though the detailed guidance implies its primary use.

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

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