Skip to main content
Glama

get_site_statistics

Retrieve UniFi site health metrics for latency, throughput, and client counts per subsystem. Provide host and site to get actionable subsystem statistics.

Instructions

Get site health statistics: latency, throughput, and client counts per subsystem.

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYes
siteYes
Install Server

TDQS

A3.5/5.0
Behavior3/5

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

There are no annotations, so the description carries the full burden. It does reveal that this is a read operation against the Classic REST /stat/health endpoint and that it returns a list of subsystem health objects. However, it does not disclose pagination behavior, real-time vs cached data, units of latency/throughput, or any authentication/permission requirements.

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 compact: it front-loads the core action and payload ('latency, throughput, and client counts per subsystem'), then adds parameter syntax and the endpoint in two more sentences. There is no unnecessary filler, though the structure could have separated usage notes more clearly.

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?

Without an output schema or annotations, the description should clarify the return format more richly. It says 'Returns a list of subsystem health objects' but does not describe the object fields, units, or possible error conditions. For a read-only stats tool this is acceptable but leaves room for ambiguity.

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

Parameters4/5

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

The input schema provides zero descriptions (0% coverage), so the description must compensate. It does: host is defined as console name, ID, or composite ID (MAC:numericId format), and site is defined as site name or ID. This adds real meaning beyond the bare schema and helps an agent populate required parameters correctly.

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?

Description clearly states the purpose: fetch site health statistics including latency, throughput, and client counts per subsystem. It names the resource and even the underlying endpoint (/stat/health). However, it does not explicitly differentiate itself from similar siblings like get_site_health_summary or compare_site_performance, which could confuse an agent.

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?

It explains both required parameters and their accepted formats (host console name/ID/composite ID, site name/ID), which is useful usage guidance. But it does not state when to prefer this tool over the closely related get_site_health_summary or other statistics/summary tools, nor does it give exclusions or alternatives.

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