Skip to main content
Glama

UniFi Protect: List Viewers

unifi_protect_list_viewers
Read-only

Lists UniFi Protect Viewport devices and identifies the live view each is currently displaying, helping you audit viewer assignments.

Instructions

List UniFi Protect Viewport devices and which live view each is currently displaying.

Input Schema

NameRequiredDescriptionDefault

No arguments

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

A3.7/5.0
Behavior3/5

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

readOnlyHint already declares this as a safe read operation, and the description adds useful context that it reports current live-view assignments. It does not add details on freshness, pagination, authentication, or response shape beyond 'currently displaying.'

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is a single front-loaded sentence with the verb and resource stated immediately. Every phrase contributes to what is listed and what relationship is returned.

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 zero-parameter, read-only list tool with no output schema, the description gives enough context to know it returns Viewport devices and their current live view. The exact response structure is not described, but the tool is simple enough that this is a minor gap.

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?

There are zero parameters, so there are no parameter semantics to explain. The schema baseline of 4 applies, and the description correctly does not add unnecessary parameter guidance.

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 uses a specific verb, 'List,' and a clear resource, 'UniFi Protect Viewport devices,' plus the returned relationship of which live view each is displaying. It implicitly separates itself from list_liveviews by focusing on Viewport hardware, but it does not explicitly name or contrast that sibling.

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 implied: inspect Viewport devices and their currently assigned live views. However, it gives no explicit when-to-use guidance, no exclusions, and no routing versus list_liveviews or other list siblings.

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