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

UniFi Drive: Get Storage

unifi_drive_get_storage
Read-only

Inspect storage pools, RAID levels, capacity breakdown, disk health, SSD life, and scrub status, with findings highlighting issues that need attention.

Instructions

Storage pools, RAID and disks. Per pool: status, current and target RAID level (a target above the current one is reached by adding disks, not a migration in flight unless progressPercent is set), capacity, used and free space with a breakdown by personal / shared drives / system, SSD cache hit rates, and scrubbing. Per disk: model, size, state, health score, temperature, power-on time, bad and uncorrectable sectors, SSD life remaining. Includes findings for anything that needs attention.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds real interpretive context instead — notably that a target RAID level above the current one means disks must be added, not that a migration is in flight unless progressPercent is set. It also flags the embedded `findings` field for issues needing attention. It stops short of describing payload shape or size for a potentially large composite response.

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?

One dense, well-organized block that front-loads the resource list and then groups fields by entity (per pool / per disk), with nearly every clause carrying information. The opening fragment 'Storage pools, RAID and disks.' is slightly clipped, but it efficiently frames what follows.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no parameters, no output schema, and only a read-only annotation, the description carries the full burden of describing return content, and it does so field-by-field while also explaining non-obvious semantics like target-vs-current RAID level. An agent can decide to call it and interpret the results without further documentation.

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 tool takes zero parameters, so per the baseline this scores 4; there is nothing for the description to clarify and it correctly doesn't invent parameter discussion. The schema coverage is 100% with an empty properties object, leaving no ambiguity.

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 enumerates the exact resource scope (storage pools, RAID configuration, and physical disks) and itemizes the per-pool and per-disk fields returned, which lets an agent distinguish it from siblings like list_drives or get_io_stats. It lacks an explicit verb, opening with a nominal fragment rather than stating 'retrieves storage/RAID/disk status', so the action must be inferred from the tool name.

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?

Usage is only implied: the mention of 'findings for anything that needs attention' hints at triage/health-overview use, and the RAID-level explanation hints at capacity-planning use. No when-to-use statement, no exclusions, and no named alternatives (e.g. health_check, list_drives, get_io_stats) despite those siblings clearly overlapping.

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