Skip to main content
Glama
UniFi MCP Server

UniFi MCP Server

list_integration_sites

Retrieves UniFi sites with UUID identifiers via the integration API for use with other integration API tools.

Instructions

List sites via the integration API.

Returns UUID-based site identifiers suitable for use with other integration API tools in this module.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_integration_sites"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of sites to return (1-1000)
offsetNoNumber of sites to skip
controllerNoController to run against (see list_controllers). Defaults to the controller chosen with select_controller, then the server default.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.6.4
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of sites to return (1-1000)"
    • addedInput schema / properties / offset / description
      Added value: +"Number of sites to skip"
  2. Changed1 schema field changedv0.6.0
    • addedInput schema / properties / controller
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Controller to run against (see list_controllers). Defaults to the controller chosen with select_controller, then the server default."
      +}
  3. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the burden. It correctly conveys a read-only list operation and that identifiers are UUID-based, but says nothing about pagination defaults, total counts, required permissions, or rate limits.

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 short sentences, front-loaded with the action and immediately followed by the actionable value of the return data. No filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present and full parameter documentation, the description needn't explain return shape. What remains missing is disambiguation from the competing site-listing siblings, which is the main thing an agent needs here.

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 description coverage is 100% and all three parameters (limit, offset, controller) are documented in the schema, including the controller resolution chain. The description adds nothing beyond that, so baseline 3 applies.

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+resource ('List sites via the integration API') and adds that results are UUID-based identifiers usable with other integration API tools, which is real added meaning. It does not, however, distinguish itself from the sibling 'list_sites' or 'list_all_sites_aggregated', which read as near-identical purpose.

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?

The second sentence implies usage (call this when you need site UUIDs to pass to other integration tools), which is useful implied guidance. There is no explicit when-to-use/when-not, and no direction on choosing this over 'list_sites' or 'search_across_sites'.

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

Deploy Server

Other Tools