Skip to main content
Glama

unifi_top_apps

Read-onlyIdempotent

Lists the top 10 applications and categories by traffic for a site or client using DPI, helping identify bandwidth use. Returns empty when no DPI data is available.

Instructions

Top 10 applications and categories by traffic (deep packet inspection), for the whole site or one client. Ids are named from the official DPI catalogue; an id it lacks shows as "app ". Empty when the console has no DPI data.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "unifi_top_apps"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoSite name, id or reference; optional while the console has a single site
clientNoClient name, MAC, IP or id; omit for the whole site

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world and non-destructive, so the bar is lower, and the description still adds real context: results are DPI-based, capped at 10, ids follow the official DPI catalogue with a documented 'app <id>' fallback for unknown ids, and the result is empty when the console has no DPI data. The one omission is the observation window — nothing says what time period the traffic figures cover, which matters for interpreting the numbers.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, all load-bearing: the first defines the output and the scope, the second explains id naming and the fallback rendering, the third covers the empty-result case. The scope statement is front-loaded and there is no filler.

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 two-optional-parameter read tool with no output schema, the definition covers what is returned, the cap on results, the id format, and the empty case — enough to call and interpret it correctly. The missing piece is the aggregation window for 'by traffic', which an agent would otherwise have to guess.

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%, so both 'site' and 'client' are already documented in the schema, including the site-name-or-id flexibility and the 'omit for whole site' default. The description restates the client-versus-site choice without adding format or behavior 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 concrete resource and shape: 'Top 10 applications and categories by traffic (deep packet inspection), for the whole site or one client.' The DPI qualifier and the top-10 bound tell an agent exactly what kind of data comes back. It doesn't name a sibling, but no sibling in the catalog offers traffic breakdowns, so there is nothing meaningful to disambiguate against.

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?

'For the whole site or one client' plus 'omit for the whole site' implies the two usage modes, but there is no explicit when-to-use framing, no statement of what alternative to reach for (e.g. a client-detail or events tool) and no prerequisites. The agent can infer the call from the parameters rather than from stated guidance.

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