Skip to main content
Glama

getTrafficStats

[DEPRECATED] Use getDashboardTrafficActivities instead. Same GET .../dashboard/traffic-activities endpoint. Get traffic activity statistics for a site, including upload/download throughput data from the dashboard traffic activities…

Instructions

[DEPRECATED] Use getDashboardTrafficActivities instead. Same GET .../dashboard/traffic-activities endpoint. Get traffic activity statistics for a site, including upload/download throughput data from the dashboard traffic activities endpoint.

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": "getTrafficStats"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdNoSite ID to target. If omitted, uses the default site from OMADA_SITE_ID config. Use listSites to discover available site IDs.
customHeadersNoOptional HTTP headers to include in the Omada API request (e.g. {"X-Custom-Header": "value"}). Rarely needed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.18.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure itself. It does state the HTTP verb/path (GET .../dashboard/traffic-activities), which implies a safe read, and it discloses the payload content (throughput data). It says nothing about pagination, time-range scoping, empty results, or auth requirements, so the coverage is only partial.

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, deprecation notice front-loaded, then the replacement target, then what the tool returns. Nothing is wasted and the most actionable information arrives first.

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 deprecated, zero-required-parameter read tool with a fully documented schema and no output schema, the description supplies what matters: deprecation status, the replacement tool, and the shared endpoint confirming equivalence. Only the absence of any return-shape hint beyond 'throughput data' keeps it from being complete.

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%, and both parameters (siteId with a listSites pointer, customHeaders marked 'Rarely needed') are fully documented in the schema. The description adds no parameter guidance at all, so the 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?

The description names a specific verb and resource ('Get traffic activity statistics for a site') and covers the returned data ('upload/download throughput'). The deprecation banner and named replacement give an agent an immediate way to tell it apart from the sibling it supersedes, though the redundancy between 'traffic activity statistics' and the repeated 'dashboard traffic activities endpoint' phrasing dilutes it slightly.

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?

It opens with '[DEPRECATED] Use getDashboardTrafficActivities instead' and confirms both hit the same GET .../dashboard/traffic-activities endpoint. That is an explicit alternative named up front with the condition that selects it, leaving no inference needed.

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