Skip to main content
Glama
owine

UniFi Protect MCP

by owine

protect_get_liveview

Read-only

Retrieve details of a specific live view by ID, including its name, layout, slots, and cameras assigned.

Instructions

Get details for a specific live view by ID. Returns: id, modelKey, name, isDefault, isGlobal, layout, owner, slots (each slot: cameras string[], cycleMode, cycleInterval). The full slot list is needed when updating because PATCH replaces the slots array.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesLiveview ID

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoLiveview ID
modelKeyNoAlways "liveview"
nameNoLiveview name
isDefaultNoWhether this is the default liveview (boolean)
isGlobalNoWhether shared across all users (boolean)
layoutNoGrid layout / slot count (number)
ownerNoOwning user ID
slotsNoCamera slots
Behavior4/5

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

Annotations already indicate readOnlyHint=true and destructiveHint=false. Description adds valuable context beyond annotations: specifies return fields and importantly notes that the full slot list is needed when updating because PATCH replaces the slots array – a behavioral trait for mutation workflows.

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?

Two sentences, front-loaded with purpose. No wasted words. Efficiently conveys purpose, return structure, and a critical usage note.

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 output schema present, description provides sufficient information: return fields and the key behavioral note about slot replacement. Complete for a get-by-ID tool.

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?

Only one parameter (id) with schema coverage 100%. Description restates 'by ID' but adds no further semantics or constraints beyond the schema's description 'Liveview ID'. Baseline 3 is appropriate.

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?

Clearly states 'Get details for a specific live view by ID' – a specific verb+resource. Distinguishes from sibling tools like protect_list_liveviews (list all) and other get tools by targeting live views.

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?

Implicitly clear when to use: when you have an ID and need details. Does not explicitly mention alternatives or when-not, but the purpose is straightforward and context from sibling names (list vs get) aids differentiation.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/owine/unifi-protect-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server