Skip to main content
Glama
mcp-unifi-drive
by mgcrea

UniFi Drive: Health Check

unifi_drive_health_check
Read-only

Check whether a UNAS is healthy by ranking storage-pool, RAID, disk, SSD-cache, snapshot, backup, update, and high-severity log issues so you can act on priority problems first.

Instructions

One verdict on the whole UNAS, as ranked findings: pool full or nearly full, degraded RAID, a RAID level short of its target, disks at risk or hot or growing bad sectors, SSD cache problems, snapshot schedules that have silently stopped, failed or missing remote backups, a waiting Drive update, and the high-severity log events of the last days. Start here for 'is my NAS OK?' — it reads about ten endpoints in parallel so you do not have to, and each finding says what it means rather than echoing a status code.

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

Input Schema

NameRequiredDescriptionDefault
daysNoHow far back to count high-severity log events. Defaults to 7.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries real weight and delivers: it discloses that roughly ten endpoints are queried in parallel and that findings are ranked and interpreted rather than raw status codes echoed back. It omits latency/cost implications of fanning out ten calls and any auth precondition, which is why it is not 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?

Two sentences, front-loaded with the verdict framing before the finding list. The ten-item enumeration is long but each item tells the agent what class of problem this tool surfaces, so it earns its space; the compact phrasing keeps it from bloating.

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 read-only single-parameter aggregate with no output schema, the description supplies the essential missing context: what the result set contains (ranked findings) and that each is explained in plain terms. The concrete response shape is left unspecified, but the semantics of the output are adequately conveyed.

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?

Only one optional parameter with 100% schema coverage, so the baseline is 3. The description does add meaning by tying `days` specifically to the scope of the high-severity log-event check (the last `days`), clarifying that it governs only one part of the aggregate rather than the whole lookback.

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?

The description names a specific verb and resource ('One verdict on the whole UNAS') and then enumerates the exact checks it aggregates — pool capacity, RAID degradation, disk health, SSD cache, snapshot schedules, remote backups, pending updates, log events. That enumeration makes it unmistakable against siblings like unifi_drive_get_storage or unifi_drive_list_drives, which cover only one slice each.

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

Usage Guidelines4/5

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

It gives a concrete routing trigger — 'Start here for is my NAS OK?' — and implicitly positions itself ahead of the per-endpoint siblings by saying it reads about ten endpoints so you do not have to. There is no explicit when-not-to-use clause, but the entry-point framing is clear enough for selection.

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