Skip to main content
Glama

get_camera_details

Read-only

Retrieve a UniFi Protect camera's full configuration and runtime record, including model, firmware, resolution, recording mode, privacy/IR state, connection state, and live statistics, by ID or name.

Instructions

Get the full configuration and runtime record for one Protect camera.

Read-only operation: it returns the camera's model, firmware, resolution, recording mode, privacy/IR state, connection state, and live statistics. The camera is resolved by ID first and then by name, so either form is accepted. Use list_cameras first to find the camera_id; use get_camera_snapshot to capture an image, or get_camera_health_summary for a connectivity-only view.

Args: camera_id: Protect camera identifier or name to look up. device: Optional Protect console name to target a specific UniFi Protect device; omit to use the first Protect-enabled device.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceNoOptional Protect console name to target a specific UniFi Protect device; omit to use the first Protect-enabled device.
camera_idYesProtect camera identifier or name to look up.
Install Server

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already provide readOnlyHint=true, and the description reinforces this with 'Read-only operation.' It adds valuable behavioral detail beyond the annotation by enumerating the returned fields and explaining the ID-then-name resolution order. It stops short of describing failure modes or output structure, but the added context is meaningful.

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 description is well-organized: a crisp function statement, a concise read-only behavior summary, clear usage routing, and a compact Args block. Every sentence serves a purpose and nothing is redundant or filler.

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?

For a read-only lookup with two parameters and no output schema, the description covers the purpose, prerequisite, alternatives, parameter resolution behavior, and a summary of returned data. No critical information needed to call the tool correctly 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%, so the baseline is 3. The description adds one genuinely useful semantic detail: 'camera is resolved by ID first and then by name.' The Args section mostly mirrors the schema, but this resolution behavior gives extra meaning to camera_id beyond the schema text.

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?

The opening sentence, 'Get the full configuration and runtime record for one Protect camera,' states a specific verb, resource, and singular scope. It also names sibling tools (get_camera_snapshot, get_camera_health_summary) to distinguish this from related operations.

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?

The description explicitly says 'Use list_cameras first to find the camera_id' and gives concrete alternatives with their conditions: get_camera_snapshot for an image and get_camera_health_summary for connectivity-only. This is clear when-to-use guidance with no inference required.

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

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/mikeholownych/unifi-mcp'

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