Skip to main content
Glama

UniFi Protect: Auth Status

unifi_protect_auth_status
Read-only

Verify connectivity and authentication to your UniFi Protect console, reporting host, account, Protect version, TLS verification, and write access so you can diagnose missing tools or setup issues.

Instructions

Check whether this server can actually reach your UniFi Protect console. 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, the Protect 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.

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. Changed1 schema field changedv1.1.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv0.3.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true, but the description adds substantial behavioral context: the default probe logs in and makes a real network call rather than reading cache, and the probe=false path is fast and local. It also enumerates what is reported (host, account, version, TLS verification, write-enablement) and the fallback behavior of returning setup steps when unconfigured.

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?

Front-loaded with the core purpose and the diagnostic framing before the return-value enumeration. Three dense sentences, all load-bearing, though the middle sentence listing reported fields is long and could be tightened.

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?

No output schema exists, so the description carries the return-value burden and does so by naming the reported fields and the setup-steps fallback. For a one-parameter diagnostic tool with minimal annotations, nothing an agent needs to invoke or interpret it is missing.

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?

Schema coverage is 100% and the single probe parameter is already fully documented in the schema, so the baseline is 3. The description reinforces the default semantics ('By default it logs in and makes a real call') and contrasts it with the cached path, adding a little meaning beyond the schema without restating it verbatim.

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 actually reach your UniFi Protect console.' It also distinguishes itself from siblings by noting it makes a real console call rather than reporting cached state, which separates it from auth_login and get_system_info.

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 triggering conditions: 'this is the tool to run when something is not working' and 'Call this first when a tool you expected is not listed.' It even explains the diagnostic interpretation of an absent sibling tool, which no other tool in the list would tell the agent.

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