Skip to main content
Glama

unifi_list_devices

Read-onlyIdempotent

Lists UniFi devices with model, IP, state, firmware update status, uptime, resource usage, parent/port, port and PoE status, and AP radio details.

Instructions

List the console's UniFi devices: name, model, IP, state, firmware (and whether an update exists), uptime, CPU and memory, plus what each hangs off (parent and port, or WAN), ports up and PoE ports in use, and each AP radio's band, channel and clients.

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_devices"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoSite name, id or reference; optional while the console has a single site

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real value beyond that by disclosing the returned content in detail — firmware update availability, uptime, parent/port or WAN uplink, PoE port usage, and per-radio band/channel/client counts. It omits pagination and result ordering, which keeps it from a 5.

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?

A single front-loaded sentence with the verb and resource first, then a dense field inventory with no filler. It is long-ish, but every clause carries content an agent could not get from an output schema (there is none).

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?

With no output schema, the description carries the burden of describing the return shape and does so thoroughly, which is exactly what an agent needs to interpret the result. Missing are pagination/size expectations and behavior on a multi-site console where site is omitted.

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 single optional site parameter is well documented in the schema itself. The description adds no parameter-level meaning and never mentions site scoping, so the baseline 3 applies.

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?

"List the console's UniFi devices" gives a specific verb (list) and resource (UniFi devices), and the field enumeration (name, model, IP, state, firmware, uptime, CPU/memory, parent/port, PoE, AP radios) nails down what "devices" means. It doesn't explicitly contrast with the sibling unifi_get_device for single-device retrieval, so it falls short of a 5.

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?

There is no when-to-use guidance and no alternatives named, even though unifi_get_device and unifi_locate_device are obvious candidates an agent could confuse this with. The only usage signal is implicit in the resource name.

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