Skip to main content
Glama

List hosts

unifi_sm_list_hosts
Read-onlyIdempotent

Lists all UniFi consoles linked to a Site Manager account and supports pagination for browsing large inventories.

Instructions

Account-level: list all UniFi consoles linked to this Site Manager account.

Input Schema

NameRequiredDescriptionDefault
pageSizeNoNumber of items per page
nextTokenNoToken from the previous page (`nextToken` of the response) for the next page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered structurally. The description adds the account-level scope, but says nothing about pagination behavior or result ordering beyond what the schema implies.

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 short sentence with the scope front-loaded and no wasted words. It is efficient, though it is too thin to structure as anything more than one scope clause.

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?

For a read-only paginated list with annotations covering safety and a fully documented schema, the description supplies the essential account-level scope and the object being listed. No output schema exists, but the description does indicate the return subject (consoles), which is adequate 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 both parameters (pageSize, nextToken) are documented in the schema, so the baseline is 3. The description contributes no additional parameter meaning, such as default page size or token lifetime.

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 (list) and resource (all UniFi consoles) scoped to a Site Manager account, which meaningfully separates it from site-level siblings like unifi_gen_listhosts. It does not name an alternative outright, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only usage signal is the implicit 'Account-level' scoping; there is no explicit when-to-use, when-not-to-use, or direction to a sibling such as unifi_sm_get_host for a single console. An agent must infer the selection criteria.

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