Skip to main content
Glama

List UniFi Clients

unifi_list_clients
Read-only

Lists clients connected to a UniFi gateway with type, IP, MAC address, connection time, and uplink device. Filter by client type or a name, IP, or MAC substring.

Instructions

Lists clients connected to the gateway with type, IP and MAC address, connection time, and uplink device. Filters by type or a name, IP, or MAC substring.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "unifi_list_clients"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNo
limitNo
searchNo

Output Schema

NameRequiredDescriptionDefault
clientsYes
totalCountYes
matchedCountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds the returned field set, but since an output schema exists that is partly redundant, and it says nothing about the default 200-result cap or truncation behavior — a real behavioral trait of a list 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?

Two tight sentences with the capability front-loaded and the filtering behavior second; nothing is padded. Minor overlap with the output schema in the field enumeration is the only thing that does not fully earn its place.

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?

Annotations and an output schema cover safety and return shape, so the description needn't repeat those. However, for a paginated list tool with a silent 200-item default cap, omitting any mention of result limits leaves a meaningful operational gap.

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 0%, so the description must carry the parameter burden. It usefully clarifies that 'search' is a substring match across name, IP, or MAC (not obvious from the schema) and that 'type' filters, but the 'limit' parameter and its 200-default/500-max pagination semantics are never mentioned.

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?

States a specific verb and resource ('Lists clients connected to the gateway') and names the returned fields, so the agent knows exactly what it gets back. It does not differentiate itself from the closest sibling, unifi_list_devices, which is the main remaining ambiguity.

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

Usage Guidelines3/5

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

The filter sentence implies when the tool is useful (narrowing by type or by a name/IP/MAC substring), but there is no explicit statement of when to prefer it over unifi_list_devices or unifi_inspect_device. Usage must be inferred from the field list rather than stated.

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