Skip to main content
Glama

Get latest device statistics

unifi_net_get_device_stats
Read-onlyIdempotent

Retrieves a current statistics snapshot for a specified UniFi network device by device ID, enabling monitoring and troubleshooting of device performance.

Instructions

Latest statistics snapshot.

Input Schema

NameRequiredDescriptionDefault
deviceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior2/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered elsewhere. The description adds nothing beyond the phrase 'snapshot' – no statement of freshness, retention, time range, or whether the device must be online.

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

Conciseness2/5

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

Length is minimal, but this is under-specification rather than conciseness: three words convey no actionable information and the meaningful content (the device scope) is absent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A single-parameter read tool with no annotations gap and no output schema, yet the description omits the one thing the agent must supply (deviceId) and offers no sense of the returned statistics. Far too thin given the crowded sibling namespace.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the required deviceId is completely undocumented in both schema and description. The description never mentions deviceId or what identifier form is expected, so it fails to compensate for the coverage gap.

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

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Latest statistics snapshot' largely restates the title 'Get latest device statistics' and never states the resource scope (per-device, keyed by deviceId) or what kind of statistics are returned. It does not distinguish this tool from the many near-identical siblings such as unifi_gen_getadopteddevicelateststatistics or unifi_net_get_device.

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

Usage Guidelines1/5

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

No when-to-use guidance, no prerequisites (e.g., device must be adopted), and no mention of alternatives. With dozens of overlapping get/list siblings, an agent has no signal for choosing this over unifi_gen_getadopteddevicelateststatistics.

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