Skip to main content
Glama

get_network_health

Read-only

Get a unified network health summary for a UniFi site, combining WAN/LAN/WLAN status, overall score, and device/user counts into a single report.

Instructions

Return a single overall health summary for one site's network.

Read-only operation: it aggregates WAN/LAN/WLAN status, a composite health score, and device/user tallies into one condensed report. Use get_site_health when you need full per-subsystem detail for that site, get_all_sites_health for a multi-site sweep on one console, or get_global_health for cross-console aggregation.

Args: site: Site to query. Defaults to "default". device: Optional console/device name to target a specific UniFi console; omit to use the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteNoSite to query. Defaults to "default".default
deviceNoOptional console/device name to target a specific UniFi console; omit to use the default.
Install Server

TDQS

A4.3/5.0
Behavior4/5

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

The description labels the operation read-only, matching the readOnlyHint annotation, and adds meaningful context about what the condensed report contains: WAN/LAN/WLAN status, a composite health score, and device/user tallies. It does not describe exact return formatting, but the annotation lowers the burden and the description still adds substantive behavioral detail.

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 opening sentence and the alternatives paragraph are tight and front-loaded. However, the Args block duplicates the input schema's descriptions almost verbatim, which adds length without new information for an agent that already has access to the schema.

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 only two optional parameters, a readOnly annotation, and no output schema, the description provides sufficient selection criteria, default behavior, and a summary of the returned report contents. It could be more explicit about the exact response structure, but nothing essential for correct invocation is missing.

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 baseline is 3. The Args section in the description restates the schema descriptions (site defaults to 'default'; device is optional console name) without adding new constraints, format details, or examples beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Return a single overall health summary for one site's network.' It further specifies the aggregated content (WAN/LAN/WLAN status, composite health score, device/user tallies) and explicitly distinguishes itself from sibling tools like get_site_health, get_all_sites_health, and get_global_health.

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

Usage Guidelines5/5

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

Explicitly names the alternatives and the conditions that select them: use get_site_health for full per-subsystem detail, get_all_sites_health for a multi-site sweep, and get_global_health for cross-console aggregation. This gives an agent clear routing guidance with no inference required.

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

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