Skip to main content
Glama

list_traffic_rules

List traffic matching rules for a UniFi site, covering QoS, application, and IP group filters. Provide host and site to retrieve the current rule set.

Instructions

List traffic matching rules (QoS, application, IP group matching).

host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYes
siteYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It says 'List' implying a read operation, but does not explicitly disclose side effects (none expected), permission needs, or response behavior. No pagination or error context is given, which is a gap for a list operation.

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?

Two concise sentences: the first states the function, the second covers parameter formats. No filler. It is efficiently front-loaded and easy to parse, though it could potentially include a usage note without becoming bloated.

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, the return shape is covered. However, given the large sibling list and no annotations, the description misses usage context and does not hint at related resources (e.g., create/update/delete traffic rules). It is minimally sufficient but lacks the context needed to confidently choose this tool in complex workflows.

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?

The input schema only contains generic string types with 0% coverage. The description compensates by explaining accepted formats for 'host' (name, ID, or composite MAC:numericId) and 'site' (name or ID), giving the agent critical value that the schema lacks.

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?

The description states a specific verb ('List') and resource ('traffic matching rules'), and clarifies the rule categories (QoS, application, IP group matching). This clearly distinguishes it from sibling tools like list_traffic_matching_lists, which are about matching lists rather than rules.

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 description provides parameter value formats but gives no guidance on when to use this tool versus alternatives. It does not mention exclusions or prerequisites, leaving usage context entirely to inference.

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