Skip to main content
Glama
UniFi MCP Server

UniFi MCP Server

get_site_health_summary

Retrieve device availability and reported site statistics for one site or all sites, with status reflecting online device counts only and reported internet issues not confirmed active.

Instructions

Get device availability and reported site statistics.

Status reflects online device counts only. Reported internet issue entries do not establish that an issue is active now.

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": "get_site_health_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idNoOptional site identifier. If None, returns summary for all sites.
controllerNoController to run against (see list_controllers). Defaults to the controller chosen with select_controller, then the server default.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.6.4
    • addedInput schema / properties / site_id / description
      Added value: +"Optional site identifier. If None, returns summary for all sites."
  2. Changed1 schema field changedv0.6.0
    • addedInput schema / properties / controller
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Controller to run against (see list_controllers). Defaults to the controller chosen with select_controller, then the server default."
      +}
  3. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add genuine semantic context that the schema cannot: status is derived from online device counts, and reported internet issue entries are not proof of a current outage. It still omits permissions, freshness/caching behavior, and confirmation that the call is a non-mutating read.

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?

Three short sentences with no filler, and the core capability is stated first. The two caveat sentences are terse to the point of being slightly cryptic, but nothing is wasted.

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?

An output schema exists, so return values need no explanation, and the parameter surface is simple and fully described. What is missing for a multi-purpose health summary is any signal about how it relates to the several overlapping health and statistics siblings.

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 description coverage is 100%, so the site_id and controller parameters, including the all-sites default and the controller resolution order, are already fully documented. The description adds nothing beyond that, which is acceptable at this coverage but not additive.

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 gives a concrete verb and resource pair: 'Get device availability and reported site statistics'. That is specific enough to understand the tool's output domain, but it never distinguishes this summary from close siblings such as get_internet_health, get_site_details, or get_cross_site_statistics.

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 named alternative. The sentences about status semantics and internet issue entries are interpretive caveats about reading the data, not instructions on when to select this tool over another.

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

Deploy Server

Other Tools