Skip to main content
Glama
UniFi Network API MCP Server

UniFi Network API MCP Server

by sevaepsteyn

devices

Lists all adopted network equipment for a UniFi site using the required site UUID.

Instructions

List all adopted devices on a site.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "site_id": "<site_id>"
    },
    "name": "devices"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYesSite UUID

Output Schema

NameRequiredDescriptionDefault
devicesYes
totalCountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. 'List' implies a read-only, non-destructive operation and 'adopted' scopes results to devices actually claimed by the organization, which is genuinely useful. However, it says nothing about pagination, result limits, or permission requirements, and an agent must assume behavior on those points.

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?

A single front-loaded sentence with no filler, and the scoping qualifier follows the core action. It is efficient, though the terseness leaves little room for the guidance that is missing elsewhere.

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?

Both the input schema and an output schema are present, so return values need not be explained. Still, for an enumeration tool with no annotations, the description should at least clarify whether results are paginated or unbounded and when to prefer the search variant; those gaps keep it at minimum viable.

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?

There is a single required parameter whose schema description ('Site UUID') is fully documented at 100% coverage. The description's phrase 'on a site' confirms the site scoping semantics but adds no format or behavioral detail beyond the schema, 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 and resource ('List all adopted devices') plus scope ('on a site'), which is enough to separate it from single-device tools like device_details. It stops short of naming search_devices or contrasting filtered vs unfiltered listing, so differentiation is only implicit.

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 only implied: 'all adopted devices' hints that this is the unfiltered enumeration for a site, but there is no explicit when-to-use, when-not-to-use, or pointer to search_devices for filtered lookups. An agent must infer the routing decision.

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