Skip to main content
Glama

list_device_stats

Retrieve per-device statistics for CPU load, memory, uptime, and port throughput from UniFi devices by specifying host and site.

Instructions

List per-device statistics: CPU load, memory, uptime, and port throughput.

host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID. Returns a list of device stat objects from the Classic REST /stat/device endpoint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYes
siteYes
Install Server

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description must disclose behavioral traits itself. It states that the tool returns a list of device stat objects and identifies the source endpoint, which implies a read-only operation. However, it does not mention error scenarios, performance implications, or whether the data is real-time vs historical, so coverage is only partial.

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

Conciseness5/5

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

The description is three concise sentences: the first defines the operation, the second explains both parameters compactly, and the third specifies the return type. It is front-loaded and contains no filler.

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?

For a simple two-parameter list operation with no output schema, the description covers the core purpose, parameter semantics, and return shape. It omits usage differentiation and potential caveats like pagination or error behavior, but these are secondary given the tool's simplicity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema provides only bare string types, so the description compensates by explaining that host accepts a console name, ID, or composite ID in MAC:numericId format, and that site accepts a name or ID. This gives concrete value formats that the schema lacks, fully clarifying both required parameters.

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 identifies the operation as listing per-device statistics and enumerates the specific metrics (CPU, memory, uptime, port throughput). It also names the underlying endpoint, which helps distinguish it from similar device-stat tools, but it does not explicitly disambiguate from get_device_statistics, so it lacks explicit sibling differentiation.

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?

The description gives no guidance on when to prefer this tool over alternatives such as get_device_statistics or list_devices. It only explains parameter formatting, not selection criteria. This leaves the agent without explicit routing information.

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

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/swkstudios/unifi-fabric-mcp-server'

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