Skip to main content
Glama
UniFi Network MCP Server

UniFi Network MCP Server

by owine

Get traffic matching list

unifi_get_traffic_matching_list
Read-only

Retrieve a specific traffic matching list by ID for a UniFi Network site, including its full items array.

Instructions

Get a specific traffic matching list by ID (full items array).

Input Schema

NameRequiredDescriptionDefault
siteIdYesSite ID
trafficMatchingListIdYesTraffic matching list ID

Output Schema

NameRequiredDescriptionDefault
idYes
nameNo
typeNo
itemsNo
metadataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv2.15.0
    • addedInput schema / properties / siteId / pattern
      Added value: +"^[A-Za-z0-9_-]{1,64}$"
    • addedInput schema / properties / trafficMatchingListId / pattern
      Added value: +"^[A-Za-z0-9_-]{1,64}$"
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +{}
    • addedOutput schema / properties / metadata / properties / configurable
      Added value: +{
      +  "type": "boolean"
      +}
  2. First observedv2.8.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The parenthetical '(full items array)' adds useful context about response shape distinguish it from the list endpoint's summaries, but no other behavioral traits are disclosed; with annotations carrying the load, a 3 is appropriate.

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 tight sentence with no filler, and the retrieval key is front-loaded. Efficient and appropriately sized.

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?

An output schema exists so return values need not be explained, annotations cover safety, and both required parameters are documented. The definition is nearly complete, only lacking explicit routing guidance versus the list sibling.

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% - both siteId and trafficMatchingListId are documented in the schema with patterns. The description only repeats that retrieval is by ID and adds no format or constraint detail beyond what the schema already provides.

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 ('Get'), resource ('traffic matching list'), and retrieval key ('by ID'), which cleanly separates it from unifi_list_traffic_matching_lists. It does not explicitly name that sibling, so differentiation is implicit rather than stated.

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 implied by 'by ID' - fetch one list when you have its identifier versus enumerating via the list sibling. No explicit when-to-use or when-not-to-use guidance is given.

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