Skip to main content
Glama
owine

UniFi Protect MCP

by owine

protect_get_camera

Read-only

Retrieve detailed information for a specific camera by providing its ID, including name, model, state, and feature flags.

Instructions

Get details for a specific camera by ID. The Protect Integration API returns the SAME field set as protect_list_cameras entries (id, mac, name, modelKey, state, activePatrolSlot, hasPackageCamera, hdrType, isMicEnabled, micVolume, videoMode, featureFlags, lcdMessage, ledSettings, osdSettings, smartDetectSettings) — there is no extended/by-id-only payload. Recording state, motion events, zones, and channel/RTSP config are NOT exposed by this API surface.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesCamera ID

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoCamera ID
macNoMAC address
nameNoCamera name
modelKeyNoAlways "camera"
stateNoCONNECTED | DISCONNECTED | ...
activePatrolSlotNoActive PTZ patrol slot, or null (number|null)
hasPackageCameraNoHas a secondary package camera (boolean)
hdrTypeNoHDR mode, e.g. "auto"
isMicEnabledNoMicrophone enabled (boolean)
micVolumeNoMicrophone volume 0-100 (number)
videoModeNoVideo mode, e.g. "default"
featureFlagsNo
lcdMessageNoDoorbell LCD message (object; often empty {})
ledSettingsNo
osdSettingsNo
smartDetectSettingsNo
Behavior5/5

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

Beyond annotations (readOnlyHint, destructiveHint), description discloses that the payload is identical to list entries and explicitly lists fields and omissions (recording state, etc.). No contradiction.

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?

Description is front-loaded with main action, followed by valuable detail. Each sentence serves a purpose; could be slightly trimmed but remains efficient.

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?

Given output schema exists, description does not need to detail returns. It fully specifies behavior, field set, and limitations, meeting completeness for a simple 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?

Schema coverage is 100% with parameter 'id' described. Description adds context on return fields but does not add more meaning to the parameter itself. 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 verb 'Get details for a specific camera by ID', specifies resource 'camera', and differentiates from 'protect_list_cameras' by noting identical fields and missing data.

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?

Explicitly states when to use (get camera by ID) and provides context of what the API does and does not return, aiding selection. Does not name alternatives for missing data but clearly separates from list tool.

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