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

UniFi Drive: Auth Status

unifi_drive_auth_status
Read-only

Checks server reachability to your UniFi Drive console by logging in and making a real call; reports host, account, UNAS details, TLS verification, write access, and setup steps if unconfigured.

Instructions

Check whether this server can actually reach your UniFi Drive console (the UNAS). By default it logs in and makes a real call, so the answer reflects the console rather than cached state — this is the tool to run when something is not working. Reports the host, the account, which UNAS answered (name, model, Drive version), whether TLS is verified, and whether writes are enabled; when nothing is configured it returns the exact setup steps instead. Call this first when a tool you expected is not listed: an absent tool means missing configuration or writes being off, not a bug.

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

Input Schema

NameRequiredDescriptionDefault
probeNoActually contact the console (logging in if needed) rather than only reporting what is already cached. Set false for a fast, purely local answer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/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 most of the load and does it well: it discloses that the default path logs in and makes a live call (a session side effect beyond a pure read), what the response reports, and that an unconfigured server returns setup steps. The one gap is that it never says whether the default login path has cost or rate implications; it does not contradict readOnlyHint, since no data is written.

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 reachability question is front-loaded in the first clause, and each subsequent sentence adds a distinct fact (default behavior, returned fields, unconfigured case, diagnostic routing). It is a dense single paragraph rather than a structured list, which slightly hurts scanability but nothing is redundant.

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 output schema, the description must describe the return payload and does: host, account, responding UNAS with name/model/Drive version, TLS verification, and write-enabled state, plus the setup-steps fallback. Nothing an agent needs in order to call this diagnostic correctly 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?

The single parameter has 100% schema description coverage, and the schema text already explains that probe=true contacts the console while false gives a fast local answer. The description restates the same distinction at a higher level but adds no syntax or default detail beyond the schema, so baseline 3 applies.

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: check whether this server can reach the UniFi Drive console (UNAS), by default doing a real login-and-call rather than reading cached state. That distinguishes it clearly from siblings like unifi_drive_health_check and unifi_drive_get_system, which the agent can rule out without opening their schemas.

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?

Gives explicit when-to-use guidance: 'this is the tool to run when something is not working' and 'Call this first when a tool you expected is not listed.' It also explains the one branch point (probe=false for a fast local answer), so the agent knows both the trigger condition and the trade-off.

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