Skip to main content
Glama

create_rtsps_stream

Create an RTSPS stream for a UniFi Protect camera by providing the camera ID and selecting quality channels such as high, medium, low, or package.

Instructions

Create an RTSPS stream for a Protect camera.

host: console name, ID, or composite ID (MAC:numericId format). qualities: list of channel names to enable. The exhaustive set is 'high', 'medium', 'low', and 'package' (verified live against get_rtsps_stream, which reports exactly these four channel keys). 'package' exists only on package-camera doorbells; on other cameras it is null. There is NO 'highest' channel. Case-insensitive — values are normalized to lowercase before sending. The list is forwarded to the API as-is with no local allow-list, so an unrecognised name is not validated here; the upstream Protect API governs the outcome (a name with no matching channel yields no stream for that entry rather than a local error). camera_id: REQUIRED. Obtain it from list_cameras (its id field).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYes
camera_idYes
qualitiesYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it discloses case-insensitive normalization, absence of local allow-list validation, upstream API authority over invalid channel names, and the special behavior of the 'package' channel. It stops short of discussing side effects or lifecycle of the created stream, but provides substantial behavioral context.

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 one-line purpose is front-loaded, and each parameter has a focused block of detail. Every sentence adds operational value; there is no filler or repetition of schema content.

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?

Given the output schema exists and no annotations are present, the description covers parameters and edge behavior thoroughly. Minor gaps remain around prerequisites, whether existing streams are replaced, and authentication expectations, but nothing critical is missing for invoking this tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description fully compensates. It explains host formats, enumerates the valid qualities, clarifies case-insensitivity, documents the no-local-validation behavior, and tells the agent exactly where to obtain camera_id. This goes far beyond the bare input schema.

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 states a specific verb and resource: 'Create an RTSPS stream for a Protect camera.' This is clear and the create/get/delete distinction among siblings is obvious from the name, though the description itself does not explicitly contrast it with get_rtsps_stream or delete_rtsps_stream.

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 by the verb 'Create' and the guidance to obtain camera_id from list_cameras. It references get_rtsps_stream as a verification source, but does not explicitly state when to use this tool versus alternatives or when not to use it.

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/swkstudios/unifi-fabric-mcp-server'

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