Skip to main content
Glama

list_hotspot_vouchers

List all guest hotspot vouchers for a UniFi site, automatically draining paginated results to return the complete set with a total count.

Instructions

List all hotspot/guest vouchers for a site (there is no list_vouchers — this is it).

This is the voucher-listing tool; the family is list_hotspot_vouchers, create_hotspot_vouchers, get_hotspot_voucher, delete_hotspot_voucher — all prefixed hotspot_. There is no shorter list_vouchers/get_voucher alias.

host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID. Vouchers are offset-paginated (native default page size 100) and batches routinely exceed that; by default every page is drained and the complete list is returned as {data, totalCount}. Pass offset or limit for a single manual page. A capped drain is flagged incomplete.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYes
siteYes
limitNo
offsetNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A4.9/5.0
Behavior5/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 it delivers: it discloses offset-paginated behavior, default page size 100, automatic draining of all pages, return shape {data, totalCount}, and the incomplete-drain flag. This is rich behavioral detail well beyond the bare schema.

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?

The description is front-loaded with the core purpose and then organized into useful behavioral details. Minor redundancy exists in repeating that there is no shorter alias, but each paragraph earns its place and the length is justified by the pagination nuances.

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?

For a tool with no annotations, the description is complete: it covers purpose, family context, parameter formats, pagination defaults, response shape, and the incomplete-capped behavior. The output schema covers return structure, so no further format detail is needed.

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%, so the description must fully explain parameters, and it does. It defines acceptable `host` forms (console name, ID, or MAC:numericId composite), `site` as name or ID, and explains the meaning and effect of `offset` and `limit` for pagination.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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 hotspot/guest vouchers for a site', and clarifies there is no shorter alias, which distinguishes it from any imagined sibling. It clearly names the voucher family and orients the agent to this specific listing role.

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

Usage Guidelines5/5

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

Explicitly identifies the tool as the voucher-listing tool, names related tools in the family, and points out that no shorter `list_vouchers`/`get_voucher` alias exists. It also gives practical selection context by explaining pagination behavior and how to request a single manual page.

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