Skip to main content
Glama

list_devices

List all UniFi network devices to view details including model, firmware, IP, MAC address, status, and uptime. Filter by host IDs or paginate through results.

Instructions

List all UniFi network devices (access points, switches, gateways, etc.).

Returns device details including model, firmware, IP, MAC address, status, and uptime. Can be filtered by specific hosts.

Args: host_ids: Optional list of host IDs to filter devices by specific hosts. time: Optional ISO 8601 timestamp to filter by last update time. page_size: Number of items per page (default 25). next_token: Pagination token from a previous response to get the next page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeNo
host_idsNo
page_sizeNo
next_tokenNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations provided, so description carries full burden. It indicates pagination via 'next_token' and filtering, but does not disclose any behavioral traits like read-only nature, rate limits, or required permissions.

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 concise with a clear front-loaded purpose statement and parameter documentation. Some redundancy exists (e.g., 'Returns device details' is partly implied), but overall efficient.

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

Completeness4/5

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

Given the presence of an output schema, the description adequately covers functionality and parameters. It is complete for a listing tool, though it could mention error handling or limits.

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?

With 0% schema description coverage, the description adds some value by explaining 'time' filters by last update and pagination, but mostly restates schema properties without deeper insight into parameter usage or constraints.

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?

The description clearly states 'List all UniFi network devices (access points, switches, gateways, etc.)' with a specific verb and resource. However, it does not differentiate from the sibling 'network_list_devices', which may have overlapping functionality.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives like 'network_get_device' or 'network_list_devices'. The description only mentions filtering by hosts but lacks explicit context about usage scenarios.

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

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