Skip to main content
Glama
owine

UniFi Protect MCP

by owine

List cameras

protect_list_cameras
Read-only

List all cameras managed by UniFi Protect with IDs, connection state, model, and settings. Use limit and offset to page through large sites.

Instructions

List all cameras managed by UniFi Protect. Returns array; each camera includes (Integration API 7.3.70-verified fields): id, mac, name, modelKey, state (CONNECTED/DISCONNECTED), type (hardware model name, e.g. UVC G6 Turret), guid (hardware MODEL GUID — every camera of the same model returns the same value, so it is NOT a per-camera identifier; use id), activePatrolSlot, hasPackageCamera, hdrType, isMicEnabled, micVolume, videoMode, featureFlags (hasHdr, hasMic, hasSpeaker, hasLedStatus, smartDetectTypes[], smartDetectAudioTypes[], videoModes[], supportFullHdSnapshot), lcdMessage (type, resetAt, text), ledSettings (isEnabled, floodLed, welcomeLed), osdSettings (isNameEnabled, isDateEnabled, isLogoEnabled, isDebugEnabled, overlayLocation), smartDetectSettings (objectTypes[], audioTypes[]). The Integration API does NOT expose recording state, motion timestamps, connection/last-seen, firmware, host, or per-channel stream config. On a large site, use limit and offset to page; a paged result also returns totalCount and offset.

Input Schema

NameRequiredDescriptionDefault
limitNoReturn at most this many items
offsetNoSkip this many items first (default 0)

Output Schema

NameRequiredDescriptionDefault
offsetNoPaged results only: the index of the first item returned
resultYesArray of items returned by the list endpoint
totalCountNoPaged results only: the number of items in the whole list

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed26 schema fields changedv2.15.0
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Return at most this many items",
      +  "maximum": 9007199254740991,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Skip this many items first (default 0)",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +{}
    • addedOutput schema / properties / offset
      Added value: +{
      +  "description": "Paged results only: the index of the first item returned",
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • removedOutput schema / properties / result / items / properties / featureFlags / additionalProperties
      Removed value: -{}
    • addedOutput schema / properties / result / items / properties / featureFlags / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "hasHdr": {
      +        "description": "Supports HDR (boolean)"
      +      },
      +      "hasLedStatus": {
      +        "description": "Has a status LED (boolean)"
      +      },
      +      "hasMic": {
      +        "description": "Has a microphone (boolean)"
      +      },
      +      "hasSpeaker": {
      +        "description": "Has a speaker (boolean)"
      +      },
      +      "smartDetectAudioTypes": {
      +        "description": "Supported smart audio-detect types (array of strings)"
      +      },
      +      "smartDetectTypes": {
      +        "description": "Supported smart object-detect types (array of strings)"
      +      },
      +      "supportFullHdSnapshot": {
      +        "description": "Supports full-HD snapshot (boolean)"
      +      },
      +      "videoModes": {
      +        "description": "Supported video modes (array of strings)"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / result / items / properties / featureFlags / properties
      Removed value: -{
      -  "hasHdr": {
      -    "description": "Supports HDR (boolean)"
      -  },
      -  "hasLedStatus": {
      -    "description": "Has a status LED (boolean)"
      -  },
      -  "hasMic": {
      -    "description": "Has a microphone (boolean)"
      -  },
      -  "hasSpeaker": {
      -    "description": "Has a speaker (boolean)"
      -  },
      -  "smartDetectAudioTypes": {
      -    "description": "Supported smart audio-detect types (array of strings)"
      -  },
      -  "smartDetectTypes": {
      -    "description": "Supported smart object-detect types (array of strings)"
      -  },
      -  "supportFullHdSnapshot": {
      -    "description": "Supports full-HD snapshot (boolean)"
      -  },
      -  "videoModes": {
      -    "description": "Supported video modes (array of strings)"
      -  }
      -}
    • removedOutput schema / properties / result / items / properties / featureFlags / type
      Removed value: -"object"
    • removedOutput schema / properties / result / items / properties / lcdMessage / additionalProperties
      Removed value: -{}
    • addedOutput schema / properties / result / items / properties / lcdMessage / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "resetAt": {
      +        "description": "Auto-reset timestamp in epoch ms, or null (number|null)"
      +      },
      +      "text": {
      +        "description": "Message text shown on the doorbell LCD",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "type": {
      +        "description": "Message type, e.g. \"CUSTOM_MESSAGE\", \"LEAVE_PACKAGE_AT_DOOR\", \"DO_NOT_DISTURB\"",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / result / items / properties / lcdMessage / properties
      Removed value: -{
      -  "resetAt": {
      -    "description": "Auto-reset timestamp in epoch ms, or null (number|null)"
      -  },
      -  "text": {
      -    "description": "Message text shown on the doorbell LCD",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "type": {
      -    "description": "Message type, e.g. \"CUSTOM_MESSAGE\", \"LEAVE_PACKAGE_AT_DOOR\", \"DO_NOT_DISTURB\"",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / result / items / properties / lcdMessage / type
      Removed value: -"object"
    • removedOutput schema / properties / result / items / properties / ledSettings / additionalProperties
      Removed value: -{}
    • addedOutput schema / properties / result / items / properties / ledSettings / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "floodLed": {
      +        "description": "Flood LED enabled (boolean)"
      +      },
      +      "isEnabled": {
      +        "description": "Status LED enabled (boolean)"
      +      },
      +      "welcomeLed": {
      +        "description": "Welcome LED enabled (boolean)"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / result / items / properties / ledSettings / properties
      Removed value: -{
      -  "floodLed": {
      -    "description": "Flood LED enabled (boolean)"
      -  },
      -  "isEnabled": {
      -    "description": "Status LED enabled (boolean)"
      -  },
      -  "welcomeLed": {
      -    "description": "Welcome LED enabled (boolean)"
      -  }
      -}
    • removedOutput schema / properties / result / items / properties / ledSettings / type
      Removed value: -"object"
    • removedOutput schema / properties / result / items / properties / osdSettings / additionalProperties
      Removed value: -{}
    • addedOutput schema / properties / result / items / properties / osdSettings / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "isDateEnabled": {
      +        "description": "Overlay date (boolean)"
      +      },
      +      "isDebugEnabled": {
      +        "description": "Overlay debug info (boolean)"
      +      },
      +      "isLogoEnabled": {
      +        "description": "Overlay logo (boolean)"
      +      },
      +      "isNameEnabled": {
      +        "description": "Overlay camera name (boolean)"
      +      },
      +      "overlayLocation": {
      +        "description": "OSD position, e.g. \"topLeft\"",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / result / items / properties / osdSettings / properties
      Removed value: -{
      -  "isDateEnabled": {
      -    "description": "Overlay date (boolean)"
      -  },
      -  "isDebugEnabled": {
      -    "description": "Overlay debug info (boolean)"
      -  },
      -  "isLogoEnabled": {
      -    "description": "Overlay logo (boolean)"
      -  },
      -  "isNameEnabled": {
      -    "description": "Overlay camera name (boolean)"
      -  },
      -  "overlayLocation": {
      -    "description": "OSD position, e.g. \"topLeft\"",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / result / items / properties / osdSettings / type
      Removed value: -"object"
    • removedOutput schema / properties / result / items / properties / smartDetectSettings / additionalProperties
      Removed value: -{}
    • addedOutput schema / properties / result / items / properties / smartDetectSettings / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "audioTypes": {
      +        "description": "Enabled audio-detect types (array of strings)"
      +      },
      +      "objectTypes": {
      +        "description": "Enabled object-detect types (array of strings)"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / result / items / properties / smartDetectSettings / properties
      Removed value: -{
      -  "audioTypes": {
      -    "description": "Enabled audio-detect types (array of strings)"
      -  },
      -  "objectTypes": {
      -    "description": "Enabled object-detect types (array of strings)"
      -  }
      -}
    • removedOutput schema / properties / result / items / properties / smartDetectSettings / type
      Removed value: -"object"
    • addedOutput schema / properties / totalCount
      Added value: +{
      +  "description": "Paged results only: the number of items in the whole list",
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
  2. Changed2 schema fields changedv2.13.0
    • addedOutput schema / properties / result / items / properties / guid
      Added value: +{
      +  "description": "Hardware MODEL GUID, shared by every unit of the same model. NOT a per-device identifier — use `id` to identify a device.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / result / items / properties / type
      Added value: +{
      +  "description": "Hardware model name, e.g. \"UVC G6 Turret\", \"UP Chime PoE\", \"UNVR-PRO\"",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. Changed18 schema fields changedv2.11.5
    • removedOutput schema / properties / result / items / properties / hdrType / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / result / items / properties / hdrType / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / result / items / properties / lcdMessage / properties / text / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / result / items / properties / lcdMessage / properties / text / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / result / items / properties / lcdMessage / properties / type / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / result / items / properties / lcdMessage / properties / type / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / result / items / properties / mac / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / result / items / properties / mac / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / result / items / properties / modelKey / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / result / items / properties / modelKey / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / result / items / properties / name / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / result / items / properties / name / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / result / items / properties / osdSettings / properties / overlayLocation / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / result / items / properties / osdSettings / properties / overlayLocation / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / result / items / properties / state / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / result / items / properties / state / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / result / items / properties / videoMode / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / result / items / properties / videoMode / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  4. Changed4 schema fields changedv2.7.5
    • addedOutput schema / properties / result / items / properties / lcdMessage / additionalProperties
      Added value: +{}
    • removedOutput schema / properties / result / items / properties / lcdMessage / description
      Removed value: -"Doorbell LCD message (object; often empty {})"
    • addedOutput schema / properties / result / items / properties / lcdMessage / properties
      Added value: +{
      +  "resetAt": {
      +    "description": "Auto-reset timestamp in epoch ms, or null (number|null)"
      +  },
      +  "text": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "description": "Message text shown on the doorbell LCD"
      +  },
      +  "type": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "description": "Message type, e.g. \"CUSTOM_MESSAGE\", \"LEAVE_PACKAGE_AT_DOOR\", \"DO_NOT_DISTURB\""
      +  }
      +}
    • addedOutput schema / properties / result / items / properties / lcdMessage / type
      Added value: +"object"
  5. First observedv2.7.4

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only cover the read-only safety profile; the description adds substantial non-obvious behavior — the API version the fields were verified against, a full field inventory, explicit omissions, and the fact that a paged result additionally returns totalCount and offset. It also warns that guid is a shared model identifier, not a per-camera id, which is exactly the kind of trap an agent would otherwise fall into.

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

Conciseness3/5

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

Front-loaded with the core purpose, but the bulk of the text is a long enumeration of every returned field, which duplicates the declared output schema and is not needed for tool selection. The genuinely useful bits (pagination, exclusions, the guid caveat) are buried inside that enumeration rather than given precedence.

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?

An output schema exists, so the field list is over-delivery rather than a necessity; the description still covers what an agent needs to call this correctly — scope, paging, and known data limitations. Nothing required for correct invocation 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% with descriptions for both limit and offset, so the baseline is 3. The description adds value by explaining the paging contract — that using limit/offset on a large site yields totalCount and offset in the response — which tells the agent how the parameters behave in combination, not just individually.

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?

States a specific verb and resource — 'List all cameras managed by UniFi Protect' — and reinforces list semantics by noting it returns an array and supports paging. It never names the sibling it must be distinguished from (protect_get_camera), so an agent must infer the list-vs-single distinction from the wording alone.

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?

Gives concrete usage context: 'On a large site, use limit and offset to page.' It also functions as negative guidance by enumerating data the Integration API does NOT expose (recording state, motion timestamps, firmware, host), steering the agent away from wasted calls. It stops short of explicitly routing between this tool and protect_get_camera.

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